Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

Currently there are a number of source files needed to get a complete view of the AAI schema information:

Next step is to combine these source files into a single XML schema file, probably using an XSLT script – this step is still TBD

This single XML schema file can then be imported into Eclipse/Papyrus using the Ecore modeling framework.

Step-by-step to generate UML from XSD file

NOTE: These instructions assume that Eclipse has been started in Modeling perspective and that Papyrus is installed.

1) From the File menu, create a new general Eclipse project using the project wizard. Only required input is a project name.


2) From the File menu, choose Import... in order to import the .xsd into the project using the import wizard.

2a) Choose import from file system.


2b) Select the From directory first and then the .xsd file. Import into the project folder.


3) In the Model Explorer, open the project. Right-click on the .xsd and create a new EMF Generator Model (select "New" and "Other..." to enter the wizard).

3a)


3b) Select the project folder as the parent folder and choose the XML Schema model importer. "Model URI" should already be filled in with the .xsd file URI.


4) Select the model and export to UML

4a)


4b)


5) Select UML model and create new Papyrus model


6) Create a new class diagram and drag-and-drop the wanted elements onto it. Done!


  • No labels