public class ToStringRenderer extends NodeRendererImpl implements OnDemandRenderer
NodeRendererImpl.Overhead
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
UNIQUE_ID |
DEFAULT_NAME, myProperties
ON_DEMAND_CALCULATED
EP_NAME
Constructor and Description |
---|
ToStringRenderer() |
Modifier and Type | Method and Description |
---|---|
void |
buildChildren(com.sun.jdi.Value value,
ChildrenBuilder builder,
EvaluationContext evaluationContext) |
java.lang.String |
calcLabel(ValueDescriptor valueDescriptor,
EvaluationContext evaluationContext,
DescriptorLabelListener labelListener) |
ToStringRenderer |
clone() |
PsiElement |
getChildValueExpression(DebuggerTreeNode node,
DebuggerContext context)
- parentNode
+ ..
|
ClassFilter[] |
getClassFilters() |
java.lang.String |
getLinkText() |
java.lang.String |
getName() |
java.lang.String |
getUniqueId() |
boolean |
hasOverhead() |
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) |
boolean |
isOnDemand() |
boolean |
isOnDemand(EvaluationContext evaluationContext,
ValueDescriptor valueDescriptor) |
boolean |
isUseClassFilters() |
void |
readExternal(Element element) |
void |
setClassFilters(ClassFilter[] classFilters) |
void |
setName(java.lang.String name) |
void |
setOnDemand(boolean value) |
void |
setUseClassFilters(boolean value) |
void |
writeExternal(Element element) |
getIdLabel, isEnabled, isShowType, setEnabled, setShowType, toString
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
createFullValueEvaluator, getFullValueEvaluator, isCalculated, isOnDemandForced, isShowValue, setCalculated
calcValueIcon
public static final java.lang.String UNIQUE_ID
public java.lang.String getUniqueId()
getUniqueId
in interface Renderer
public java.lang.String getName()
getName
in interface NodeRenderer
getName
in class NodeRendererImpl
public void setName(java.lang.String name)
setName
in interface NodeRenderer
setName
in class NodeRendererImpl
public ToStringRenderer clone()
clone
in interface Renderer
clone
in class NodeRendererImpl
public java.lang.String calcLabel(ValueDescriptor valueDescriptor, EvaluationContext evaluationContext, DescriptorLabelListener labelListener) throws EvaluateException
calcLabel
in interface ValueLabelRenderer
EvaluateException
public java.lang.String getLinkText()
getLinkText
in interface OnDemandRenderer
public boolean isUseClassFilters()
public void setUseClassFilters(boolean value)
public boolean isOnDemand(EvaluationContext evaluationContext, ValueDescriptor valueDescriptor)
isOnDemand
in interface OnDemandRenderer
public boolean isApplicable(com.sun.jdi.Type type)
Renderer
isApplicable
in interface Renderer
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 void readExternal(Element element)
readExternal
in interface JDOMExternalizable
readExternal
in class NodeRendererImpl
public void writeExternal(Element element)
writeExternal
in interface JDOMExternalizable
writeExternal
in class NodeRendererImpl
public ClassFilter[] getClassFilters()
public void setClassFilters(ClassFilter[] classFilters)
public boolean isOnDemand()
public void setOnDemand(boolean value)
public boolean hasOverhead()
hasOverhead
in class NodeRendererImpl