public abstract class FilteringGotoByModel<T> extends ContributorsBasedGotoByModel
LOG, myProject
Modifier | Constructor and Description |
---|---|
protected |
FilteringGotoByModel(Project project,
ChooseByNameContributor [] contributors) |
protected |
FilteringGotoByModel(Project project,
java.util.List<ChooseByNameContributor> contributors) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
acceptItem(NavigationItem item)
This method allows extending classes to introduce additional filtering criteria to model
beyond pattern and project/non-project files.
|
protected abstract T |
filterValueFor(NavigationItem item) |
protected java.util.Collection<T> |
getFilterItems() |
void |
setFilterItems(java.util.Collection<? extends T> filterItems)
Set file types
|
getContributorList, getContributors, getElementName, getElementsByName, getElementsByName, getHelpId, getListCellRenderer, getNames, getProject, isDumbAware, processContributorNames, processNames, removeModelSpecificMarkup, sameNamesForProjectAndLibraries, useMiddleMatching
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getItemProvider, getItemProvider, processNames
getCheckBoxMnemonic, getCheckBoxName, getFullName, getNotFoundMessage, getNotInMessage, getPromptText, getSeparators, loadInitialCheckBoxState, saveInitialCheckBoxState, willOpenEditor
protected FilteringGotoByModel(Project project, ChooseByNameContributor [] contributors)
protected FilteringGotoByModel(Project project, java.util.List<ChooseByNameContributor> contributors)
public void setFilterItems(java.util.Collection<? extends T> filterItems)
filterItems
- a file types to setprotected java.util.Collection<T> getFilterItems()
protected boolean acceptItem(NavigationItem item)
ContributorsBasedGotoByModel
acceptItem
in class ContributorsBasedGotoByModel
item
- an item to filterprotected abstract T filterValueFor(NavigationItem item)