Class BaseEmfUml2XmiPlugin

    • 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 Model
      void exportXMI​(Project project, java.lang.String destinationDir)
      Exports given project to Eclipse UML2 XMI
      void exportXMI​(Project project, java.lang.String destinationDir, ProgressStatus progressStatus)
      Exports given project to Eclipse UML2 XMI
      void imp0rt​(java.lang.String file)
      Imports (opens) given Eclipse UML2 XMI
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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 export
        destinationDir - 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 export
        destinationDir - destination directory
        progressStatus - 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