Package com.nomagic.magicdraw.emfuml2xmi
Class BaseEmfUml2XmiPlugin
- java.lang.Object
-
- com.nomagic.magicdraw.plugins.Plugin
-
- com.nomagic.magicdraw.emfuml2xmi.BaseEmfUml2XmiPlugin
-
- Direct Known Subclasses:
EmfUml2XmiPlugin
,EmfUml2XmiPlugin
,EmfUml2XmiPlugin
,EmfUml2XmiPlugin
@OpenApi public abstract class BaseEmfUml2XmiPlugin extends Plugin
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
disposeModel(java.util.Collection elements)
Disposes given elements.java.util.Map
exportModel(Project project)
Exports given project to Eclipse UML2 Modelvoid
exportXMI(Project project, java.lang.String destinationDir)
Exports given project to Eclipse UML2 XMIvoid
exportXMI(Project project, java.lang.String destinationDir, ProgressStatus progressStatus)
Exports given project to Eclipse UML2 XMIvoid
imp0rt(java.lang.String file)
Imports (opens) given Eclipse UML2 XMI-
Methods inherited from class com.nomagic.magicdraw.plugins.Plugin
getDescriptor
-
-
-
-
Method Detail
-
exportXMI
@OpenApi public void exportXMI(Project project, java.lang.String destinationDir) throws java.lang.Exception
Exports given project to Eclipse UML2 XMI- Parameters:
project
- project to exportdestinationDir
- destination directory- Throws:
java.lang.Exception
-
exportXMI
@OpenApi public void exportXMI(Project project, java.lang.String destinationDir, ProgressStatus progressStatus) throws java.lang.Exception
Exports given project to Eclipse UML2 XMI- Parameters:
project
- project to exportdestinationDir
- destination directoryprogressStatus
- export progress status- Throws:
java.lang.Exception
-
exportModel
@OpenApi public java.util.Map exportModel(Project project) throws java.lang.Exception
Exports given project to Eclipse UML2 Model- Parameters:
project
- project to export- Returns:
- map of exported model (MagicDraw model (or profile) -> Eclipse UML2 model (or profile))
- Throws:
java.lang.Exception
-
disposeModel
@OpenApi public void disposeModel(java.util.Collection elements)
Disposes given elements.- Parameters:
elements
- collection of Eclipse UML2 element.
-
imp0rt
@OpenApi public void imp0rt(java.lang.String file)
Imports (opens) given Eclipse UML2 XMI- Parameters:
file
- Eclipse UML2 XMI file path
-
-