Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Create a simple diagram synthesis implementation like those of the 'examples' project, you don't need not to use Xtend, pure Java is also fine. Register your transformation via the 'modelTransformation' extension point, see the plugin.xml of the 'examples' project on how to to do that.

Now you only need to call DiagramViewManager.getInstance().createView(<someViewId>, <someViewTitle>, yourModel);, e.g. , via a menu entry, and your diagram will show up.

Use Cases

  • Graphical representations of given models with at chosen level of detail on demand (querying);
    Example: Visualization of data structures:
  • Continuous maintenance of a graphical representation while a model is elaborated
  • Advanced navigation

...