Logical Model Extenders
Identifier:
com.ibm.xtools.comparemerge.ui.logicalModelProviders
Since:
7.0
Description:
This extension point allows a plug-in to register logical model extender and participate in full context merge operations provided by the compare merge framework. The extender is expected to implement com.ibm.xtools.comparemerge.ui.logicalModelExtender.
Configuration Markup:
<!ELEMENT extension (logicalModelProvider+)>
<!ATTLIST extension
point CDATA #REQUIRED
id CDATA #IMPLIED
name CDATA #IMPLIED>
- id - a unique identifier that can be used to reference the logical model provider
<!ELEMENT logicalModelProvider EMPTY>
<!ATTLIST logicalModelProvider
id CDATA #REQUIRED
class CDATA #REQUIRED
customData CDATA #IMPLIED
rootModelFileExtensions CDATA #REQUIRED
subunitFileExtensions CDATA #REQUIRED>
- id - a unique identifier that can be used to reference the logical model provider
- class - The class attribute must implements the interface com.ibm.xtools.comparemerge.ui.logicalmodel.ILogicalModelExtender
- customData - Optional data for initialize the extender
- rootModelFileExtensions - One or more file extensions (comma separated) of root model file (example: "emx")
- subunitFileExtensions - One or more file extensions (comma separated) of root model file (example: "efx, subunit")
Examples:
The following is an example of Thing logical model extender extension.
<extension
point="com.ibm.xtools.comparemerge.ui.logicalModelExtenders">
<logicalModelProvider
class="com.ibm.xtools.modeler.compare.internal.logicalmodel.ModelerLogicalModelExtender"
id="ModelerExtender"
rootModelFileExtensions="emx"
subunitFileExtensions="efx"/>
</extension>
API Information:
The value of the class attribute must implement the interface com.ibm.xtools.comparemerge.ui.logicalmodel.ILogicalModelExtender
The value of the rootModelFileExtension and subunitFileExtensions attribute are list of comma separated file extensions (example: "abc,def").
Supplied Implementation:
The LogicalModelExtender class is a good convinience base class for extender to extends
Copyright (c) 2004, 2006 IBM Corporation. All Rights Reserved.