RAS Editor Customization

com.ibm.xtools.ras.edit.ui.editorCustomization

6.0.1

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.

<!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.



<!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.



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>