public abstract class AbstractProjectViewPSIPane extends AbstractProjectViewPane
Modifier and Type | Class and Description |
---|---|
protected static class |
AbstractProjectViewPSIPane.MySpeedSearch |
Disposable.Parent
EP_NAME, myProject, myTree, myTreeStructure
Modifier | Constructor and Description |
---|---|
protected |
AbstractProjectViewPSIPane(Project project) |
Modifier and Type | Method and Description |
---|---|
ActionCallback |
beforeSelect() |
protected BaseProjectTreeBuilder |
createBuilder(javax.swing.tree.DefaultTreeModel treeModel) |
javax.swing.JComponent |
createComponent() |
protected abstract ProjectAbstractTreeStructureBase |
createStructure() |
protected abstract ProjectViewTree |
createTree(javax.swing.tree.DefaultTreeModel treeModel) |
protected abstract AbstractTreeUpdater |
createTreeUpdater(AbstractTreeBuilder treeBuilder) |
void |
dispose()
Usually not invoked directly, see class javadoc.
|
protected ErrorStripe |
getStripe(java.lang.Object object,
boolean expanded) |
protected void |
installComparator(AbstractTreeBuilder builder,
java.util.Comparator<? super NodeDescriptor<?>> comparator) |
void |
select(java.lang.Object element,
VirtualFile file,
boolean requestFocus) |
ActionCallback |
selectCB(java.lang.Object element,
VirtualFile file,
boolean requestFocus) |
ActionCallback |
updateFromRoot(boolean restoreExpandedPaths) |
addToolbarActions, beforeDnDLeave, beforeDnDUpdate, createComparator, createFlattenModulesAction, createSelectInTarget, createVisitor, createVisitor, createVisitor, createVisitor, enableDnD, exhumeElementFromNode, expand, extractValueFromNode, fireTreeChangeListener, getComponentToFocus, getData, getElementsFromNode, getIcon, getId, getManualOrderOptionText, getNodeModule, getPresentableSubIdIcon, getPresentableSubIdName, getPSIElementFromNode, getReady, getSelectedDescriptor, getSelectedDirectories, getSelectedDirectoriesInAmbiguousCase, getSelectedElement, getSelectedElements, getSelectedNode, getSelectedNodes, getSelectedPath, getSelectedPSIElements, getSelectionPaths, getSubId, getSubIds, getTitle, getTransferedPsiElements, getTransferedTreeNodes, getTree, getTreeBuilder, getTreeStructure, getValueFromNode, getWeight, installComparator, installComparator, isAutoScrollEnabledFor, isDefaultPane, isInitiallyVisible, isVisibleAndSelected, onSubIdChange, promisePathToElement, readExternal, restoreExpandedPaths, saveExpandedPaths, selectModule, selectModuleGroup, setSubId, setTreeBuilder, supportsAbbreviatePackageNames, supportsCompactDirectories, supportsFlattenModules, supportsFoldersAlwaysOnTop, supportsHideEmptyMiddlePackages, supportsManualOrder, supportsShowExcludedFiles, supportsShowLibraryContents, supportsShowModules, supportsSortByType, updateFrom, writeExternal
protected AbstractProjectViewPSIPane(Project project)
public javax.swing.JComponent createComponent()
createComponent
in class AbstractProjectViewPane
protected void installComparator(AbstractTreeBuilder builder, java.util.Comparator<? super NodeDescriptor<?>> comparator)
installComparator
in class AbstractProjectViewPane
public final void dispose()
Disposable
dispose
in interface Disposable
dispose
in class AbstractProjectViewPane
public final ActionCallback updateFromRoot(boolean restoreExpandedPaths)
updateFromRoot
in class AbstractProjectViewPane
public void select(java.lang.Object element, VirtualFile file, boolean requestFocus)
select
in class AbstractProjectViewPane
public ActionCallback selectCB(java.lang.Object element, VirtualFile file, boolean requestFocus)
public ActionCallback beforeSelect()
protected BaseProjectTreeBuilder createBuilder(javax.swing.tree.DefaultTreeModel treeModel)
protected abstract ProjectAbstractTreeStructureBase createStructure()
protected abstract ProjectViewTree createTree(javax.swing.tree.DefaultTreeModel treeModel)
protected abstract AbstractTreeUpdater createTreeUpdater(AbstractTreeBuilder treeBuilder)
protected ErrorStripe getStripe(java.lang.Object object, boolean expanded)
object
- an object that represents a node in the project treeexpanded
- true
if the corresponding node is expanded,
false
if it is collapsednull