Happy !

volosmat / GMFP

Project infos

License MIT
Tags uml, gmf, pharo, ontouml
Creation date 2014-05-23
Website http://ccm.fit.cvut.cz/

Monticello registration

About GMFP

Graphical modeling framework in Pharo

Generate smalltalk source code from OntoUML diagram. With integrated import diagram from OntoUML Lightweight Editor (OLED). Work in Pharo 3.0.

As documentation you can read my bachelor thesis called Transformation OntoUML to Smalltalk. The thesis was written in Slovak language but all diagrams are in English.

Thesis to download

OLED repository

Install

Gofer it
       url: 'http://smalltalkhub.com/mc/volosmat/GMFP/main'; 
       package: 'GMF-MetaModel';
       package: 'GMF-DataManager';
       package: 'GMF-Window';
       package: 'GMF-UMLModel';
       package: 'GMF-Generator';
       load.

Gofer new         
        squeaksource: 'MetacelloRepository';
        package: 'ConfigurationOfXMLSupport';
        load.
ConfigurationOfXMLSupport load.

Open

For open the main window use link from world menu or run command:

GMF open

Usage

  1. Draw OntoUML diagram in OLED application
  2. Export diagram as Ecore instance, it's XML file
  3. Open GMFP and import this XML file
  4. Now you can generate smalltalk source code from valid OntoUML diagram. Enjoy it :)

Hint: Diagram validation in GMFP is simplier then validation in OLED so some non valid diagrams in OLED are valid in GMFP. OntoUML is very complex language and it's so hard to implement all rules.