|Re: Searching UML2 Plug-In to extend [message #628042 is a reply to message #628032]
||Wed, 11 November 2009 08:20
| Thomas Neustupny
Registered: October 2009
for your extension, I suggest that you first decide how deep/shallow it should be: is it enough to use custom stereotypes (they can have arbitrary many properties for aditional parameters) for your model elements, or do you need an extended notation based on the UML metamodel, or do you really need to change the UML metamodel?
Life is easy if you can live with the stereotype approach. Then, you create a profile, apply it to your model, apply stereotypes to model elements, add properties ("tagged values") to the stereotyped model elements if needed, and implement your code generator to consider the stereotypes during code generation.
Changing the notation (creating a custom diagram type) would be possible too. I just can tell how this is done in ArgoUML, because I'm a user/developer in this open source UML editor. I can't help you with other graphical UML editors like UML2Tools or Papyrus. Also I have no clue what to do when you think you need to change the metamodel.
Powered by FUDForum
. Page generated in 0.23099 seconds