Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "Architectural Overview of Visual Editor"

 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
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
+
[[Image:Illustration1.jpg|thumb|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  
 
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.  
 
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.  
 +
[[Image:Illustration2.jpg|thumb|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
 
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 modelling 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.
+
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 modelled in the org.eclipse.jem/instance.ecore 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.

Latest revision as of 12:49, 18 October 2007

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.

Back to the top