Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » UML2 Tools » State machine diagrams: Trigger and event
State machine diagrams: Trigger and event [message #482467] Wed, 26 August 2009 16:41 Go to next message
Eclipse User
Originally posted by: Michael.Zapf.uni-kassel.de

Hello all,

I'm still new to UML2tools, and I just managed to create a state machine
diagram. I found out that in order to add a trigger I have to edit the
uml file, since this feature is not offered in the diagram.

Now how can I connect an event with the trigger? The trigger instance
has a selection "Event" which does not offer any selections. Do I have
to create the event in another diagram like an activity diagram and
somehow import it?

Thanks,

Michael
Re: State machine diagrams: Trigger and event [message #483014 is a reply to message #482467] Sat, 29 August 2009 10:31 Go to previous message
Timothy Marc is currently offline Timothy Marc
Messages: 547
Registered: July 2009
Senior Member
Michael,

well, i'm not familiar with the UML2Tools but in common, you had to
define an event in your model (if this is not possible within the state
machine diagram, you cann allways create the elements you need within
the ordinary UML tree editor) and connect this with the trigger's event
association.

An Event is a PackageableElement, so your are free to put the event into
any package, you want.

Cheers
/Timothy

Michael Zapf schrieb:
> Hello all,
>
> I'm still new to UML2tools, and I just managed to create a state machine
> diagram. I found out that in order to add a trigger I have to edit the
> uml file, since this feature is not offered in the diagram.
>
> Now how can I connect an event with the trigger? The trigger instance
> has a selection "Event" which does not offer any selections. Do I have
> to create the event in another diagram like an activity diagram and
> somehow import it?
>
> Thanks,
>
> Michael
Re: State machine diagrams: Trigger and event [message #624828 is a reply to message #482467] Sat, 29 August 2009 10:31 Go to previous message
Timothy Marc is currently offline Timothy Marc
Messages: 547
Registered: July 2009
Senior Member
Michael,

well, i'm not familiar with the UML2Tools but in common, you had to
define an event in your model (if this is not possible within the state
machine diagram, you cann allways create the elements you need within
the ordinary UML tree editor) and connect this with the trigger's event
association.

An Event is a PackageableElement, so your are free to put the event into
any package, you want.

Cheers
/Timothy

Michael Zapf schrieb:
> Hello all,
>
> I'm still new to UML2tools, and I just managed to create a state machine
> diagram. I found out that in order to add a trigger I have to edit the
> uml file, since this feature is not offered in the diagram.
>
> Now how can I connect an event with the trigger? The trigger instance
> has a selection "Event" which does not offer any selections. Do I have
> to create the event in another diagram like an activity diagram and
> somehow import it?
>
> Thanks,
>
> Michael
Previous Topic:Getting started with Topcased
Next Topic:extending UML2Tools
Goto Forum:
  


Current Time: Tue Oct 21 08:49:48 GMT 2014

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

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