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.
The org.eclipse.e4.tm.ui plugin
This plugin provides views and editors that the developer will use to build models, script them, and view and try out the UIs resulting from the building process. The views and editors are fairly simple extensions of existing EMF tools, and combined with the existing tools for creating sample model data, complete functional applications may be build and run. The views and the editor will be presented, below.
Toolkit Model view
The Toolkit Model view listens to the currently active editor and shows a preview of the corresponding UI (if there is one). Since this UI is bound to the actual model instance in the editor, through the editing domain (provider), it will continuously update to reflect the editor's content.
Toolkit Model Palette view
The Toolkit Model Palette view lets the user load one or more Toolkit Models and drag and drop model fragments into the Toolkit Model editor. By preparing examples models and loading them into this view, new models may be quickly assembled from existing fragments.
The view is split into two parts (see below), one showing the Ecore (resource) tree and the other the concrete (rendered) UI. EObjects can be dragged from both parts into the Toolkit Model editor.
Toolkit Model Script Source view
Toolkit Model Editor
The Toolkit Model Editor is built on the reflective Ecore editor and supports editing of both Toolkit Model resources and resources containing sample data. The editor shows the standard model tree in the left part of a split pane, and the corresponding UI in the right part.