<!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)
id CDATA #IMPLIED>
Here is an example of an extension point used to define a new plugin-based type library:
The only officially supported format for type libraries are emx files. Other formats may work, but no explicit support is available.
<extension id="MyTypeLibrary" name="My Type Library" point="com.ibm.xtools.uml.msl.UMLLibraries"> <UMLLibrary name="MyTypes" path="pathmap://MY_PATHMAP/MyTypeLibraryModel.emx" required="false" visible="true"> </UMLLibrary> </extension>
Licensed Materials - Property of IBM (C) Copyright IBM Corp. 2004, 2007. All Rights Reserved.