public class BlockTreeNode extends SimpleNode
PresentableNodeDescriptor.ColoredFragment
NodeDescriptor.NodeComparator<T extends NodeDescriptor<?>>
ComparableObject.Impl
NO_CHILDREN
DEFAULT_WEIGHT, EMPTY_ARRAY, myClosedIcon, myColor, myName, myOpenIcon, myProject
NONE
Constructor and Description |
---|
BlockTreeNode(Block block,
BlockTreeNode parent) |
Modifier and Type | Method and Description |
---|---|
Block |
getBlock() |
BlockTreeNode [] |
getChildren() |
java.lang.Object [] |
getEqualityObjects() |
boolean |
isAlwaysLeaf() |
protected void |
update(PresentationData presentation) |
accept, addColoredFragment, addColoredFragment, addColoredFragment, addErrorText, addPlainText, clearColoredText, doUpdate, equals, getChildAt, getChildCount, getChildToHighlightAt, getColoredText, getElement, getErrorAttributes, getIndex, getLeafState, getParent, getPlainAttributes, getWeight, handleDoubleClickOrEnter, handleSelection, hashCode, isAlwaysShowPlus, isAutoExpandNode, setNodeText, setPlainText, setUniformIcon, shouldHaveSeparator, toString, updateElement, updateFileStatus
apply, apply, applyFrom, createPresentation, getHighlightColor, getName, 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 BlockTreeNode(Block block, BlockTreeNode parent)
public Block getBlock()
public BlockTreeNode [] getChildren()
getChildren
in class SimpleNode
protected void update(PresentationData presentation)
update
in class SimpleNode
public java.lang.Object [] getEqualityObjects()
getEqualityObjects
in interface ComparableObject
getEqualityObjects
in class SimpleNode
public boolean isAlwaysLeaf()
isAlwaysLeaf
in class SimpleNode