Difference between revisions of "EMF/SinglePageEditor"

From Eclipsepedia

< EMF
Jump to: navigation, search
(Classes)
(Classes)
Line 4: Line 4:
  
 
= Classes  =
 
= Classes  =
The code generate produces just the following 4 classes:
+
The code generator produces just the following 4 classes:
  
 
* LibraryEditor - The editor class itself.   
 
* LibraryEditor - The editor class itself.   

Revision as of 05:47, 25 December 2010

This page gives you an overview of an unmodified EMF (single page) editor (inc. a wizard) generated with EMF 2.6

The example is created based on the Generating an EMF Model example. You can find the source code and in this context the "library.editor" plugin / project e.g. here.

Classes

The code generator produces just the following 4 classes:

  • LibraryEditor - The editor class itself.
  • LibraryActionBarContributor - The ActionBarContributor of the editor.
  • LibraryModelWizard - The wizard implementation ( find in File | New | Other... )
  • LibraryEditorPlugin - The plugin class. A subclass of EMFPlugin.