public class ClassesTreeStructureProvider extends java.lang.Object implements SelectableTreeStructureProvider, DumbAware
EP, EP_NAME
Constructor and Description |
---|
ClassesTreeStructureProvider(Project project) |
Modifier and Type | Method and Description |
---|---|
PsiElement |
getTopLevelElement(PsiElement element)
Returns the element which should be selected in the tree when the "Select In" action is
invoked for the specified target.
|
java.util.Collection<AbstractTreeNode<?>> |
modify(AbstractTreeNode<?> parent,
java.util.Collection<AbstractTreeNode<?>> children,
ViewSettings settings)
Allows a plugin to modify the list of children displayed for the specified node in the
project view.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getData
public ClassesTreeStructureProvider(Project project)
public java.util.Collection<AbstractTreeNode<?>> modify(AbstractTreeNode<?> parent, java.util.Collection<AbstractTreeNode<?>> children, ViewSettings settings)
TreeStructureProvider
modify
in interface TreeStructureProvider
parent
- the parent node.children
- the list of child nodes according to the default project structure.
Elements of the collection are of type ProjectViewNode
.settings
- the current project view settings.children
if no modifications
are required.public PsiElement getTopLevelElement(PsiElement element)
SelectableTreeStructureProvider
getTopLevelElement
in interface SelectableTreeStructureProvider
element
- element on which "Select In" was invoked.