public class GraphLayoutReasonDataGatherer extends java.lang.Object implements DataGatherer, HeapAnalyzedListener, DisposableAction.RunActionListener
Constructor and Description |
---|
GraphLayoutReasonDataGatherer() |
Modifier and Type | Method and Description |
---|---|
void |
activate()
Activates the gathering of data.
|
void |
analyzedHeap(HeapContent heap,
VisualizationInput.AnalysisReason reason)
Notifies the listener that the heap was analyzed.
|
void |
deactivate()
Deactivates the gathering of data.
|
java.util.List<Data> |
getGatheredData()
Gets the gathered data.
|
void |
runAction(org.eclipse.jface.action.Action action)
Notification that the given action is being executed.
|
public void activate()
DataGatherer
activate
in interface DataGatherer
public void deactivate()
DataGatherer
DataGatherer#getJsonData()
method. However, no new data will be gathered.deactivate
in interface DataGatherer
public java.util.List<Data> getGatheredData()
DataGatherer
getGatheredData
in interface DataGatherer
public void runAction(org.eclipse.jface.action.Action action)
DisposableAction.RunActionListener
runAction
in interface DisposableAction.RunActionListener
action
- The action which is being executed.public void analyzedHeap(HeapContent heap, VisualizationInput.AnalysisReason reason)
HeapAnalyzedListener
analyzedHeap
in interface HeapAnalyzedListener
heap
- The resulting heap content.reason
- The reason behind analyzing the heap.