public class PackageViewPane extends AbstractProjectViewPSIPane
AbstractProjectViewPSIPane.MySpeedSearch
Disposable.Parent
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ID |
EP_NAME, myProject, myTree, myTreeStructure
Constructor and Description |
---|
PackageViewPane(Project project) |
Modifier and Type | Method and Description |
---|---|
protected BaseProjectTreeBuilder |
createBuilder(javax.swing.tree.DefaultTreeModel model) |
SelectInTarget |
createSelectInTarget() |
protected ProjectAbstractTreeStructureBase |
createStructure() |
protected ProjectViewTree |
createTree(javax.swing.tree.DefaultTreeModel treeModel) |
protected AbstractTreeUpdater |
createTreeUpdater(AbstractTreeBuilder treeBuilder) |
java.lang.String |
getComponentName() |
java.lang.Object |
getData(java.lang.String dataId)
Returns the object corresponding to the specified data identifier.
|
java.util.List<PsiElement> |
getElementsFromNode(java.lang.Object node) |
javax.swing.Icon |
getIcon() |
java.lang.String |
getId() |
protected Module |
getNodeModule(java.lang.Object element) |
PsiDirectory [] |
getSelectedDirectories() |
java.lang.String |
getTitle() |
int |
getWeight() |
boolean |
supportsFlattenModules() |
boolean |
supportsShowLibraryContents() |
boolean |
supportsShowModules() |
beforeSelect, createComponent, dispose, getStripe, installComparator, select, selectCB, updateFromRoot
addToolbarActions, beforeDnDLeave, beforeDnDUpdate, createComparator, createFlattenModulesAction, createVisitor, createVisitor, createVisitor, createVisitor, enableDnD, exhumeElementFromNode, expand, extractValueFromNode, fireTreeChangeListener, getComponentToFocus, getManualOrderOptionText, getPresentableSubIdIcon, getPresentableSubIdName, getPSIElementFromNode, getReady, getSelectedDescriptor, getSelectedDirectoriesInAmbiguousCase, getSelectedElement, getSelectedElements, getSelectedNode, getSelectedNodes, getSelectedPath, getSelectedPSIElements, getSelectionPaths, getSubId, getSubIds, getTransferedPsiElements, getTransferedTreeNodes, getTree, getTreeBuilder, getTreeStructure, getValueFromNode, installComparator, installComparator, isAutoScrollEnabledFor, isDefaultPane, isInitiallyVisible, isVisibleAndSelected, onSubIdChange, promisePathToElement, readExternal, restoreExpandedPaths, saveExpandedPaths, selectModule, selectModuleGroup, setSubId, setTreeBuilder, supportsAbbreviatePackageNames, supportsCompactDirectories, supportsFoldersAlwaysOnTop, supportsHideEmptyMiddlePackages, supportsManualOrder, supportsShowExcludedFiles, supportsSortByType, updateFrom, writeExternal
public static final java.lang.String ID
public PackageViewPane(Project project)
public java.lang.String getTitle()
getTitle
in class AbstractProjectViewPane
public javax.swing.Icon getIcon()
getIcon
in class AbstractProjectViewPane
public java.lang.String getId()
getId
in class AbstractProjectViewPane
public java.util.List<PsiElement> getElementsFromNode(java.lang.Object node)
getElementsFromNode
in class AbstractProjectViewPane
protected Module getNodeModule(java.lang.Object element)
getNodeModule
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 PsiDirectory [] getSelectedDirectories()
getSelectedDirectories
in class AbstractProjectViewPane
protected AbstractTreeUpdater createTreeUpdater(AbstractTreeBuilder treeBuilder)
createTreeUpdater
in class AbstractProjectViewPSIPane
public SelectInTarget createSelectInTarget()
createSelectInTarget
in class AbstractProjectViewPane
protected ProjectAbstractTreeStructureBase createStructure()
createStructure
in class AbstractProjectViewPSIPane
protected ProjectViewTree createTree(javax.swing.tree.DefaultTreeModel treeModel)
createTree
in class AbstractProjectViewPSIPane
public java.lang.String getComponentName()
public int getWeight()
getWeight
in class AbstractProjectViewPane
protected BaseProjectTreeBuilder createBuilder(javax.swing.tree.DefaultTreeModel model)
createBuilder
in class AbstractProjectViewPSIPane
public boolean supportsFlattenModules()
supportsFlattenModules
in class AbstractProjectViewPane
public boolean supportsShowLibraryContents()
supportsShowLibraryContents
in class AbstractProjectViewPane
public boolean supportsShowModules()
supportsShowModules
in class AbstractProjectViewPane