Hi! Just investigate how to set method bodies in euml and maybe someone with more knowledges has other/better ideas.
My conclusions so far: - In uml2, method bodies can be detailed in the model. They can be activities, state machines etc (detailed in another diagram). - Argo cannot handle all this so far. - There is a OpaqueBahavior, which gives us sort of a compatibility with the old uml 1.4 standard: http://download.eclipse.org/modeling/mdt/uml2/javadoc/2.2.2/org/eclipse/uml2/uml/OpaqueBehavior.html - We could use this class to store the method bodies as strings in the model (would be the easiest way to make the reverse engineering and codegenerator functional again). CoreHelperEUMLImpl.java has the method setBody. We could check, if the handle is an Operation, then use getMethods() to get the list of Behaviors. Then add a new OpaqueBehavior, where we add 'Java' to the list of languages and the imported method body to the list of bodies. What do you think? Completely wrong? Is there a better way? Ciao, Andreas -- GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT! Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01 ------------------------------------------------------ http://argouml.tigris.org/ds/viewMessage.do?dsForumId=450&dsMessageId=2585106 To unsubscribe from this discussion, e-mail: [[email protected]]. To be allowed to post to the list contact the mailing list moderator, email: [[email protected]]
