com.intellij.navigation
Interface ChooseByNameContributor


public interface ChooseByNameContributor

Allows a plugin to add items to "Goto Class" and "Goto Symbol" lists.

See Also:
ChooseByNameRegistry

Method Summary
 NavigationItem[] getItemsByName(java.lang.String name, Project project, boolean includeNonProjectItems)
          Returns the list of navigation items matching the specified name.
 java.lang.String[] getNames(Project project, boolean includeNonProjectItems)
          Returns the list of names for the specified project to which it is possible to navigate by name.
 

Method Detail

getNames

java.lang.String[] getNames(Project project,
                            boolean includeNonProjectItems)
Returns the list of names for the specified project to which it is possible to navigate by name.

Parameters:
project - the project in which the navigation is performed.
includeNonProjectItems - if true, the names of non-project items (for example, library classes) should be included in the returned array.
Returns:
the array of names.

getItemsByName

NavigationItem[] getItemsByName(java.lang.String name,
                                Project project,
                                boolean includeNonProjectItems)
Returns the list of navigation items matching the specified name.

Parameters:
name - the name selected from the list.
project - the project in which the navigation is performed.
includeNonProjectItems - if true, the navigation items for non-project items (for example, library classes) should be included in the returned array.
Returns:
the array of navigation items.