RAS Profile

com.ibm.xtools.ras.profile.core.profile

6.0

The extension point provides multiple extensions to register a profile with the RAS tooling.

<!ELEMENT extension (profile+ , adapterFactory+)>

<!ATTLIST extension

point CDATA #REQUIRED

id    CDATA #IMPLIED

name  CDATA #IMPLIED>


<!ELEMENT profile EMPTY>

<!ATTLIST profile

name                     CDATA #IMPLIED

profile-id               CDATA #REQUIRED

uri                      CDATA #REQUIRED

profile-version-provider CDATA #REQUIRED

asset-initializer        CDATA #IMPLIED

description              CDATA #REQUIRED>

The profile extension provides a "link" between RAS profile id and an EMF model namespace URI. It requires a description as well as a IProfileVersionProvider to be specified. It also provides the ability to supply an IAssetInitializer that will be invoked on demand after elements for the profile that have been created.



<!ELEMENT adapterFactory EMPTY>

<!ATTLIST adapterFactory

profile-id      CDATA #REQUIRED

adapter-factory CDATA #REQUIRED>

The adapterFactory extension provides a "link" between RAS profile id and an the EMF ComposeableAdapterFactory generated by the EMF tooling to support editing.




<extension point="com.ibm.xtools.ras.profile.core.profile">
   <profile
      profile-id="F1C842AD-CE85-4261-ACA7-178C457018A1::31E5BFBF-B16E-4253-8037-98D70D07F35F"
      name="My Derived Profile"
      uri="http:///myderivedprofile.ecore">
      description="Describe the derived profile">
      profile-version-provider="com.ibm.xtools.ras.derived.profile.DerivedProfileVersionProviderImpl">
   </profile>
</extension>

<extension point="com.ibm.xtools.ras.profile.core.adapterFactory">
   <adapterFactory
      profile-id="F1C842AD-CE85-4261-ACA7-178C457018A1::31E5BFBF-B16E-4253-8037-98D70D07F35F"
      adapter-factory="com.ibm.xtools.ras.derived.profile.DerivedProfileAdapterFactoryImpl">
   </adapterFactory>
</extension>