EMF Model Viewers

The viewers allow to visualize the structure of any EMF model. This applies to the definition of a model (meta model) as well as to the interlinked elements of the model content.

Meta Model Explorer

The central element of the Meta Model Explorer is a list view that can be opened via Window > Show view. It provides the possibility to visualize the elements of an EMF meta model. The list of available meta models contains all registered EMF models of the current runtime environment. For convenience there is also a button to register (external) Ecore files.

All elements (classes, interfaces, enumerations) of the selected meta model are shown in a filtered list. The context menu offers different graphical visualizations that will be opened in separate viewer (see next section).

A double click on a list item shows an additional tree view with the hierarchy (sub classes and super classes) and all the attributes of the item. Multiple views can be opened in parallel.

Graphical Viewer

The Graphical Viewer shows SVG diagrams generated with PlantUML (https://plantuml.com). PlantUML is available as Eclipse plugin and will be installed automatically. The generation also requires GraphViz (http://www.graphviz.org/) that has to be installed manually.

The generated diagrams are SVG files that are rendered by the browser component of SWT. The elements are also HTML links and can be used to navigate to diagrams of the same type but with a different selected element.

Some example diagrams:

Class Hierarchy

Class References

Class Hierarchy + Content

Installation via P2 update site

https://download.eclipse.org/app4mc/components/tools/emf-viewers/snapshot/p2repo