public abstract class AbstractProjectNode extends ProjectViewNode<Project>
PresentableNodeDescriptor.ColoredFragment
NodeDescriptor.NodeComparator<T extends NodeDescriptor<?>>
LOG
DEFAULT_WEIGHT, EMPTY_ARRAY, myClosedIcon, myColor, myName, myOpenIcon, myProject
EMPTY_ROOTS
EMPTY_NAVIGATION_ITEM_ARRAY
Modifier | Constructor and Description |
---|---|
protected |
AbstractProjectNode(Project project,
Project value,
ViewSettings viewSettings) |
Modifier and Type | Method and Description |
---|---|
boolean |
contains(VirtualFile vFile)
Checks if this node or one of its children represents the specified virtual file.
|
protected abstract AbstractTreeNode<?> |
createModuleGroup(Module module) |
protected abstract AbstractTreeNode<?> |
createModuleGroupNode(ModuleGroup moduleGroup) |
protected AbstractTreeNode<?> |
createUnloadedModuleNode(UnloadedModuleDescription moduleDescription) |
java.lang.String |
getTestPresentation() |
protected java.util.Collection<AbstractTreeNode<?>> |
modulesAndGroups(java.util.Collection<? extends ModuleDescription> modules) |
void |
update(PresentationData presentation) |
canHaveChildrenMatching, createTreeNode, getDefaultRootsFor, getManualOrderKey, getQualifiedNameSortKey, getRoots, getSettings, getSortKey, getTitle, getTypeSortKey, getTypeSortWeight, getVirtualFile, hasProblemFileBeneath, isSortByFirstChild, isValidating, shouldApply, shouldDrillDownOnEmptyElement, shouldPostprocess, someChildContainsFile, someChildContainsFile, validate, wrap
apply, canNavigate, canNavigateToSource, canRepresent, equals, getChildren, getChildToHighlightAt, getElement, getEqualityObject, getFileStatus, getFileStatusColor, getLeafState, getName, getNullValueSetTrace, getParent, getParentDescriptor, getParentValue, getToolTip, getValue, hashCode, isAlwaysExpand, isAlwaysLeaf, isAlwaysShowPlus, navigate, 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, getWeight, isWasDeclaredAlwaysLeaf, setChildrenSortingStamp, setIcon, setIndex, setUpdateCount, setWasDeclaredAlwaysLeaf, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getPresentation
protected AbstractProjectNode(Project project, Project value, ViewSettings viewSettings)
protected java.util.Collection<AbstractTreeNode<?>> modulesAndGroups(java.util.Collection<? extends ModuleDescription> modules)
protected abstract AbstractTreeNode<?> createModuleGroup(Module module) throws java.lang.reflect.InvocationTargetException, java.lang.NoSuchMethodException, java.lang.InstantiationException, java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
java.lang.NoSuchMethodException
java.lang.InstantiationException
java.lang.IllegalAccessException
protected AbstractTreeNode<?> createUnloadedModuleNode(UnloadedModuleDescription moduleDescription)
protected abstract AbstractTreeNode<?> createModuleGroupNode(ModuleGroup moduleGroup) throws java.lang.reflect.InvocationTargetException, java.lang.NoSuchMethodException, java.lang.InstantiationException, java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
java.lang.NoSuchMethodException
java.lang.InstantiationException
java.lang.IllegalAccessException
public void update(PresentationData presentation)
update
in class PresentableNodeDescriptor<AbstractTreeNode<Project>>
public java.lang.String getTestPresentation()
getTestPresentation
in class AbstractTreeNode<Project>
public boolean contains(VirtualFile vFile)
ProjectViewNode
contains
in class ProjectViewNode<Project>
vFile
- the file to check for.