First, you need to install the Ecore Tools package, which you can find on the Ganymede Update Site (assuming you're using Eclipse 3.4) under "Models and Model Development". After you do that, you can select File | New | Other in Eclipse, and there will be an "Ecore Tools" folder available. Underneath that, choose "Ecore Diagram". A wizard appears, and you can select your .ecore file as the domain model.
This will add a file to your project which has the extension ".ecorediag", and when you open it up, you'll get a Rose-like boxes-lines-and-properties editor which is far more user-friendly than the sample editor. Here is what my Properties Generator metamodel looks like in diagram form after some slight rearrangement:
No comments:
Post a Comment