RAS Editor Customization
Identifier:
com.ibm.xtools.ras.edit.ui.editorCustomization
Since:
6.0.1
Description:
This extension-point allows custom RAS profile implementors to customize the presentation of their extended EMF model in the editor by adding one or more pages that are associated with their profile. Upon opening a manifest with a profile of their custom type, the editor will attemtp to add these pages to its tabs.
Configuration Markup:
<!ELEMENT extension (editorCustomization+)>
<!ATTLIST extension
point CDATA #REQUIRED
id CDATA #IMPLIED
name CDATA #IMPLIED>
<!ELEMENT editorCustomization (page+)>
<!ATTLIST editorCustomization
profile-id CDATA #REQUIRED>
This extension-point is intended for implementors of custom RAS profile to add pages to the RAS editor that will be created upon opening a manifest with their custom profile.
- profile-id - This attribute is the ID of the profile associated with the editor customization. The pages specified in the extension will be used to edit a RAS manifest if its profile is the one with this id.
<!ELEMENT page EMPTY>
<!ATTLIST page
class CDATA #REQUIRED
priority CDATA #REQUIRED>
This element represents a page to add to the RAS manifest editor when opening manifests with the profile given in the parent editorCustomization.
- class - This is the class implementing the editor page. It should implement the com.ibm.xtools.ras.edit.ui.internal.IEditorPage interface.
- priority - This is the priority of the page. Priority is used to determine the order of the pages in the editors tabs.
Examples:
Here is the extension for this extension-point as implemented for the default profile.
<extension point="com.ibm.xtools.ras.edit.ui.editorCustomization">
<editorCustomization
profile-id="F1C842AD-CE85-4261-ACA7-178C457018A1::31E5BFBF-B16E-4253-8037-98D70D07F35F">
<page
priority="10"
class="com.ibm.xtools.ras.profile.defauld.editor.pages.internal.AssetPage"/>
<page
priority="20"
class="com.ibm.xtools.ras.profile.defauld.editor.pages.internal.SolutionPage"/>
<page
priority="30"
class="com.ibm.xtools.ras.profile.defauld.editor.pages.internal.ClassificationPage"/>
<page
priority="40"
class="com.ibm.xtools.ras.profile.defauld.editor.pages.internal.RelatedAssetPage"/>
<page
priority="50"
class="com.ibm.xtools.ras.profile.defauld.editor.pages.internal.UsagePage"/>
<page
priority="60"
class="com.ibm.xtools.ras.profile.defauld.editor.pages.internal.EMFPage"/>
<page
priority="128"
class="com.ibm.xtools.ras.profile.defauld.editor.pages.internal.SourcePage"/>
</editorCustomization>
</extension>
Licensed Materials - Property of IBM
(c) Copyright IBM Corp. 2005 All Rights Reserved.
US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.