Kevin Brightwell edited this page Aug 26, 2015 · 1 revision

How to Generate Papyrus Diagrams Using Umple

Start by setting up your work envrionment like normal.

Once your Umple files are created as desired. use the Umple program to generate Papyrus data using the following command (entered from command line)

java -jar umple.jar -g Papyrus FILENAME.ump

where FILENAME is the name of the file.

This will create a folder in the same directory called 'FILENAME'. This folder will contain four files;

  • .project (used by Eclipse to identify the folder as an existing project)
  • model.di (used by Papyrus to identify the diagrams described)
  • model.notation (used by Papyrus for the layout and style of the diagrams)
  • model.uml (used by Papyrus for the structures and relations of classes)

Now open Eclipse.

  1. Select File > Import > General > Existing Projects into Workspace
  2. Choose the directory created by Umple.
  3. Select 'Finish'
  4. In the project explorer there will now be a folder named FILENAME. It will contain a 'model'. Double click on this model.
  5. An empty diagram will appear in the main canvas of the Eclipse window.
  6. If you are in the Papyrus perspective, there will be a Model Explorer on the right. If you are not in the Papyrus perspective, it is recommend you switch. (Go to View / Window > Open Perspective > Other > Papyrus)
  7. Expand the FILENAME model in the model explorer.
  8. Drag and drop the desired elements from the Model Explorer to the diagram canvas.
  9. Save the diagram.

You have not exported an Umple file into a Papyrus diagram.

Clone this wiki locally
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.