ModelMapping Generated Factory
Identifier:
com.ibm.xtools.mmi.core.MMIGeneratedFactory
Since:
This extension point is new to Version 7.0.
Description:
This extension point defines a mechanism to collect all the mappable model factories that can create EObject given an EClass. This EObject should also implement IVizElement interface.
Configuration Markup:
<!ELEMENT extension (factory+)>
<!ATTLIST extension
point CDATA #REQUIRED
id CDATA #IMPLIED
name CDATA #IMPLIED>
- point - A fully qualified identifier of the target extension point
- id - An optional identifier of the extension instance
- name - An optional name of the extension instance
<!ELEMENT factory (compatibilityHandler)>
<!ATTLIST factory
package_uri CDATA #REQUIRED
class CDATA #REQUIRED
NS_PREFIX CDATA #REQUIRED>
- package_uri - Namespace URI of the EPackage.
- class - Visualization implementation of the EFactory.
- NS_PREFIX - Namespace Prefix
<!ELEMENT compatibilityHandler EMPTY>
<!ATTLIST compatibilityHandler
class CDATA #IMPLIED
prefixes CDATA #IMPLIED>
- class - Visualization implementation of the IFactoryMigrator.
- prefixes - Previous namespace prefixes for backwards compatibility
Examples:
Following is an example of a MMIGeneratedFactory:
<extension
id="VizUML2GeneratedFactory"
name="Mappable UML2 Factory"
point="com.ibm.xtools.mmi.core.MMIGeneratedFactory">
<factory
NS_PREFIX="uml2"
class="com.ibm.xtools.umlviz.core.internal.model.VizUML2FactoryImpl"
package_uri="http://www.eclipse.org/uml2/1.0.0/UML">
</factory>
</extension>
API Information:
The Factory should return EObject that also implement com.ibm.xtools.mmi.core.ITarget
Supplied Implementation:
Refer to UML Visualization adapter plugin (com.ibm.xtools.umlviz.core)
Copyright (c) 2004, 2018 Model RealTime, HCL and others. All Rights Reserved.