public class VisualizationInput extends java.lang.Object implements IStackFrameHandler, ValueExpander
Modifier and Type | Class and Description |
---|---|
static class |
VisualizationInput.AnalysisReason
Describes the reason for heap analysis to be performed.
|
BREAKPOINT, CREATE, STEP_IN, STEP_OUT, STEP_OVER, TERMINATE
Constructor and Description |
---|
VisualizationInput() |
Modifier and Type | Method and Description |
---|---|
void |
addExpandListener(ExpandListener listener)
Adds the given listener to listen for expansion events.
|
void |
addHeapAnalyzedListener(HeapAnalyzedListener l) |
void |
addProgressMonitor(ProgressMonitor monitor) |
void |
clear() |
java.util.Optional<Value> |
computeSingleValueGraph(org.eclipse.debug.core.model.IValue value)
Compute the value for a single IValue instance.
|
void |
expandValue(ObjectValue value,
ExpansionDepth depth)
Expand the given value for the given depth.
|
ExpansionDepth |
getExpansionDepth(ObjectValue value)
Gets the expansion depth of the given value.
|
static VisualizationInput |
getMainInstance() |
org.eclipse.debug.core.model.IStackFrame |
getStackframe() |
void |
recomputeCurrentGraph() |
void |
removeExpandListener(ExpandListener listener)
Removes the given listener from listening for expansion events.
|
void |
removeExpansion(ObjectValue value)
Remove expansion from the given value.
|
void |
removeHeapAnalyzedListener(HeapAnalyzedListener l) |
void |
removeProgressMonitor(ProgressMonitor monitor) |
void |
replaceStackframe(org.eclipse.debug.core.model.IStackFrame stackframe) |
void |
setBlacklistManager(BlacklistManager blacklistManager) |
void |
setLongRunningActionHandler(LongRunningActionHandler handler) |
void |
setStackFrame(org.eclipse.debug.core.model.IStackFrame s,
int stepEvent) |
void |
setUsageMode(UsageMode mode) |
public static VisualizationInput getMainInstance()
public org.eclipse.debug.core.model.IStackFrame getStackframe()
public void setStackFrame(org.eclipse.debug.core.model.IStackFrame s, int stepEvent)
setStackFrame
in interface IStackFrameHandler
public void replaceStackframe(org.eclipse.debug.core.model.IStackFrame stackframe)
public void addHeapAnalyzedListener(HeapAnalyzedListener l)
public void removeHeapAnalyzedListener(HeapAnalyzedListener l)
public void addProgressMonitor(ProgressMonitor monitor)
public void removeProgressMonitor(ProgressMonitor monitor)
public void recomputeCurrentGraph()
public void setLongRunningActionHandler(LongRunningActionHandler handler)
public void setUsageMode(UsageMode mode)
public void setBlacklistManager(BlacklistManager blacklistManager)
public java.util.Optional<Value> computeSingleValueGraph(org.eclipse.debug.core.model.IValue value)
value
- The value to be analyzed and to build a heap content with.Value
instance.public void addExpandListener(ExpandListener listener)
ValueExpander
addExpandListener
in interface ValueExpander
listener
- The listener to addpublic void removeExpandListener(ExpandListener listener)
ValueExpander
removeExpandListener
in interface ValueExpander
listener
- The listener to remove.public void removeExpansion(ObjectValue value)
ValueExpander
removeExpansion
in interface ValueExpander
value
- The value to remove expansion from.public ExpansionDepth getExpansionDepth(ObjectValue value)
ValueExpander
getExpansionDepth
in interface ValueExpander
value
- The value to get the expansion depth for.public void clear()
public void expandValue(ObjectValue value, ExpansionDepth depth)
ValueExpander
expandValue
in interface ValueExpander
value
- The value to expand.depth
- The depth at which to expand the value.