e4 1.0 M5 - New and Noteworthy

Here are some of the more noteworthy things available in milestone build M5 (April 11, 2010) which is now available for download. See the build notes for details about bugs fixed and other changes.


Platform


Eclipse 4.0 SDK This milestone introduces the first ever builds of the Eclipse SDK on top of e4 technology. A compatibility layer provides full API compatibility with previous Eclipse releases, allowing the entire Eclipse 3.6 SDK to run on top of e4 without any code changes. Significant achievements in the compatibility layer in this milestone include:
  • Keybinding support
  • Toolbars
  • Major performance improvements
  • Refinement of workbench window layout and presentation


XWT Visual Designer


Part creation

In this milestone, the palette tool "Part" is completed. This tool creates an empty Part implementation. A dialog is presented during part creation: It is possible to create a Java based Part or a XWT based Part.

If the Data Context type is provided, the UI form is generated through the Bean structure.


XWT input part

An Input Part is a part that reads its root data from a data source such as a file. A "Contributed Input Part" palette tool has been added to create a Part that reads data from an EMF file.

After having provided the EMF data file in the creation option dialog, we can select the root object such as Customer. For a collection property, it is possible to check the option "Master/Detail" to generate the necessary code to update "Selection" property of the Eclipse selection service when an item gets selected.

The UI form for the Part is generated in XWT through the data structure and user selection.


XWT Selection Part

A "Selection Part" is a part that displays the selected element in the Eclipse selection service. During the "Selection Part" creation using the "Contributed Selection Part" tool in the palette, an option dialog is presented that requires a data type. The data type can be a type defined in an EMF data file, or directly in a Java class. The tool also allows you to select the properties to display.

With "Input Part" palette tool, we can create an e4 application in Master/Detail presentation pattern without one line hand code.


Tooling


Advanced workbench model editor A new form-based editor has been introduced that provides support for editing the workbench model in a more natural way than the default reflective editor that comes with EMF. This first version supports:
  • Editing the model at design time
  • Editing a live model in a running e4 application instance
  • Integration with JDT to define contributions using auto-completion

e4 model editor


The above features are just the ones that are new since the previous milestone build. Summaries for earlier 1.0 milestone builds: