TreeClassChooser question: how to prefill the field
Hi,
Q1/
How can I see the initial value of the text field, in the
TreeClassChooser popup or dialog?
Q2/
How can I search a project for a class, based on it NOT qualified name
(ex: String, or Foo)?
TIA
Alain
Please sign in to leave a comment.
Hi
"Alain Ravet" <alain.ravet@biz.tiscali.be> wrote in message
news:cuo89d$vt$1@is.intellij.net...
>
>
>
Use createProjectScopeChooser(String title, PsiClass initialClass) in
TreeClassChooserFactory
>
PsiManager.getInstance().getShortNamesCache().getClassesByName(String name,
GlobalSearchScope scope)
>
Anna
>>Q1/ How can I see the initial value of the text field, in the TreeClassChooser popup or dialog?
>>
>>
>Use createProjectScopeChooser(String title, PsiClass initialClass) in TreeClassChooserFactory
>
>
I want to place plain text, in this field - ex: "Foo*Test"-,
=> I don't have a class, nor a PsiClass to set the param to.
Alain