Preliminaries

This tutorial introduces the xOWL Infrastructure for building multi-view domain-specific modeling tools. The xOWL Graphical Modeling Infrastructure (GMI) enables you to declaratively specify visual modeling notations that can be compiled and interpreted by the xOWL Graphical Modeling Environment in order for it to provide graphical interfaces for the edition of models.

Throughout this tutorial, we refine the same example. We will define three visual notations corresponding to different perspectives on the same problem, build the corresponding metamodel and create the visual modeling environments.
Before starting, download the xOWL GMI at Codeplex. It contains the following elements:

  • compiler/XOWLGMICompiler.exe: the view and transformation compiler for the XOWL Graphical Modeling Infrastructure.
  • syntaxes/FunctionalOWL.xml: a Notepad++ style for the functional syntax of xOWL and OWL2.
  • syntaxes/GMITransform.xml: a Notepad++ style for the high-level transformation language.
  • syntaxes/GMIView.xml: a Notepad++ style for the view definition language.
  • environment/XOWLGMIEnvironment.jar: the jar used to launch the XMI GMI Environment.
  • environment/config.ini: the configuration file for the environment.

To complete this tutorial, the following are prerequisites:

  • Java JRE 7
  • .Net Framework 2.0

Notepad++ is not required; you can use any text editor. However, the package contains syntax highlighting profiles for the different languages used in this tutorial. In order to import a profile in Notepad++, click menu View > User-Defined Dialog … Then click on Import and select the corresponding XML file. The profile should now appear in the Language menu (usually at the bottom).

Last edited May 10, 2012 at 3:23 PM by lwouters, version 10

Comments

No comments yet.