[Pharo-project] forward engineering UML models into Smalltalk code
2011/8/9 <btc@openinworld.com>
** greetings all,
What tools exist to assist with the forward engineering of UML diagrams into Smalltalk code? I have been searching for some time but my results are swamped by tools that: - reverse engineer Smalltalk code into UML diagrams
For example to draw UML of the Url hierarchy you may download the Moose environment (http://www.moosetechnology.org/) and evaluate | view | view := MOViewRenderer new. view shape: UMLClassDiagram new umlShape. view interaction popupText. view nodes: Url withAllSubclasses asArray. view shape: (MOArrowedOrthoVerticalLineShape new). view edgesFrom: #superclass. view layout: MOTreeLayout new. view open there are more examples in the Moose Easel window.
- implement new techniques moving beyond UML and MOF
I am implementing the [electric power system] Common Information Model of IEC 61970 in Smalltalk. This is defined as a UML Class Diagram (part of which I have attached) maintained using Enterprise Architect, which can export into XMI format. I hoped there might be a way to load the XMI directly into Smalltalk classes. Manually implementing the inheritance structure is straight forward, and I've developed a template for the aggregate relationships but an automated function would help to assure correctness, consistency and to track changes in the model.
-- Hernán Morales Information Technology Manager, Institute of Veterinary Genetics. National Scientific and Technical Research Council (CONICET). La Plata (1900), Buenos Aires, Argentina. Telephone: +54 (0221) 421-1799. Internal: 422 Fax: 425-7980 or 421-1799.
participants (2)
-
btc@openInWorld.com -
Hernán Morales Durand