public interface ChooseByNameContributor
Consider extending ChooseByNameContributorEx for better performance.
| Modifier and Type | Field and Description |
|---|---|
static ExtensionPointName<ChooseByNameContributor> |
CLASS_EP_NAME |
static ExtensionPointName<ChooseByNameContributor> |
FILE_EP_NAME |
static ExtensionPointName<ChooseByNameContributor> |
SYMBOL_EP_NAME |
| Modifier and Type | Method and Description |
|---|---|
NavigationItem [] |
getItemsByName(java.lang.String name,
java.lang.String pattern,
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.
|
static final ExtensionPointName<ChooseByNameContributor> CLASS_EP_NAME
static final ExtensionPointName<ChooseByNameContributor> SYMBOL_EP_NAME
static final ExtensionPointName<ChooseByNameContributor> FILE_EP_NAME
java.lang.String [] getNames(Project project, boolean includeNonProjectItems)
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.NavigationItem [] getItemsByName(java.lang.String name, java.lang.String pattern, Project project, boolean includeNonProjectItems)
name - the name selected from the list.pattern - the original pattern entered in the dialogproject - 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.