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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
disposeModel
(Collection elements) Disposes given elements.exportModel
(Project project) Exports given project to Eclipse UML2 Modelvoid
Exports given project to Eclipse UML2 XMIvoid
exportXMI
(Project project, String destinationDir, ProgressStatus progressStatus) Exports given project to Eclipse UML2 XMIvoid
Imports (opens) given Eclipse UML2 XMIMethods inherited from class com.nomagic.magicdraw.plugins.Plugin
getDescriptor
-
Method Details
-
exportXMI
Exports given project to Eclipse UML2 XMI- Parameters:
project
- project to exportdestinationDir
- destination directory- Throws:
Exception
-
exportXMI
@OpenApi public void exportXMI(Project project, String destinationDir, ProgressStatus progressStatus) throws Exception Exports given project to Eclipse UML2 XMI- Parameters:
project
- project to exportdestinationDir
- destination directoryprogressStatus
- export progress status- Throws:
Exception
-
exportModel
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:
Exception
-
disposeModel
Disposes given elements.- Parameters:
elements
- collection of Eclipse UML2 element.
-
imp0rt
Imports (opens) given Eclipse UML2 XMI- Parameters:
file
- Eclipse UML2 XMI file path
-