public final class StructureViewModuleNode extends AbstractModuleNode
PresentableNodeDescriptor.ColoredFragment
NodeDescriptor.NodeComparator<T extends NodeDescriptor<?>>
LOG
DEFAULT_WEIGHT, EMPTY_ARRAY, myClosedIcon, myColor, myName, myOpenIcon, myProject
EMPTY_ROOTS
EMPTY_NAVIGATION_ITEM_ARRAY
Constructor and Description |
---|
StructureViewModuleNode(Project project,
Module value,
ViewSettings viewSettings) |
Modifier and Type | Method and Description |
---|---|
boolean |
contains(VirtualFile file)
Checks if this node or one of its children represents the specified virtual file.
|
java.util.Collection<AbstractTreeNode<?>> |
getChildren() |
int |
getTypeSortWeight(boolean sortByType) |
int |
getWeight() |
boolean |
someChildContainsFile(VirtualFile file) |
canNavigate, getNavigateActionText, getRoots, getTestPresentation, navigate, showModuleNameInBold, update
canHaveChildrenMatching, createTreeNode, getDefaultRootsFor, getManualOrderKey, getQualifiedNameSortKey, getSettings, getSortKey, getTitle, getTypeSortKey, getVirtualFile, hasProblemFileBeneath, isSortByFirstChild, isValidating, shouldApply, shouldDrillDownOnEmptyElement, shouldPostprocess, someChildContainsFile, validate, wrap
apply, canNavigateToSource, canRepresent, equals, getChildToHighlightAt, getElement, getEqualityObject, getFileStatus, getFileStatusColor, getLeafState, getName, getNullValueSetTrace, getParent, getParentDescriptor, getParentValue, getToolTip, getValue, hashCode, isAlwaysExpand, isAlwaysLeaf, isAlwaysShowPlus, postprocess, setParent, setValue, shouldUpdateData, toTestString, valueIsCut
apply, apply, applyFrom, createPresentation, getHighlightColor, getPresentation, getTemplatePresentation, isAncestorOrSelf, isContentHighlighted, isHighlightableContentNode, isParentOf, update
expandOnDoubleClick, getChildrenSortingStamp, getClosedIcon, getColor, getIcon, getIndex, getOpenIcon, getProject, getUpdateCount, isWasDeclaredAlwaysLeaf, setChildrenSortingStamp, setIcon, setIndex, setUpdateCount, setWasDeclaredAlwaysLeaf, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
canNavigateToSource
getPresentation
public StructureViewModuleNode(Project project, Module value, ViewSettings viewSettings)
public java.util.Collection<AbstractTreeNode<?>> getChildren()
getChildren
in class AbstractTreeNode<Module>
public int getWeight()
getWeight
in class NodeDescriptor<AbstractTreeNode<Module>>
public int getTypeSortWeight(boolean sortByType)
getTypeSortWeight
in class ProjectViewNode<Module>
public boolean contains(VirtualFile file)
ProjectViewNode
contains
in class AbstractModuleNode
file
- the file to check for.public boolean someChildContainsFile(VirtualFile file)
someChildContainsFile
in class ProjectViewNode<Module>