Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Papyrus » SignalEvent( )
SignalEvent [message #1014872] Tue, 26 February 2013 16:11 Go to next message
Andrea Sindico is currently offline Andrea SindicoFriend
Messages: 266
Registered: November 2010
Senior Member

As far as I understand a SignalEvent can be used to catch a fired Signal that matches a Reception on a receiver.
However, although it is clear how to relate a SignalEvent to a Signal (via the homonym property)I couldn't reduce the scope to a specific reception associated to that signal.
Is there any way to do this?


Follow me on Twitter @andreasindico

Re: SignalEvent [message #1014938 is a reply to message #1014872] Tue, 26 February 2013 21:20 Go to previous messageGo to next message
Eclipse UserFriend
Hi Andrea,

what do you mean by "couldn't reduce the scope to a specific reception
associated to that signal". I just understand the question.

Regards,
Marc-Florian

"Andrea Sindico" schrieb im Newsbeitrag
news:kgimr0$jfh$1@xxxxxxxxe.org...

As far as I understand a SignalEvent can be used to catch a fired Signal
that matches a Reception on a receiver.
However, although it is clear how to relate a SignalEvent to a Signal (via
the homonym property)I couldn't reduce the scope to a specific reception
associated to that signal.
Is there any way to do this?
--
Follow me on Twitter https://twitter.com/andreasindico
Re: SignalEvent [message #1015027 is a reply to message #1014938] Wed, 27 February 2013 08:50 Go to previous messageGo to next message
Andrea Sindico is currently offline Andrea SindicoFriend
Messages: 266
Registered: November 2010
Senior Member

I mean I want a SignalEvent to represent a specific instance of an active class having received a signal.

Follow me on Twitter @andreasindico

Re: SignalEvent [message #1015069 is a reply to message #1015027] Wed, 27 February 2013 11:06 Go to previous messageGo to next message
Andrea Sindico is currently offline Andrea SindicoFriend
Messages: 266
Registered: November 2010
Senior Member

I gues I may use the MARTE GCMTrigger stereotype which, according to the MARTE specification:

Quote:
extends the UML Trigger metaclass. Within UML, triggers can natively be related to a particular port.
Additionally, the GCMTrigger can be related to a particular feature of a FlowPort or ClientServerPort. It is thus possible
to specify reactions that are, for example, related to the occurrence of a specific event on a given non-atomic port. For
example, if we consider a non-atomic flow port proving an interface defining two flow-property (e.g., a time and a speed),
the designer may specify individual reaction to whatever received information.


Follow me on Twitter @andreasindico

Re: SignalEvent [message #1015072 is a reply to message #1015027] Wed, 27 February 2013 11:05 Go to previous messageGo to next message
Eclipse UserFriend
A trigger may have a Port, so you could distinguish the instances of the
receiving class by the Port on which the event was received. A port belongs
to an EncapsulatedClassifier which might be an active class.

In general, the Classifier that owns the state machine is supposed to
receive the event - of course, only if the state machine is contained in a
context classifier. In case of contex-free state machine, you could use the
Port to indicate which classifier is supposed to receive the event.

HTH,
Marc-Florian

"Andrea Sindico" schrieb im Newsbeitrag
news:kgkhdg$43k$1@xxxxxxxxe.org...

I mean I want a SignalEvent to represent a specific instance of an active
class having received a signal.
--
Follow me on Twitter https://twitter.com/andreasindico
Re: SignalEvent [message #1261966 is a reply to message #1015069] Mon, 03 March 2014 05:55 Go to previous messageGo to next message
Dan George is currently offline Dan GeorgeFriend
Messages: 9
Registered: December 2012
Junior Member
A SignalEvent instance is supposed to have an association to exactly one Signal instance (See abstract syntax in Event section of the UML spec). I cannot figure out how to make this association. Nothing in the properties tab for it.

This is an important feature to support Executable UML. I need to relate a Trigger to a SignalEvent and from there to a Signal with attributes. The UML provides what I need but I cannot figure out how to define the reference from SignalEvent to Signal with Papyrus.

Did I miss it?

Thank you,
Dan
Re: SignalEvent [message #1262110 is a reply to message #1261966] Mon, 03 March 2014 09:20 Go to previous messageGo to next message
Camille Letavernier is currently offline Camille LetavernierFriend
Messages: 952
Registered: February 2011
Senior Member
Hi Dan,


Papyrus provides a standard set properties views, which are a subset of what's available in UML. In most cases, this should be sufficient, but we may have forgotten a few important properties for some elements.

If you think that something is missing, please add a comment on this bug:

Bug 358077: [Property View - UML] The UML property view should be improved for usability concerns
https://bugs.eclipse.org/bugs/show_bug.cgi?id=358077

In this case, it seems that the SignalEvent#signal property is missing.


Regards,
Camille


Camille Letavernier
Re: SignalEvent [message #1270424 is a reply to message #1262110] Thu, 13 March 2014 01:00 Go to previous message
Dan George is currently offline Dan GeorgeFriend
Messages: 9
Registered: December 2012
Junior Member
I now see that I can use the Advanced view of the Properties tab to set the signal for signalEvents.

/Dan
Previous Topic:eclipse.ini memory settings for large papyrus projects
Next Topic:Signal Attributes not in Diagrams
Goto Forum:
  


Current Time: Fri Apr 26 04:21:01 GMT 2024

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

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

Back to the top