Class MofUml2ElementsCreatorManager
- java.lang.Object
-
- com.nomagic.magicdraw.emfuml2xmi.v2.imp0rt.convert.element.MofUml2ElementsCreatorManager
-
@OpenApi public final class MofUml2ElementsCreatorManager extends java.lang.Object
Registers MofElementCreators for Eclipse UML2 model metaclasses
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.Map<org.eclipse.emf_2_2_3.ecore.EClass,MofElementCreator>
mCreators
private static MofUml2ElementsCreatorManager
mInstance
-
Constructor Summary
Constructors Modifier Constructor Description private
MofUml2ElementsCreatorManager()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addCreator(org.eclipse.emf_2_2_3.ecore.EClass eClass, MofElementCreator creator)
Registers new creator.private void
addStandard()
MofElementCreator
getCreator(org.eclipse.emf_2_2_3.ecore.EClass eClass)
Returns element creatorstatic MofUml2ElementsCreatorManager
getInstance()
void
removeConverter(org.eclipse.emf_2_2_3.ecore.EClass eClass)
Removes elements creator.
-
-
-
Field Detail
-
mInstance
private static MofUml2ElementsCreatorManager mInstance
-
mCreators
private final java.util.Map<org.eclipse.emf_2_2_3.ecore.EClass,MofElementCreator> mCreators
-
-
Method Detail
-
addStandard
private void addStandard()
-
getInstance
@OpenApi public static MofUml2ElementsCreatorManager getInstance()
- Returns:
- manager instance.
-
addCreator
@OpenApi public void addCreator(org.eclipse.emf_2_2_3.ecore.EClass eClass, MofElementCreator creator)
Registers new creator.- Parameters:
eClass
- Eclipse UML2 model metaclasscreator
- element creator
-
removeConverter
@OpenApi public void removeConverter(org.eclipse.emf_2_2_3.ecore.EClass eClass)
Removes elements creator.- Parameters:
eClass
- Eclipse UML2 model metaclass
-
getCreator
public MofElementCreator getCreator(org.eclipse.emf_2_2_3.ecore.EClass eClass)
Returns element creator- Parameters:
eClass
- Eclipse UML2 model metaclass- Returns:
- element creator
-
-