To only have on a context menu I think is rather hidden from the user. We could have it disabled until the user has selected the relevant model element and then assign that element when the diagram is created.
I'm not sure I like that though, to a non-expert user it might not be clear what needs to be done in order to make the menu item available. So I would suggest having it always enabled and simply present the user with a dialog if selected at an invalid time telling them to first select a valid model element. Can anyone with access to any other UML2 tool tell us how this is solved in that tool? Regards Bob. 2009/5/29 Andreas Rueckert <[email protected]>: > Hi! > > In UML14 one could model an activity from scratch (in an empty model), since > it had a namespace and > Argo could assign it to a package. In UML2, an activity is more a different > view on an operation (actually > a Behavior belonging to a BehavioredClassifier), so it has no namespace > anymore, since the owning classifier > already belongs to some namespace. > Problem: in Argo one could create a activity diagram from the main menu > without any selected (or even > existing classifier). Such an activity diagram wouldn't be assigned to any > namespace (that's why it is > currently throwing an exception). > Remove the main menu item and only adding a activity menu item to the > operation context menu, or so? > Other proposals? > > Ciao, > Andreas > > -- > Nur bis 31.05.: GMX FreeDSL Komplettanschluss mit DSL 6.000 Flatrate und > Telefonanschluss nur 17,95 Euro/mtl.!* http://portal.gmx.net/de/go/dsl02 > > ------------------------------------------------------ > http://argouml.tigris.org/ds/viewMessage.do?dsForumId=450&dsMessageId=2356753 > > 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]] > ------------------------------------------------------ http://argouml.tigris.org/ds/viewMessage.do?dsForumId=450&dsMessageId=2356756 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]]
