Heap Editor Panes

org.eclipse.mat.ui.editorPanes

0.7.0

This extension point adds new panes to the heap editor. Each pane is tied to one or more implementations of IResult.

<!ELEMENT extension (pane+)>

<!ATTLIST extension

point CDATA #REQUIRED

id    CDATA #IMPLIED

name  CDATA #IMPLIED>


<!ELEMENT pane (result*)>

<!ATTLIST pane

id    CDATA #REQUIRED

class CDATA #REQUIRED>


<!ELEMENT result EMPTY>

<!ATTLIST result

type CDATA #IMPLIED>


Following is an example of a editor pane declaration:

   

<extension point=

"org.eclipse.mat.ui.editorPanes"

>

<pane id=

"PieChartPane"

class=

"org.eclipse.mat.ui.internal.chart.PieChartPane"

>

<result type=

"org.eclipse.mat.query.IResultPie"

/>

</pane>

</extension>

The value of the class attribute must represent an implementor of org.eclipse.mat.ui.editor.AbstractEditorPane. The result attribute shows which types of org.eclipse.mat.query.IResult it handles.

The Memory Analyzer supplies a number panes to display histograms, object lists, trees, tables, text, pie charts, etc. Check out the org.eclipse.mat.ui plug-in for more samples.