Jump to: navigation, search

Architectural Overview of Visual Editor

Revision as of 11:49, 18 October 2007 by Cathyscott.hispeed.ch (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Illustration 1: Architectural Overview of Eclipse Visual Editor
This paper provides only a brief overview of the architecture of Eclipse Visual Editor (VE) relating the architectural components to Eclipse VE functions. These components are described in more detail in Illustration 1

Eclipse VE is based around a model defined with the interface IVEModel but commonly known as the VE Model. This model is based on the EMF model jcm.ecore defined in org.eclipse.ve.java.core but several other EMF models are also used. Illustration 2 summarizes the VE Model and the EMF models that contribute to it.

Illustration 2: Visual Editor EMF Model - the 'VE' Model

The VE Model is at the heart of Eclipse VE. All of the architectural components access the model providing a view to the user of information in the model and updating the model as a result of user actions. The VE Model itself is not restricted to modeling only Java GUIs as the ecore models specify that the objects that can be added to it are EObjects – that is any object that is defined in an EMF model.

In practice, though, the objects added to the VE Model are IJavaObjectInstances and all of the Eclipse VE architectural components expect this to be the case. IJavaObjectInstances represent instances of a Java object and are modeled in the org.eclipse.jem/instance.ecore EMF model.