Hernán Morales Durand wrote:

2011/8/9 <[email protected]>
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

--
Hernán Morales
Thanks for your response Hernan.  Apologies for my late follow-up.  Since then I've been burnt out doing a 60-70hr work week on a project and haven't had the energy at home to do much.  That is definitely interesting and will be of use, but actually what I was looking for was way to move forward a UML model into code, rather than reverse engineering code into a UML model.

Reply via email to