RAS Profile
Identifier:
com.ibm.xtools.ras.profile.core.profile
Since:
6.0
Description:
The extension point provides multiple extensions to register a profile with the RAS tooling.
Configuration Markup:
<!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.
- name - The localized name of the profile.
- profile-id - Each profile has a unique id. This id is used to identify the profile for a given manifest. The profile is in the format ::, where parent profile id is in the same format.
All profile should extend the default profile id F1C842AD-CE85-4261-ACA7-178C457018A1::31E5BFBF-B16E-4253-8037-98D70D07F35F.
- uri - The EMF model name space uri for the generated profile.
- profile-version-provider - The fully qualified name of the Java class that implements com.ibm.xtools.ras.profile.core.IProfileVersionProvider interface. The implementing class should supply the latest major and minor version of the profile.
- asset-initializer - The fully qualified name of the Java class that implements com.ibm.xtools.ras.profile.core.IAssetInitializer interface. This will provide the client the opportunity to participate on demand in the intialization of profile elements after creation.
- description - A localized short description of the profile.
<!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.
- profile-id - Each profile has a unique id. This id is used to identify the profile for a given manifest. The profile is in the format ::, where parent profile id is in the same format.
All profile should extend the default profile id F1C842AD-CE85-4261-ACA7-178C457018A1::31E5BFBF-B16E-4253-8037-98D70D07F35F.
- adapter-factory - The fully qualified name of the Java class that implements org.eclipse.emf.edit.provider.ComposeableAdapterFactory interface. Generally this should be the class that was automatically generated by the EMF tooling to support editing the EMF model associatied with this profile.
Examples:
<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>
Licensed Materials - Property of IBM
(c) Copyright IBM Corp. 2003, 2005 All Rights Reserved.
US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.