Skip to main content
Jump to: navigation, search

Difference between revisions of "Ecore Tools/New and Noteworthy"

m (Link with the bugzilla)
 
(40 intermediate revisions by 5 users not shown)
Line 1: Line 1:
== 0.8 M4 ==
 
  
=== Ecore Tools Perspective ===
 
Ecore Tools Perspective could be used to activate useful views and arrange them in a default way. You can activate it through "Window > Open Perspective > Other..." and then select the corresponding perspective.
 
  
[[Image:EcoreTools_selectEcorePerspective.png]]
 
  
Here is an example of screenshot you can get using the Ecore Tools perspective :
+
= 3.1.0=
  
[[Image:EcoreTools_ecorePerspective.png]]
+
This release is focused on fixing user reports and streamlining some features related to the exploration of existing diagrams, most notably:
 +
* inherited relationships can now be displayed within an EClass shape
 +
* a new contextual explorer view ease the navigation in an existing Ecore model
  
For further details see: [https://bugs.eclipse.org/bugs/show_bug.cgi?id=212407 Bugzilla 212407]
 
  
=== Ecore project nature ===
+
= 3.0.0=
You can create a new '''Ecore project''' (this is simply a Project with an '''Ecore nature'''). This is not yet currently needed to create such projects for handling ecore model/diagrams, but this might be a basis for implementing further refactoring capabilities ... <font color="blue">TBC</font>
+
  
[[Image:EcoreTools_newEcoreProject.png]]
+
This version is a major version as the legacy diagram editor and corresponding APIs which have been deprecated in 2.0 are no longer provided.
 +
This release streamlined most of the features shipped with 2.0.0 notably :
 +
* '''Better integration with XCore models'''
 +
* Small improvements in the editing experience
 +
* Split of UI/non-ui aspects of EcoreTools easing reuse in slightly different contexts (command-line, server-side)
 +
* Peformance and scalability improvements.
 +
* Switch to AQL (Acceleo Query Langage) as the underlying query engine.
  
=== Ecore Tools new Creation wizard ===
+
= 2.0.0=
You have the possibility to create a new Ecore diagram from scratch or from an existing Ecore model. In both cases, you can start using the creation wizard that will help you to create and initialize your diagram contents. To start the wizard, select the project where you want to create your model, "Right Click > New > Other..." and then select the corresponding kind of diagram : "Ecore Tools > Ecore Diagram"
+
  
[[Image:EcoreTools_newEcoreDiagram.png]]
+
Everything is new, 2.0 is a complete re-implementation based on Sirius. The whole development cycle and the corresponding features has been described in
 +
the following article [http://cedric.brun.io/ecoretools-20-luna-revival/ EcoreTools 2.0 : the Luna Revival].
  
Once you have selected the corresponding wizard, click on the "Next" button to open the wizard :
+
Check also the [http://www.eclipse.org/ecoretools/doc/ EcoreTools documentation] to get an idea of what are the new features.
  
[[Image:EcoreTools_NewEcoreDiagramWizard.png]] [[Image:EcoreTools_EcoreDiagramFromModelWizard.png]]
+
The short version :
 +
* '''Focused diagrams''' : possibility to DND a model element into the diagram area to show its graphical representation
 +
* '''Doc Annotations''' support : ability to graphically create and edit doc annotation of an Ecore model
 +
* '''Related Elements''' import : ability to import elements in a diagram based on their relationships with others
 +
* '''Doc Table''' support : ability to edit doc annotations using a table.
 +
* '''Smart direct Edit''' : type "name:String", or "[1]", or ":Integer" and the modeler will figure what you meant.
 +
* '''EOpposite''' support : EOpposite References are displayed in the diagram as multi-role edges.
 +
* '''Validation''' layer : The diagram editor can be configured so that any validation Error will be highlighted in the shape.
 +
* '''Multi-Ecore''' : a diagram can represent elements from distinct Ecore files.
 +
* '''Dependencie''' View : a diagram editor to inspect inter-EPackage dependencies.
 +
* '''Generics''' : the ability to design Ecore Generics using the diagram editor
 +
* Tabbed '''Properties View''' : provide advanced capabilities to edit the ecore model
  
All the informations are grouped into that single wizard page. You have the possibility between
 
* '''creating a new Ecore diagram from scratch''' : in this case, select the "Create a new Model" option. You have then to select the output directory and specify the name for the domain model. The diagram model will be named using the same name, but using *.ecorediag as the file extension.
 
* '''create a new Ecore diagram from an existing domain file''' : in this case, select the "Create from an existing model" option. You have then to select the domain model (Note that if you have initially selected the domain model before opening the creation wizard, it is correctly initialized), and then select the EPackage (the root EPackage generally) to be associated with your diagram. Finally you can choose to initialize or not the diagram : it aims at populated or not initial contents into your diagram depending on the existing domain model structure.
 
  
=== Properties View ===
+
The following plugins are considered legacy and will not be provided anymore after this release :
The Properties View have been improved to propose a "Model" category used to simplify the way of editing properties. You can also modify several features at the same time.
+
* org.eclipse.emf.ecoretools.registration
 +
* org.eclipse.emf.ecoretools.filters
 +
* org.eclipse.emf.ecoretools.diagram
 +
* org.eclipse.emf.ecoretools.diagram.ui.outline
 +
* org.eclipse.emf.ecoretools.codegen
  
[[Image:EcoreTools_propertiesView.png]]
 
  
=== EClass Hierarchy View ===
 
The view is activated by default using the Ecore Tools perspective, but you can activate it using the magic "Ctrl+3" shortcut and then starting to type "EClass" :
 
  
[[Image:EcoreTools_searchHierarchyView.png]]
+
[[EcoreTools/1.x New and Noteworthy | Pre 2.0 new and noteworthy can be found on the dedicated page]]
 
+
The EClass Hierarchy View helps to better understand your ecore model hierarchy from the ''ESuperType'' features :
+
 
+
[[Image:EcoreTools_hierarchyView.png]]
+
 
+
=== EClass References View ===
+
This view is useful to show all the ''EReference'' elements that are referencing the ''EClass'' currently selected. You can synchronized [[Image:EcoreTools_SynchronizedIcon.gif]] that view with the current selection or refresh it explicitly [[Image:EcoreTools_refreshIcon.gif]]. Those references are categorized depending on their parent ''EClass''. This view is also available from the Ecore Tree structure editor or from any other editor which can provide a selection from an ''EClass'' :
+
 
+
[[Image:EcoreTools_referencesView.png]]
+
 
+
=== Outline View ===
+
 
+
The Outline View is composed of two parts :
+
* an '''Overview''' : birdview of the diagram canvas
+
* a '''Navigator''' : model-oriented tree view of the model which is currently edited.
+
 
+
You can choose to display both parts or just one using toogle buttons [[Image:EcoreTools_TreeIcon.gif]] [[Image:EcoreTools_OverviewIcon.gif]] [[Image:EcoreTools_AllIcon.gif]] :
+
 
+
[[Image:ecoretools_outline1.PNG]] [[Image:ecoretools_outline3.PNG]] [[Image:ecoretools_outline2.PNG]]
+
 
+
The Outline can be synchronized with the selection of the diagram canvas [[Image:EcoreTools_SynchronizedIcon.gif]] :
+
 
+
[[Image:ecoretools_outline4.PNG]]
+
 
+
=== DND capabilities from outline ===
+
 
+
Drag and drop from the outline view is enabled with restoration of connections for elements not yet displayed in the current diagram canvas.
+
 
+
[[Image:ecoretools_dnd.jpg]]
+
 
+
=== Label customizations ===
+
An additional label is displayed inside the EPackage, EClass, EDataType, EEnum or EAnnotation figure when the corresponding semantic element is represented in another diagram canvas, ie when the graphical occurence is considered as an external element : the label '''(from ''package_name'')''' appears under the element name.
+
 
+
[[Image:ecoretools_label.PNG]]
+

Latest revision as of 04:57, 24 May 2016


3.1.0

This release is focused on fixing user reports and streamlining some features related to the exploration of existing diagrams, most notably:

  • inherited relationships can now be displayed within an EClass shape
  • a new contextual explorer view ease the navigation in an existing Ecore model


3.0.0

This version is a major version as the legacy diagram editor and corresponding APIs which have been deprecated in 2.0 are no longer provided. This release streamlined most of the features shipped with 2.0.0 notably :

  • Better integration with XCore models
  • Small improvements in the editing experience
  • Split of UI/non-ui aspects of EcoreTools easing reuse in slightly different contexts (command-line, server-side)
  • Peformance and scalability improvements.
  • Switch to AQL (Acceleo Query Langage) as the underlying query engine.

2.0.0

Everything is new, 2.0 is a complete re-implementation based on Sirius. The whole development cycle and the corresponding features has been described in the following article EcoreTools 2.0 : the Luna Revival.

Check also the EcoreTools documentation to get an idea of what are the new features.

The short version :

  • Focused diagrams : possibility to DND a model element into the diagram area to show its graphical representation
  • Doc Annotations support : ability to graphically create and edit doc annotation of an Ecore model
  • Related Elements import : ability to import elements in a diagram based on their relationships with others
  • Doc Table support : ability to edit doc annotations using a table.
  • Smart direct Edit : type "name:String", or "[1]", or ":Integer" and the modeler will figure what you meant.
  • EOpposite support : EOpposite References are displayed in the diagram as multi-role edges.
  • Validation layer : The diagram editor can be configured so that any validation Error will be highlighted in the shape.
  • Multi-Ecore : a diagram can represent elements from distinct Ecore files.
  • Dependencie View : a diagram editor to inspect inter-EPackage dependencies.
  • Generics : the ability to design Ecore Generics using the diagram editor
  • Tabbed Properties View : provide advanced capabilities to edit the ecore model


The following plugins are considered legacy and will not be provided anymore after this release :

  • org.eclipse.emf.ecoretools.registration
  • org.eclipse.emf.ecoretools.filters
  • org.eclipse.emf.ecoretools.diagram
  • org.eclipse.emf.ecoretools.diagram.ui.outline
  • org.eclipse.emf.ecoretools.codegen


Pre 2.0 new and noteworthy can be found on the dedicated page

Back to the top