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>


<!ELEMENT factory (compatibilityHandler)>

<!ATTLIST factory

package_uri CDATA #REQUIRED

class       CDATA #REQUIRED

NS_PREFIX   CDATA #REQUIRED>


<!ELEMENT compatibilityHandler EMPTY>

<!ATTLIST compatibilityHandler

class    CDATA #IMPLIED

prefixes CDATA #IMPLIED>


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.