Generating an EMF Model using XML Schema

Top    Previous: Generating the EMF Model Code     Next: Running the Editor

Step 3: Generating an Editor for the Model

A fully-functional Eclipse editor can also be generated for any model. By default, it is split between two plugins: (1) an "edit" plugin, which includes adapters that provide a structured view and perform command-based editing of the model objects, and (2) an "editor" plugin, which provides the UI for the editor and a wizard.

In general, if you wish to generate the model, edit, and editor plugins in a single step, you can do so by selecting "Generate All" from the pop-up menu.

The code should be compiled automatically as it is generated, and should recompile whenever it is changed. If you have disabled automatic building in the workbench preferences, you can initiate compilation manually:


Top    Previous: Generating the EMF Model Code     Next: Running the Editor