Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » UML2 Tools » Show entry/exit actions in state machine diagrams
Show entry/exit actions in state machine diagrams [message #474434] Tue, 10 June 2008 08:10 Go to next message
Eclipse UserFriend
Originally posted by: peter.fouquet.logica.com

Hello,
how can I show an entry action for my state in the state machine diagram.
I can see the action only in the property view.
Kind regards
Peter
Re: Show entry/exit actions in state machine diagrams [message #474435 is a reply to message #474434] Tue, 10 June 2008 09:34 Go to previous messageGo to next message
Tatiana Fesenko is currently offline Tatiana FesenkoFriend
Messages: 530
Registered: July 2009
Senior Member
Hi Peter,

Entry/Exit behaviors _are_ displayed in State Machine diagram editor. For
example, '15.32.State with compartments' diagram contains 'Typing Password'
which has both entry and exit behaviors. This diagram is located in 'org.eclipse.uml2.diagram.examples.clazz'
plugin in 'diagram/06-04-02/State Machines' folder. Peter, are entry/exit
actions from this sample displayed correctly in your workspace?
However, it's not possible now to create entry/exit action directly in the
diagram editor, they should be created in uml editor.

Best wishes,
Tatiana.

> Hello,
> how can I show an entry action for my state in the state machine
> diagram.
> I can see the action only in the property view.
> Kind regards
> Peter
Re: Show entry/exit actions in state machine diagrams [message #475953 is a reply to message #474435] Wed, 26 November 2008 19:23 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: regent.larcheveque.asc-csa.gc.ca

I have the same problem of Peter. I am using 0.9.0M3b to be sure to use
the latest & greatest features of UML2 Tools. Actually it is possible
to create and see entry/exit points in the State Diagram Editor. But
when you create a sub-machine state that refers to a state machine that
contains entry/exit points, the Diagram does not display the
sub-machine state entry/exit points. On the other side, the UML model
contains the proper information.

What do I do wrong? What should I do to be able to display sub-machine
state entry-exit points and make connection to those points from the
container state machine?

Thanks in advance.

Regent ;-)

Tatiana Fesenko wrote:
> Hi Peter,
>
> Entry/Exit behaviors _are_ displayed in State Machine diagram editor.
> For example, '15.32.State with compartments' diagram contains 'Typing
> Password' which has both entry and exit behaviors. This diagram is
> located in 'org.eclipse.uml2.diagram.examples.clazz' plugin in
> 'diagram/06-04-02/State Machines' folder. Peter, are entry/exit actions
> from this sample displayed correctly in your workspace? However, it's
> not possible now to create entry/exit action directly in the diagram
> editor, they should be created in uml editor.
>
> Best wishes,
> Tatiana.
>
>> Hello,
>> how can I show an entry action for my state in the state machine
>> diagram.
>> I can see the action only in the property view.
>> Kind regards
>> Peter
>
>
Re: Show entry/exit actions in state machine diagrams [message #475961 is a reply to message #475953] Thu, 04 December 2008 14:23 Go to previous messageGo to next message
Sergey Gribovsky is currently offline Sergey GribovskyFriend
Messages: 42
Registered: July 2009
Member
Hi Regent,

Original message from Peter was about entry/exit actions (not points).

If you want to display entry/exit point of StateMachine on submachine state,
you should use ConnectionPointReference (UML 2.1.2, Chapter 15.3.1).
ConnectionPointReference is implemented in frame of UML2Tools. You can
create it using "entry/exit point" button and apply it to submachine state,
then select corresponding entry/exit point in statemachine reference and
ConnectionPointReference will be created.

Best regards,
Sergey.


"Regent L'Archeveque" <regent.larcheveque@asc-csa.gc.ca> wrote in message
news:ggk7n4$9sn$1@build.eclipse.org...
>I have the same problem of Peter. I am using 0.9.0M3b to be sure to use
>the latest & greatest features of UML2 Tools. Actually it is possible to
>create and see entry/exit points in the State Diagram Editor. But when you
>create a sub-machine state that refers to a state machine that contains
>entry/exit points, the Diagram does not display the sub-machine state
>entry/exit points. On the other side, the UML model contains the proper
>information.
>
> What do I do wrong? What should I do to be able to display sub-machine
> state entry-exit points and make connection to those points from the
> container state machine?
>
> Thanks in advance.
>
> Regent ;-)
Re: Show entry/exit actions in state machine diagrams [message #475966 is a reply to message #475961] Fri, 05 December 2008 18:09 Go to previous message
Eclipse UserFriend
Originally posted by: regent.larcheveque.asc-csa.gc.ca

Ooopps. You are right. Thanks for the answer. It works now.

Regent ;-)

Sergey Gribovsky wrote:
> Hi Regent,
>
> Original message from Peter was about entry/exit actions (not points).
>
> If you want to display entry/exit point of StateMachine on submachine state,
> you should use ConnectionPointReference (UML 2.1.2, Chapter 15.3.1).
> ConnectionPointReference is implemented in frame of UML2Tools. You can
> create it using "entry/exit point" button and apply it to submachine state,
> then select corresponding entry/exit point in statemachine reference and
> ConnectionPointReference will be created.
>
> Best regards,
> Sergey.
>
>
> "Regent L'Archeveque" <regent.larcheveque@asc-csa.gc.ca> wrote in message
> news:ggk7n4$9sn$1@build.eclipse.org...
>> I have the same problem of Peter. I am using 0.9.0M3b to be sure to use
>> the latest & greatest features of UML2 Tools. Actually it is possible to
>> create and see entry/exit points in the State Diagram Editor. But when you
>> create a sub-machine state that refers to a state machine that contains
>> entry/exit points, the Diagram does not display the sub-machine state
>> entry/exit points. On the other side, the UML model contains the proper
>> information.
>>
>> What do I do wrong? What should I do to be able to display sub-machine
>> state entry-exit points and make connection to those points from the
>> container state machine?
>>
>> Thanks in advance.
>>
>> Regent ;-)
>
>
Re: Show entry/exit actions in state machine diagrams [message #619980 is a reply to message #474434] Tue, 10 June 2008 09:34 Go to previous message
Tatiana Fesenko is currently offline Tatiana FesenkoFriend
Messages: 530
Registered: July 2009
Senior Member
Hi Peter,

Entry/Exit behaviors _are_ displayed in State Machine diagram editor. For
example, '15.32.State with compartments' diagram contains 'Typing Password'
which has both entry and exit behaviors. This diagram is located in 'org.eclipse.uml2.diagram.examples.clazz'
plugin in 'diagram/06-04-02/State Machines' folder. Peter, are entry/exit
actions from this sample displayed correctly in your workspace?
However, it's not possible now to create entry/exit action directly in the
diagram editor, they should be created in uml editor.

Best wishes,
Tatiana.

> Hello,
> how can I show an entry action for my state in the state machine
> diagram.
> I can see the action only in the property view.
> Kind regards
> Peter
Re: Show entry/exit actions in state machine diagrams [message #623291 is a reply to message #474435] Wed, 26 November 2008 19:23 Go to previous message
Regent LArcheveque is currently offline Regent LArchevequeFriend
Messages: 94
Registered: May 2010
Member
I have the same problem of Peter. I am using 0.9.0M3b to be sure to use
the latest & greatest features of UML2 Tools. Actually it is possible
to create and see entry/exit points in the State Diagram Editor. But
when you create a sub-machine state that refers to a state machine that
contains entry/exit points, the Diagram does not display the
sub-machine state entry/exit points. On the other side, the UML model
contains the proper information.

What do I do wrong? What should I do to be able to display sub-machine
state entry-exit points and make connection to those points from the
container state machine?

Thanks in advance.

Regent ;-)

Tatiana Fesenko wrote:
> Hi Peter,
>
> Entry/Exit behaviors _are_ displayed in State Machine diagram editor.
> For example, '15.32.State with compartments' diagram contains 'Typing
> Password' which has both entry and exit behaviors. This diagram is
> located in 'org.eclipse.uml2.diagram.examples.clazz' plugin in
> 'diagram/06-04-02/State Machines' folder. Peter, are entry/exit actions
> from this sample displayed correctly in your workspace? However, it's
> not possible now to create entry/exit action directly in the diagram
> editor, they should be created in uml editor.
>
> Best wishes,
> Tatiana.
>
>> Hello,
>> how can I show an entry action for my state in the state machine
>> diagram.
>> I can see the action only in the property view.
>> Kind regards
>> Peter
>
>
Re: Show entry/exit actions in state machine diagrams [message #623357 is a reply to message #475953] Thu, 04 December 2008 14:23 Go to previous message
Sergey Gribovsky is currently offline Sergey GribovskyFriend
Messages: 42
Registered: July 2009
Member
Hi Regent,

Original message from Peter was about entry/exit actions (not points).

If you want to display entry/exit point of StateMachine on submachine state,
you should use ConnectionPointReference (UML 2.1.2, Chapter 15.3.1).
ConnectionPointReference is implemented in frame of UML2Tools. You can
create it using "entry/exit point" button and apply it to submachine state,
then select corresponding entry/exit point in statemachine reference and
ConnectionPointReference will be created.

Best regards,
Sergey.


"Regent L'Archeveque" <regent.larcheveque@asc-csa.gc.ca> wrote in message
news:ggk7n4$9sn$1@build.eclipse.org...
>I have the same problem of Peter. I am using 0.9.0M3b to be sure to use
>the latest & greatest features of UML2 Tools. Actually it is possible to
>create and see entry/exit points in the State Diagram Editor. But when you
>create a sub-machine state that refers to a state machine that contains
>entry/exit points, the Diagram does not display the sub-machine state
>entry/exit points. On the other side, the UML model contains the proper
>information.
>
> What do I do wrong? What should I do to be able to display sub-machine
> state entry-exit points and make connection to those points from the
> container state machine?
>
> Thanks in advance.
>
> Regent ;-)
Re: Show entry/exit actions in state machine diagrams [message #623362 is a reply to message #475961] Fri, 05 December 2008 18:09 Go to previous message
Regent LArcheveque is currently offline Regent LArchevequeFriend
Messages: 94
Registered: May 2010
Member
Ooopps. You are right. Thanks for the answer. It works now.

Regent ;-)

Sergey Gribovsky wrote:
> Hi Regent,
>
> Original message from Peter was about entry/exit actions (not points).
>
> If you want to display entry/exit point of StateMachine on submachine state,
> you should use ConnectionPointReference (UML 2.1.2, Chapter 15.3.1).
> ConnectionPointReference is implemented in frame of UML2Tools. You can
> create it using "entry/exit point" button and apply it to submachine state,
> then select corresponding entry/exit point in statemachine reference and
> ConnectionPointReference will be created.
>
> Best regards,
> Sergey.
>
>
> "Regent L'Archeveque" <regent.larcheveque@asc-csa.gc.ca> wrote in message
> news:ggk7n4$9sn$1@build.eclipse.org...
>> I have the same problem of Peter. I am using 0.9.0M3b to be sure to use
>> the latest & greatest features of UML2 Tools. Actually it is possible to
>> create and see entry/exit points in the State Diagram Editor. But when you
>> create a sub-machine state that refers to a state machine that contains
>> entry/exit points, the Diagram does not display the sub-machine state
>> entry/exit points. On the other side, the UML model contains the proper
>> information.
>>
>> What do I do wrong? What should I do to be able to display sub-machine
>> state entry-exit points and make connection to those points from the
>> container state machine?
>>
>> Thanks in advance.
>>
>> Regent ;-)
>
>
Previous Topic:[ClassD] Is it possible to show...
Next Topic:'Subactivity' in an activity within an activity diagram
Goto Forum:
  


Current Time: Tue Apr 16 06:41:46 GMT 2024

Powered by FUDForum. Page generated in 0.80277 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top