Hi Andreas, et al.,

> Remove 'create activity diagram' from main menu?
Definitively not!

This is an old discussion. Please read the history about ArgoUML's
behaviour in issue 2225:
http://argouml.tigris.org/issues/show_bug.cgi?id=2225

The rationale for this issue were the many many questions from the user:
How to create a statechart diagram? Since at that time you had to select
a class, otherwise the statechart diagram creation tool/menu was
downlighted.

In the light of usability, the best solution is to allow the user to
create the diagram at any time (i.e. no downlighting ever), and creating
the missing model elements as needed.
In the issue mentioned above, I spoke about creating a class as context
in the currently selected namespace; you can still do that and create an
operation in the class to hook the activity to.
Part of this solution is that it shall be easy for the user to move the
activity to another operation!

Beware: Only create the class & operation IF needed to produce a valid
XMI - NOT for well-formedness.

Regards,
Michiel




Andreas Rueckert wrote:
> 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
>
>

------------------------------------------------------
http://argouml.tigris.org/ds/viewMessage.do?dsForumId=450&dsMessageId=2357075

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]]

Reply via email to