public class CompoundNodeRenderer extends NodeRendererImpl
NodeRendererImpl.Overhead
Modifier and Type | Field and Description |
---|---|
protected NodeRendererSettings |
myRendererSettings |
static java.lang.String |
UNIQUE_ID |
DEFAULT_NAME, myProperties
EP_NAME
Constructor and Description |
---|
CompoundNodeRenderer(NodeRendererSettings rendererSettings,
java.lang.String name,
ValueLabelRenderer labelRenderer,
ChildrenRenderer childrenRenderer) |
Modifier and Type | Method and Description |
---|---|
void |
buildChildren(com.sun.jdi.Value value,
ChildrenBuilder builder,
EvaluationContext evaluationContext) |
java.lang.String |
calcLabel(ValueDescriptor descriptor,
EvaluationContext evaluationContext,
DescriptorLabelListener listener) |
CompoundNodeRenderer |
clone() |
ChildrenRenderer |
getChildrenRenderer() |
PsiElement |
getChildValueExpression(DebuggerTreeNode node,
DebuggerContext context)
- parentNode
+ ..
|
ValueLabelRenderer |
getLabelRenderer() |
java.lang.String |
getUniqueId() |
boolean |
isApplicable(com.sun.jdi.Type type)
Checks whether this renderer is applicable to this value
|
boolean |
isExpandable(com.sun.jdi.Value value,
EvaluationContext evaluationContext,
NodeDescriptor parentDescriptor) |
void |
readExternal(Element element) |
void |
setChildrenRenderer(ChildrenRenderer childrenRenderer) |
void |
setLabelRenderer(ValueLabelRenderer labelRenderer) |
void |
writeExternal(Element element) |
getIdLabel, getName, hasOverhead, isEnabled, isShowType, setEnabled, setName, setShowType, toString
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
calcValueIcon
public static final java.lang.String UNIQUE_ID
protected final NodeRendererSettings myRendererSettings
public CompoundNodeRenderer(NodeRendererSettings rendererSettings, java.lang.String name, ValueLabelRenderer labelRenderer, ChildrenRenderer childrenRenderer)
public java.lang.String getUniqueId()
public CompoundNodeRenderer clone()
clone
in interface Renderer
clone
in class NodeRendererImpl
public void buildChildren(com.sun.jdi.Value value, ChildrenBuilder builder, EvaluationContext evaluationContext)
buildChildren
in interface ChildrenRenderer
buildChildren
in class NodeRendererImpl
public PsiElement getChildValueExpression(DebuggerTreeNode node, DebuggerContext context) throws EvaluateException
ChildrenRenderer
getChildValueExpression
in interface ChildrenRenderer
getChildValueExpression
in class NodeRendererImpl
node
- a child nodeEvaluateException
public boolean isExpandable(com.sun.jdi.Value value, EvaluationContext evaluationContext, NodeDescriptor parentDescriptor)
isExpandable
in interface ChildrenRenderer
isExpandable
in class NodeRendererImpl
public boolean isApplicable(com.sun.jdi.Type type)
Renderer
public java.lang.String calcLabel(ValueDescriptor descriptor, EvaluationContext evaluationContext, DescriptorLabelListener listener) throws EvaluateException
EvaluateException
public ValueLabelRenderer getLabelRenderer()
public ChildrenRenderer getChildrenRenderer()
public void setLabelRenderer(ValueLabelRenderer labelRenderer)
public void setChildrenRenderer(ChildrenRenderer childrenRenderer)
public void readExternal(Element element) throws InvalidDataException
readExternal
in interface JDOMExternalizable
readExternal
in class NodeRendererImpl
InvalidDataException
public void writeExternal(Element element) throws WriteExternalException
writeExternal
in interface JDOMExternalizable
writeExternal
in class NodeRendererImpl
WriteExternalException