Hi list, It seems that there are few handy&free tool to generate UML class diagram from a set of ActionScript source files. Why not we create one?
I am not sure whether someone else have been doing this, today I developed a simple Eclipse plug-in to parse ActionScript2 source code and generate a UML2 model. UML2 (http://www.eclipse.org/uml2) is EMF-based implementation of the UML™ 2.x metamodel for the Eclipse platform. Its data structure and API are ideal for uml modeling tool. Actually there are a couple of free/commercial plug-ins that support eclipse uml2 and allow users to view or modify the diagram. Temporarily, I am leveraging a sample plug-in from Eclipse GMF(Graphic Modeling Framework) project: org.eclipse.uml2.diagram.clazz. It can be extracted from eclipse CVS last week, however unfortunatelly, it is being refactored to other package/component, so someone removed it from the repository. Hopefully, it will be available in two weeks. My toy plug-in is still in very early phase (only classname,generalizations, and importing are parsed). But I don't think it is difficult to add capability of parsing method, properties, or more associations. In the future version, I am even about to create a customized ActionScript UML editor using GMF. GMF is based on GEF and EMF, which helps you to create a graphic editor without building from stretch. Anyone has interests on this? What do you think of the approach (as-->uml2-->gmf)? Look forwards to your comment. Thanks. _______________________________________________ osflash mailing list [email protected] http://osflash.org/mailman/listinfo/osflash_osflash.org
