public class StructureViewCompositeModel extends StructureViewModelBase implements Disposable, StructureViewModel.ElementInfoProvider, StructureViewModel.ExpandInfoProvider
StructureViewModel.ElementInfoProvider, StructureViewModel.ExpandInfoProviderDisposable.Parent| Constructor and Description |
|---|
StructureViewCompositeModel(PsiFile file,
Editor editor,
java.util.List<? extends StructureViewComposite.StructureViewDescriptor> views) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
getCurrentEditorElement()
Returns the element currently selected in the editor linked to the structure view.
|
Filter [] |
getFilters()
Returns the array of actions for filtering items in the tree.
|
java.util.Collection<NodeProvider> |
getNodeProviders() |
boolean |
isAlwaysLeaf(StructureViewTreeElement element) |
boolean |
isAlwaysShowsPlus(StructureViewTreeElement element) |
boolean |
isAutoExpand(StructureViewTreeElement element) |
boolean |
isSmartExpand() |
getRoot, getSorters, getSuitableClasses, withSorters, withSuitableClassesaddEditorPositionListener, addModelListener, dispose, findAcceptableElement, fireModelUpdate, getEditor, getGroupers, getPsiFile, isEnabled, isSuitable, removeEditorPositionListener, removeModelListener, shouldEnterElementclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddEditorPositionListener, addModelListener, getRoot, removeEditorPositionListener, removeModelListener, shouldEnterElementgetGroupers, getSortersgetMinimumAutoExpandDepthpublic StructureViewCompositeModel(PsiFile file, Editor editor, java.util.List<? extends StructureViewComposite.StructureViewDescriptor> views)
public java.lang.Object getCurrentEditorElement()
StructureViewModelgetCurrentEditorElement in interface StructureViewModelgetCurrentEditorElement in class TextEditorBasedStructureViewModelpublic java.util.Collection<NodeProvider> getNodeProviders()
getNodeProviders in interface ProvidingTreeModelgetNodeProviders in class TextEditorBasedStructureViewModelpublic Filter [] getFilters()
TreeModelgetFilters in interface TreeModelgetFilters in class TextEditorBasedStructureViewModelFilter.EMPTY_ARRAYpublic boolean isAlwaysShowsPlus(StructureViewTreeElement element)
isAlwaysShowsPlus in interface StructureViewModel.ElementInfoProviderpublic boolean isAlwaysLeaf(StructureViewTreeElement element)
isAlwaysLeaf in interface StructureViewModel.ElementInfoProviderpublic boolean isAutoExpand(StructureViewTreeElement element)
isAutoExpand in interface StructureViewModel.ExpandInfoProviderpublic boolean isSmartExpand()
isSmartExpand in interface StructureViewModel.ExpandInfoProvider