<!ELEMENT extension (UMLLibrary)>
<!ATTLIST extension
point CDATA #REQUIRED
id CDATA #IMPLIED
name CDATA #IMPLIED>
<!ELEMENT UMLLibrary EMPTY>
<!ATTLIST UMLLibrary
name CDATA #REQUIRED
path CDATA #REQUIRED
required (true | false)
visible (true | false) >
Here is an example of an extension point used to define a new plugin-based type library:
<extension id=
"UML2TypeLibrary"
name=
"UML2 Type Library"
point=
"com.ibm.xtools.uml2.msl.UMLLibraries"
>
<UMLLibrary name=
"UML2Types"
path=
"pathmap://UML2_LIBRARIES/UML2PrimitiveTypes.library.uml2"
required=
"true"
visible=
"true"
>
</UMLLibrary>
</extension>
Licensed Materials - Property of IBM (C) Copyright IBM Corp. 2004. All Rights Reserved.