Visual OCL

TU-Berlin | Faculty IV | Institute ISTI | Research group TFS

Model Driven Architecture - model handling with EMF

small logo


The model of the VOCL editor is an EMF-Project. The code was completely generated with the EMF-Plugin from a class diagram (model). This model has been developed by the MOF-concept.

The model developed in the project leans to the diploma thesis of Jessica Winkelmann. It describes the structure of VOCL expressions. Thus we started with the model of VOCL from the work of Jessica.

Her model describes the abstract syntax of VOCL. So we extended this model with concrete Syntax (layout-attributes like x and y as well as width and height). These changes are shown in the following figure:

In addition we extended this model at editor functionality. We inserted a new component (VOCLSash). It places the position of the separation in the BoolExpression, LetExpression as well as IfExpression between its parts. These Expressions have also an attribute proportion, which describes the relationship between both parts. For example: In the IfExpression there are If-, Then- and Else- parts. VOCLSash has an attribute vertikal that determines its direction.

 

You find the complete class diagram in the Source of the VOCLModel4-Project. This diagram was developed with the OMONDO-Plugin (www.omondo.com).

Since the code was generated automatically we will not describe the implementation of the project (see EMF). This generated code places not only implementation of the class diagram but also the Exchange format (XMI) of the model.

©2005 TFS