|
Hello Sam! You are working in one of the areas where
ArgoUML is not as developed as I would like and that is the handling of UML
Profiles. For this reason you will have to more or less write your UML Profile
as java code instead of some file that you are importing but you seem to
already have understood that. Answering the question that you are asking.
Since you are creating your own diagram, you are creating buttons to create
your new elements. What you need to do is to provide functions for those
buttons that create uml elements as you want them to be created. I have not
done this myself but I guess that a technique like the one used for
Pseudostates is possible to use. See org.argouml.uml.diagram.activity.ui.UMLActivityDiagram
starting with getUmlActions(). You will then create a normal UML element (class
or state), find the stereotype and attach the stereotype to the uml element
before returning it. Once that is working you have the
challenge of having a stereotyped normal UML element (class, state, transition,
…) appear using some new graphical figure. I think this is also a
challenge. You should be using the basic UML elements
(like classes, packages, and states) and stereotyping and tagging them. Please keep us posted on your progress in
this area. Handling UML Profiles, adding them or adding support for them is a
very interesting area for ArgoUML. /Linus From: Sam
[mailto:[EMAIL PROTECTED] Hi, |
- [argouml-dev] UML Profiles Sam
- RE: [argouml-dev] UML Profiles Tom Morris
- RE: [argouml-dev] UML Profiles Linus Tolke
