Skip to main content

Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

M2T-JET-FAQ/How do I navigate an XMI model with JET?/Using the EMF Reflective Editor

< M2T-JET-FAQ‎ | How do I navigate an XMI model with JET?
Revision as of 11:17, 10 August 2009 by Pelder.ca.ibm.com (Talk | contribs) (New page: The EMF Reflective editor let's you create test documents from an Ecore model that you are developing. Here's how: == Creating an XMI document using the ECore Reflective Editor Create an ...)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

The EMF Reflective editor let's you create test documents from an Ecore model that you are developing. Here's how:

== Creating an XMI document using the ECore Reflective Editor Create an XMI file based on you ecore model as follows:

  1. Open your .ecore file in the ECore editor.
  2. Navigate to the class that will be the root element in your document.
  3. Right click that class, and click Create Dynamic Instance
  4. Enter a file name, and click OK.

Opening the .XMI file in the ECore Reflective Editor

On my system, the .xmi file opens in the XML editor. To open in the ECore editor, do the following:

  1. Open your .ecore file
  2. Right click and choose Load Resource
  3. Click Browse Workspace and find your .xmi file.
  4. Click OK

Back to the top