Home

 

Add tree node

 

A tree node extension point is used to add a tree node to the navigation view and associate it with a content page.

The following code extract is taken from the file, plugin.xml, from the simple plug-in and shows a basic implementation of the tree node extension point:

<extension
   id="com.ibm.mq.explorer.samples.simpleTreeNode"
   name="Simple TreeNode"
   point="com.ibm.mq.explorer.ui.addtreenode">
 <treeNode
   pluginId="com.ibm.mq.explorer.sample.simple"
   name="com.ibm.mq.explorer.sample.simple"
   class="com.ibm.mq.explorer.sample.simple.SimpleTreeNodeFactory"
   treeNodeId="com.ibm.mq.explorer.sample.simple"
   sequence="888">
 </treeNode>
</extension>

As well as declaring the tree node extension point in plugin.xml, the following classes are needed:

 

Parent topic:

Utilizing extension points


fa12380_


 

Home