public class PrimitiveRenderer extends NodeRendererImpl
NodeRendererImpl.Overhead
Modifier and Type | Field and Description |
---|---|
boolean |
SHOW_HEX_VALUE |
static java.lang.String |
UNIQUE_ID |
DEFAULT_NAME, myProperties
EP_NAME
Constructor and Description |
---|
PrimitiveRenderer() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
calcLabel(ValueDescriptor valueDescriptor,
EvaluationContext evaluationContext,
DescriptorLabelListener labelListener) |
java.lang.String |
getUniqueId() |
boolean |
isApplicable(com.sun.jdi.Type type)
Checks whether this renderer is applicable to this value
|
boolean |
isEnabled() |
boolean |
isShowHexValue() |
void |
readExternal(Element element) |
void |
setEnabled(boolean enabled) |
void |
setName(java.lang.String text) |
void |
setShowHexValue(boolean show) |
void |
writeExternal(Element element) |
buildChildren, clone, getChildValueExpression, getIdLabel, getName, hasOverhead, isExpandable, isShowType, setShowType, toString
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
calcValueIcon
public static final java.lang.String UNIQUE_ID
public boolean SHOW_HEX_VALUE
public java.lang.String getUniqueId()
public void setName(java.lang.String text)
setName
in interface NodeRenderer
setName
in class NodeRendererImpl
public final boolean isEnabled()
isEnabled
in interface NodeRenderer
isEnabled
in class NodeRendererImpl
public void setEnabled(boolean enabled)
setEnabled
in interface NodeRenderer
setEnabled
in class NodeRendererImpl
public boolean isApplicable(com.sun.jdi.Type type)
Renderer
public java.lang.String calcLabel(ValueDescriptor valueDescriptor, EvaluationContext evaluationContext, DescriptorLabelListener labelListener)
public boolean isShowHexValue()
public void setShowHexValue(boolean show)
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