<!ELEMENT extension (UMLProfile)>
<!ATTLIST extension
point CDATA #REQUIRED
id CDATA #IMPLIED
name CDATA #IMPLIED>
<!ELEMENT UMLProfile EMPTY>
<!ATTLIST UMLProfile
name CDATA #REQUIRED
path CDATA #REQUIRED
required (true | false)
visible (true | false)
id CDATA #IMPLIED
bundle CDATA #IMPLIED>
Here is an example of an extension point used to define a new plugin-based profile:
<extension name=
"UML2 Standard Profiles"
point=
"com.ibm.xtools.uml2.msl.UMLProfiles"
>
<UMLProfile name=
"UML2Basic"
id=
"UML2BasicProfile"
name=
"UML2 Basic Profile"
path=
"pathmap://UML2_PROFILES/Basic.profile.uml2"
required=
"true"
visible=
"true"
>
</UMLProfile>
</extension>
Licensed Materials - Property of IBM (C) Copyright IBM Corp. 2004. All Rights Reserved.