[argouml-dev] State diagram working in UML2 mode

Bob Tarling <[email protected]>
Newsgroups gmane.comp.db.axion.devel
Message-ID <[email protected]>
I had previously thought that both the UML2 activity and state
diagrams had changed so much that we need a complete reimplementation.

I took a look this moring at trying to move my new state diagram
forward and realised things for that diagram are actually fairly
similar to UML1.4. We do not have to have a complete new diagram for
state diagrams.

I have the original state diagram code in core ArgoUML now working
against UML2. Please give it a try.

There are some thing I had to do by checking UML version within the
diagram code. Mainly this is for the following.

1. No internal transitions in UML2.

I couldn't find anything for internal transitions in UML2. So I have
StateBodyNotation skipping any code related to this. See commit rev
19369

2. No top state

In UML1.4 a Statemachine has a top State. In UML2 this does not seem to exist.

I'm not sure if this is information I can infer from somewhere else
but for the moment I have worked around any calls to setTop/getTop.
These are all in the package org.argouml.uml.diagram.state see commit
rev 19370

I'd appreciate a review by anyone more familiar with this diagram type.

This leaps us ahead a lot quicker with another UML2 diagram (which I
think will also fulfil our AndroMDA requirements is completed)

Regards

Bob

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

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]]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.