Multi Pane Editor Contributions

org.eclipse.mat.ui.editorContributions

0.7.0

The Memory Analyzer uses an extended Eclipse editor to display the heap dump. This extension point can be used to contribute items to the toolbar of the editor.

<!ELEMENT extension (contribution+)>

<!ATTLIST extension

point CDATA #REQUIRED

id    CDATA #IMPLIED

name  CDATA #IMPLIED>


<!ELEMENT contribution EMPTY>

<!ATTLIST contribution

editorClass CDATA #REQUIRED

class       CDATA #REQUIRED

sequenceNr  CDATA #REQUIRED>


Following is an example of a editor contribution declaration:

   

<extension point=

"org.eclipse.mat.ui.editorContributions"

>

<contribution class=

"org.eclipse.mat.ui.snapshot.editor.HeapEditorContributions"

editorClass=

"org.eclipse.mat.ui.snapshot.editor.HeapEditor"

sequenceNr=

"1"

/>

</extension>

The value of the class attribute must represent an implementor of org.eclipse.mat.ui.editor.IMultiPaneEditorContributor.

The Memory Analyzer supplies one contribution to the heap editor itself. Check out the org.eclipse.mat.ui.snapshot.editor.HeapEditorContributions for more details.