public final class EnumerationChildrenRenderer extends TypeRenderer implements ChildrenRenderer
Modifier and Type | Class and Description |
---|---|
static class |
EnumerationChildrenRenderer.ChildInfo |
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
APPEND_DEFAULT_NAME |
static java.lang.String |
CHILD_NAME |
static java.lang.String |
CHILD_ONDEMAND |
static java.lang.String |
CHILDREN_EXPRESSION |
static java.lang.String |
UNIQUE_ID |
myProperties
Constructor and Description |
---|
EnumerationChildrenRenderer() |
EnumerationChildrenRenderer(java.util.List<EnumerationChildrenRenderer.ChildInfo> children) |
Modifier and Type | Method and Description |
---|---|
void |
buildChildren(com.sun.jdi.Value value,
ChildrenBuilder builder,
EvaluationContext evaluationContext) |
EnumerationChildrenRenderer |
clone() |
java.util.List<EnumerationChildrenRenderer.ChildInfo> |
getChildren() |
PsiElement |
getChildValueExpression(DebuggerTreeNode node,
DebuggerContext context)
- parentNode
+ ..
|
static EnumerationChildrenRenderer |
getCurrent(ValueDescriptorImpl valueDescriptor) |
java.lang.String |
getUniqueId() |
boolean |
isAppendDefaultChildren() |
boolean |
isExpandable(com.sun.jdi.Value value,
EvaluationContext evaluationContext,
NodeDescriptor parentDescriptor) |
void |
readExternal(Element element) |
void |
setAppendDefaultChildren(boolean appendDefaultChildren) |
void |
setChildren(java.util.List<EnumerationChildrenRenderer.ChildInfo> children) |
void |
writeExternal(Element element) |
createCachedEvaluator, getClassName, isApplicable, setClassName
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isApplicable
public static final java.lang.String UNIQUE_ID
public static final java.lang.String APPEND_DEFAULT_NAME
public static final java.lang.String CHILDREN_EXPRESSION
public static final java.lang.String CHILD_NAME
public static final java.lang.String CHILD_ONDEMAND
public EnumerationChildrenRenderer()
public EnumerationChildrenRenderer(java.util.List<EnumerationChildrenRenderer.ChildInfo> children)
public void setAppendDefaultChildren(boolean appendDefaultChildren)
public boolean isAppendDefaultChildren()
public java.lang.String getUniqueId()
getUniqueId
in interface Renderer
public EnumerationChildrenRenderer clone()
clone
in interface Renderer
clone
in class TypeRenderer
public void readExternal(Element element) throws InvalidDataException
readExternal
in interface JDOMExternalizable
readExternal
in class TypeRenderer
InvalidDataException
public void writeExternal(Element element) throws WriteExternalException
writeExternal
in interface JDOMExternalizable
writeExternal
in class TypeRenderer
WriteExternalException
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 java.util.List<EnumerationChildrenRenderer.ChildInfo> getChildren()
public void setChildren(java.util.List<EnumerationChildrenRenderer.ChildInfo> children)
public static EnumerationChildrenRenderer getCurrent(ValueDescriptorImpl valueDescriptor)