A single XML schema file can then be imported into Eclipse/Papyrus using the Ecore modeling framework – steps for this are outlined below.
TODO: Issues with this process to be discussed & resolved
- Metadata in the .xsd file is lost
- Generated classes have"Type" added to the end of their names
Step-by-step
NOTE: These instructions assume that Eclipse has first been started in Modeling perspective and that Papyrus is installed.
...
- Sort the model elements alphabetically before drag-and-drop
- Drag-and-drop relationships rather than classes
- Use right-hand click on EReference properties in order to access "Navigate" menu and follow the reference to the referred class in the Model Browser