public class ExecutionNode extends PresentableNodeDescriptor<ExecutionNode>
PresentableNodeDescriptor.ColoredFragment
NodeDescriptor.NodeComparator<T extends NodeDescriptor<?>>
DEFAULT_WEIGHT, EMPTY_ARRAY, myClosedIcon, myColor, myName, myOpenIcon, myProject
Constructor and Description |
---|
ExecutionNode(Project aProject,
ExecutionNode parentNode,
boolean isAutoExpandNode,
java.util.function.Supplier<java.lang.Boolean> isCorrectThread) |
Modifier and Type | Method and Description |
---|---|
void |
add(ExecutionNode node) |
java.util.List<ExecutionNode> |
getChildList() |
java.lang.String |
getDuration() |
ExecutionNode |
getElement() |
long |
getEndTime() |
static javax.swing.Icon |
getEventResultIcon(EventResult result) |
java.util.function.Predicate<ExecutionNode> |
getFilter() |
java.lang.String |
getName() |
java.util.List<Navigatable> |
getNavigatables() |
ExecutionNode |
getParent() |
EventResult |
getResult() |
long |
getStartTime() |
java.lang.String |
getTitle() |
boolean |
hasInfos() |
boolean |
hasWarnings() |
boolean |
isAutoExpandNode() |
boolean |
isFailed() |
static boolean |
isFailed(EventResult result) |
boolean |
isRunning() |
static boolean |
isSkipped(EventResult result) |
ExecutionNode |
reportChildMessageKind(MessageEvent.Kind kind) |
ExecutionNode |
setEndTime(long endTime) |
void |
setFilter(java.util.function.Predicate<ExecutionNode> filter) |
void |
setHint(java.lang.String hint) |
void |
setIconProvider(java.util.function.Supplier<? extends javax.swing.Icon> iconProvider) |
void |
setName(java.lang.String name) |
void |
setNavigatable(Navigatable navigatable) |
ExecutionNode |
setResult(EventResult result) |
void |
setStartTime(long startTime) |
void |
setTitle(java.lang.String title) |
protected void |
update(PresentationData presentation) |
apply, apply, applyFrom, createPresentation, getChildToHighlightAt, getHighlightColor, getPresentation, getTemplatePresentation, isAncestorOrSelf, isContentHighlighted, isHighlightableContentNode, isParentOf, postprocess, shouldApply, shouldPostprocess, shouldUpdateData, update
expandOnDoubleClick, getChildrenSortingStamp, getClosedIcon, getColor, getIcon, getIndex, getOpenIcon, getParentDescriptor, getProject, getUpdateCount, getWeight, isWasDeclaredAlwaysLeaf, setChildrenSortingStamp, setIcon, setIndex, setUpdateCount, setWasDeclaredAlwaysLeaf, toString
public ExecutionNode(Project aProject, ExecutionNode parentNode, boolean isAutoExpandNode, java.util.function.Supplier<java.lang.Boolean> isCorrectThread)
protected void update(PresentationData presentation)
update
in class PresentableNodeDescriptor<ExecutionNode>
public java.lang.String getName()
getName
in class PresentableNodeDescriptor<ExecutionNode>
public void setName(java.lang.String name)
public java.lang.String getTitle()
public void setTitle(java.lang.String title)
public void setHint(java.lang.String hint)
public void add(ExecutionNode node)
public java.lang.String getDuration()
public long getStartTime()
public void setStartTime(long startTime)
public long getEndTime()
public ExecutionNode setEndTime(long endTime)
public java.util.List<ExecutionNode> getChildList()
public ExecutionNode getParent()
public ExecutionNode getElement()
getElement
in class NodeDescriptor<ExecutionNode>
public java.util.function.Predicate<ExecutionNode> getFilter()
public void setFilter(java.util.function.Predicate<ExecutionNode> filter)
public boolean isRunning()
public boolean hasWarnings()
public boolean hasInfos()
public boolean isFailed()
public EventResult getResult()
public ExecutionNode setResult(EventResult result)
public boolean isAutoExpandNode()
public void setNavigatable(Navigatable navigatable)
public java.util.List<Navigatable> getNavigatables()
public void setIconProvider(java.util.function.Supplier<? extends javax.swing.Icon> iconProvider)
public ExecutionNode reportChildMessageKind(MessageEvent.Kind kind)
public static boolean isFailed(EventResult result)
public static boolean isSkipped(EventResult result)
public static javax.swing.Icon getEventResultIcon(EventResult result)