public abstract class NodeRendererImpl extends java.lang.Object implements NodeRenderer
Modifier and Type | Class and Description |
---|---|
static class |
NodeRendererImpl.Overhead |
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DEFAULT_NAME |
protected BasicRendererProperties |
myProperties |
EP_NAME
Modifier | Constructor and Description |
---|---|
protected |
NodeRendererImpl() |
protected |
NodeRendererImpl(java.lang.String presentableName) |
protected |
NodeRendererImpl(java.lang.String presentableName,
boolean enabledDefaultValue) |
Modifier and Type | Method and Description |
---|---|
void |
buildChildren(com.sun.jdi.Value value,
ChildrenBuilder builder,
EvaluationContext evaluationContext) |
NodeRendererImpl |
clone() |
PsiElement |
getChildValueExpression(DebuggerTreeNode node,
DebuggerContext context)
- parentNode
+ ..
|
java.lang.String |
getIdLabel(com.sun.jdi.Value value,
DebugProcess process) |
java.lang.String |
getName() |
boolean |
hasOverhead() |
boolean |
isEnabled() |
boolean |
isExpandable(com.sun.jdi.Value value,
EvaluationContext evaluationContext,
NodeDescriptor parentDescriptor) |
boolean |
isShowType() |
void |
readExternal(Element element) |
void |
setEnabled(boolean enabled) |
void |
setName(java.lang.String name) |
void |
setShowType(boolean showType) |
java.lang.String |
toString() |
void |
writeExternal(Element element) |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
calcLabel, calcValueIcon
getUniqueId, isApplicable
public static final java.lang.String DEFAULT_NAME
protected BasicRendererProperties myProperties
protected NodeRendererImpl()
protected NodeRendererImpl(java.lang.String presentableName)
protected NodeRendererImpl(java.lang.String presentableName, boolean enabledDefaultValue)
public java.lang.String getName()
getName
in interface NodeRenderer
public void setName(java.lang.String name)
setName
in interface NodeRenderer
public boolean isEnabled()
isEnabled
in interface NodeRenderer
public void setEnabled(boolean enabled)
setEnabled
in interface NodeRenderer
public boolean isShowType()
public void setShowType(boolean showType)
public void buildChildren(com.sun.jdi.Value value, ChildrenBuilder builder, EvaluationContext evaluationContext)
buildChildren
in interface ChildrenRenderer
public PsiElement getChildValueExpression(DebuggerTreeNode node, DebuggerContext context) throws EvaluateException
ChildrenRenderer
getChildValueExpression
in interface ChildrenRenderer
node
- a child nodeEvaluateException
public boolean isExpandable(com.sun.jdi.Value value, EvaluationContext evaluationContext, NodeDescriptor parentDescriptor)
isExpandable
in interface ChildrenRenderer
public NodeRendererImpl clone()
public void readExternal(Element element)
readExternal
in interface JDOMExternalizable
public void writeExternal(Element element)
writeExternal
in interface JDOMExternalizable
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String getIdLabel(com.sun.jdi.Value value, DebugProcess process)
public boolean hasOverhead()