What's New in 3.0

This document contains descriptions of some of the more interesting or significant changes made for the 3.0 release of MDWorkbench.


Platform

Eclipse Ganymede

MDWorkbench bundle is now packaged with latest Eclipse Ganymede version (Eclipse 3.4). It is worth nothing MDWorkbench stays compatible with Eclipse 3.2 and 3.3.


Models

Types Vs Containment

The model editor provides two pages to navigate model elements either by types or by containment.

Types Vs Containment

Filters

Filters are now available to restrict model elements and features displayed in a model editor section (using the section dropdown menu).

You may for example exclude derived references, which are numerous in UML 2.1 metamodel.

Filters

Label Decorations

You may change the decorations applied on model element labels using the Label Decorations... item in the section dropdown menu.

You may for example show or hide stereotypes applied on UML 2.1 model elements.


Working Sets

Working sets have been added to define a point of view on metamodel contents. A working set is used to group together some semantically related elements. It can also be used to hide a subset of elements that are considered as non relevant for some particular modeling activity.

Working Sets

Search

Model elements can be queried:

  • based on a textual query, in the Search dialog
  • based on the selected model element, using the contextual menu, to ask for declarations or references.
Search Result

Properties

Model elements can be displayed in the Properties view, which provides support for Label Decorations, Filters, and Working Sets.

Model elements may also be displayed in a Properties dialog (Alt+Enter).

Properties

Tables

Model elements can be displayed into tables. A user may define custom table templates.

Tables can be exported into CSV file format, to view instances in Microsoft Excel® for example

Tables

Diagrams

Model elements can be displayed in a Diagrams view.

The platform provides two default diagrams: Entity/Relations and Hierarchy diagrams. The user may customize the contents of these diagrams for a particular metamodel.

Diagrams

Editing

You can now create new models, or modify the contents of existing models. You can create new model elements, modify attribute values, add new references, and delete model elements. All editing actions can be undone (CTRL+Z) and redone (CTRL+Y).


HTML Export

Both models and metamodels may be exported into HTML pages using the Services view.

HTML Export

Metamodels

UML 2.1

Support has been added for IBM® Rational® Software Architect or IBM® Rational® Software Modeler. A new RSx model reader has been added.

Stereotypes applied on UML model elements are now displayed in the model editor and the Properties view.


Ecore

An Ecore metamodel has been added. This allows to use MDWorkbench to generate code based on Ecore models. This Ecore metamodel provides model readers for the following file formats:

  • Ecore files (*.ecore)
  • UML 1.3 files (*.xmi)
  • UML 2.1 files (*.uml and *.xmi)
  • KM3 files (*.km3)

Metamodel Importer

The Metamodel Importer now provides support of UML 2.1 files.


Rules

ATL

MDWorkbench is compatible with latest version of ATL.


Line breaks in doc templates

Line breaks (\n characters) in text inserted into a doc template using the print tag are now automatically converted to a multiline text in Word.


Word XML in Print tag

If the text inserted into a doc template using the print tag contains Word XML tags, those tags are directly written in the output file rather than being written as regular text. This could be used for example to dynamically modify the text color.


Debugger

Breakpoints and step by step

A debugger is now available in MDWorkbench. You can now:

  • Toggle line breakpoints
  • Suspend/resume executions
  • Evaluate step by step
Debugger

Variables

Variables can be inspected when the execution is suspended. Using this view, you can inspect:

  • local variables and parameters
  • transient links
  • the currently generated contents, in case of a text template
Debugger