public final class ScopeViewPane extends AbstractProjectViewPane
Disposable.Parent
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ID |
EP_NAME, myProject, myTree, myTreeStructure
Constructor and Description |
---|
ScopeViewPane(Project project) |
Modifier and Type | Method and Description |
---|---|
javax.swing.JComponent |
createComponent() |
SelectInTarget |
createSelectInTarget() |
void |
dispose()
Usually not invoked directly, see class javadoc.
|
java.lang.Object |
getData(java.lang.String dataId)
Returns the object corresponding to the specified data identifier.
|
javax.swing.Icon |
getIcon() |
java.lang.String |
getId() |
javax.swing.Icon |
getPresentableSubIdIcon(java.lang.String subId) |
java.lang.String |
getPresentableSubIdName(java.lang.String subId) |
ActionCallback |
getReady(java.lang.Object requestor) |
java.lang.String [] |
getSubIds() |
java.lang.String |
getTitle() |
java.lang.Object |
getValueFromNode(java.lang.Object node) |
int |
getWeight() |
protected void |
installComparator(AbstractTreeBuilder builder,
java.util.Comparator<? super NodeDescriptor<?>> comparator) |
protected void |
onSubIdChange() |
void |
select(java.lang.Object object,
VirtualFile file,
boolean requestFocus) |
boolean |
supportsAbbreviatePackageNames() |
boolean |
supportsCompactDirectories() |
boolean |
supportsFlattenModules() |
boolean |
supportsHideEmptyMiddlePackages() |
boolean |
supportsShowExcludedFiles() |
boolean |
supportsShowModules() |
ActionCallback |
updateFromRoot(boolean restoreExpandedPaths) |
addToolbarActions, beforeDnDLeave, beforeDnDUpdate, createComparator, createFlattenModulesAction, createVisitor, createVisitor, createVisitor, createVisitor, enableDnD, exhumeElementFromNode, expand, extractValueFromNode, fireTreeChangeListener, getComponentToFocus, getElementsFromNode, getManualOrderOptionText, getNodeModule, getPSIElementFromNode, getSelectedDescriptor, getSelectedDirectories, getSelectedDirectoriesInAmbiguousCase, getSelectedElement, getSelectedElements, getSelectedNode, getSelectedNodes, getSelectedPath, getSelectedPSIElements, getSelectionPaths, getSubId, getTransferedPsiElements, getTransferedTreeNodes, getTree, getTreeBuilder, getTreeStructure, installComparator, installComparator, isAutoScrollEnabledFor, isDefaultPane, isInitiallyVisible, isVisibleAndSelected, promisePathToElement, readExternal, restoreExpandedPaths, saveExpandedPaths, selectModule, selectModuleGroup, setSubId, setTreeBuilder, supportsFoldersAlwaysOnTop, supportsManualOrder, supportsShowLibraryContents, supportsSortByType, updateFrom, writeExternal
public static final java.lang.String ID
public ScopeViewPane(Project project)
public void dispose()
Disposable
dispose
in interface Disposable
dispose
in class AbstractProjectViewPane
public java.lang.String getId()
getId
in class AbstractProjectViewPane
public int getWeight()
getWeight
in class AbstractProjectViewPane
public java.lang.String getTitle()
getTitle
in class AbstractProjectViewPane
public javax.swing.Icon getIcon()
getIcon
in class AbstractProjectViewPane
public javax.swing.JComponent createComponent()
createComponent
in class AbstractProjectViewPane
public ActionCallback updateFromRoot(boolean restoreExpandedPaths)
updateFromRoot
in class AbstractProjectViewPane
public SelectInTarget createSelectInTarget()
createSelectInTarget
in class AbstractProjectViewPane
public void select(java.lang.Object object, VirtualFile file, boolean requestFocus)
select
in class AbstractProjectViewPane
public ActionCallback getReady(java.lang.Object requestor)
getReady
in class AbstractProjectViewPane
protected void onSubIdChange()
onSubIdChange
in class AbstractProjectViewPane
public java.lang.String [] getSubIds()
getSubIds
in class AbstractProjectViewPane
public java.lang.String getPresentableSubIdName(java.lang.String subId)
getPresentableSubIdName
in class AbstractProjectViewPane
public javax.swing.Icon getPresentableSubIdIcon(java.lang.String subId)
getPresentableSubIdIcon
in class AbstractProjectViewPane
protected void installComparator(AbstractTreeBuilder builder, java.util.Comparator<? super NodeDescriptor<?>> comparator)
installComparator
in class AbstractProjectViewPane
public java.lang.Object getValueFromNode(java.lang.Object node)
getValueFromNode
in class AbstractProjectViewPane
public java.lang.Object getData(java.lang.String dataId)
DataProvider
PlatformDataKeys
class.getData
in interface DataProvider
getData
in class AbstractProjectViewPane
dataId
- the data identifier for which the value is requested.public boolean supportsAbbreviatePackageNames()
supportsAbbreviatePackageNames
in class AbstractProjectViewPane
public boolean supportsCompactDirectories()
supportsCompactDirectories
in class AbstractProjectViewPane
public boolean supportsFlattenModules()
supportsFlattenModules
in class AbstractProjectViewPane
public boolean supportsHideEmptyMiddlePackages()
supportsHideEmptyMiddlePackages
in class AbstractProjectViewPane
public boolean supportsShowExcludedFiles()
supportsShowExcludedFiles
in class AbstractProjectViewPane
public boolean supportsShowModules()
supportsShowModules
in class AbstractProjectViewPane