Home

 

Add content page

 

A content page extension point is used to add a content pages to the content view. A content page can be associated with a tree node.

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

<extension
   id="com.ibm.mq.explorer.sample.simpleContentPage"
   name="Simple ContentPage"
   point="com.ibm.mq.explorer.ui.addcontentpage">
 <contentPage
   pluginId="com.ibm.mq.explorer.sample.simple"
   name="com.ibm.mq.explorer.sample.simple"
   class="com.ibm.mq.explorer.sample.simple.SimpleContentPageFactory"
   contentPageId="com.ibm.mq.explorer.sample.simple">
 </contentPage>
</extension>

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

 

Parent topic:

Utilizing extension points


fa12390_


 

Home