Contributing a Properties page to the iSeries Project View

Contributing a properties page to the iSeries Project view can be done by using the base Eclipse extension point org.eclipse.ui.propertyPages.

Here is a sample on how to do it

 <!-- ============== ISV Project Properties page =================   -->
   <extension point="org.eclipse.ui.propertyPages">
      <!-- contribute property pages against iSeries Project Object Model to -->
      <!-- make page appear in iSeries Project perspectives.            -->
      <page
         objectClass="com.ibm.etools.iseries.perspective.model.AbstractISeriesProject"
         name="%project_property_page_name"
         class="com.ibm.etools.iseries.perspective.isv.sample1.ProjectISVPropertyPage"
         id="com.ibm.etools.iseries.perspective.isv.sample1.projectpropertypage">
          <filter
               name="projectPersistentProperty"
               value="com.ibm.etools.iseries.perspective.isv.sample1.myBoolean=true">
         </filter>
     </page>
   </extension>

The above sample contributes a properties page to the iSeries Project view. The properties page is contributed at the project level. It uses Eclipse filtering to narrow down the contribution to a specific persistent property of a specific value. If myBoolean is not set as a persistent property of the iSeries Project, then this properties page will be filtered out.
It is important to note that the value of the objectClass attribute determines where the Properties page appears in the view.


The above snippet is taken from one of the samples included with the iSeries Project perspective. You can check the Installing and Running the Samples section for details about this sample.