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 Details

    • exportXMI

      @OpenApi public void exportXMI(Project project, String destinationDir) throws Exception
      Exports given project to Eclipse UML2 XMI
      Parameters:
      project - project to export
      destinationDir - 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 export
      destinationDir - destination directory
      progressStatus - export progress status
      Throws:
      Exception
    • exportModel

      @OpenApi public Map exportModel(Project project) throws 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:
      Exception
    • disposeModel

      @OpenApi public void disposeModel(Collection elements)
      Disposes given elements.
      Parameters:
      elements - collection of Eclipse UML2 element.
    • imp0rt

      @OpenApi public void imp0rt(String file)
      Imports (opens) given Eclipse UML2 XMI
      Parameters:
      file - Eclipse UML2 XMI file path