public abstract class SourceItemNodeBase extends ArtifactsTreeNode
PresentableNodeDescriptor.ColoredFragment
NodeDescriptor.NodeComparator<T extends NodeDescriptor<?>>
ComparableObject.Impl
myContext
NO_CHILDREN
DEFAULT_WEIGHT, EMPTY_ARRAY, myClosedIcon, myColor, myName, myOpenIcon, myProject
NONE
Constructor and Description |
---|
SourceItemNodeBase(ArtifactEditorContext context,
NodeDescriptor parentDescriptor,
TreeNodePresentation presentation,
ArtifactEditorEx artifactEditor) |
Modifier and Type | Method and Description |
---|---|
protected SimpleNode[] |
buildChildren() |
protected ArtifactEditorEx |
getArtifactEditor() |
protected abstract PackagingSourceItem |
getSourceItem() |
protected void |
update(PresentationData presentation) |
getElementPresentation, getName, getWeight
cleanUpCache, getCached, getChildren, onChildrenBuilt
accept, addColoredFragment, addColoredFragment, addColoredFragment, addErrorText, addPlainText, clearColoredText, doUpdate, equals, getChildAt, getChildCount, getChildToHighlightAt, getColoredText, getElement, getEqualityObjects, getErrorAttributes, getIndex, getLeafState, getParent, getPlainAttributes, handleDoubleClickOrEnter, handleSelection, hashCode, isAlwaysLeaf, isAlwaysShowPlus, isAutoExpandNode, setNodeText, setPlainText, setUniformIcon, shouldHaveSeparator, toString, updateElement, updateFileStatus
apply, apply, applyFrom, createPresentation, getHighlightColor, getPresentation, getTemplatePresentation, isAncestorOrSelf, isContentHighlighted, isHighlightableContentNode, isParentOf, postprocess, shouldApply, shouldPostprocess, shouldUpdateData, update
expandOnDoubleClick, getChildrenSortingStamp, getClosedIcon, getColor, getIcon, getIndex, getOpenIcon, getParentDescriptor, getProject, getUpdateCount, isWasDeclaredAlwaysLeaf, setChildrenSortingStamp, setIcon, setIndex, setUpdateCount, setWasDeclaredAlwaysLeaf
public SourceItemNodeBase(ArtifactEditorContext context, NodeDescriptor parentDescriptor, TreeNodePresentation presentation, ArtifactEditorEx artifactEditor)
protected ArtifactEditorEx getArtifactEditor()
protected void update(PresentationData presentation)
update
in class ArtifactsTreeNode
protected SimpleNode[] buildChildren()
buildChildren
in class CachingSimpleNode
protected abstract PackagingSourceItem getSourceItem()