[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [polarsys-iwg] State Machine Diagram display options
|
Sébastien, Ansgar,
Thank you, your response helped me resolve one issue - I had not named the
Effect - and thus it was not displaying correctly.
However, I am still stuck on the display of Transition information.
The two attached graphics show the definition of the Trigger, and the
receive signal event. From your description, this seems to look OK - but maybe I
am missing something.
I wonder if it could be to do with the order / method I created these
events..... I first developed a Sequence Diagram - then used the events created
by the tool for the SD in the State Machine. Maybe the tool is expecting
creation / use the other way around - i.e. creation of Events in the State
Machine, then re-use of these in the Sequence Diagrams?
As previously .. any grateful for any ideas and help.
Rob Collins
http://users.ox.ac.uk/~kell0956/
Quoting "GERARD Sebastien 166342"
<Sebastien.GERARD@xxxxxx>:
> Hi,
>
> Here is an asnwer from Ansgar (cc this email):
>
> Can you please precise what kind of event is behind the trigger? The
> state-machine diagram does not display the name of the trigger (in
> your case lamp_on_trig), but the details of the event that is behind
> the trigger. For instance, if your trigger is based on a
> SignalEvent, the shown information is the name of the signal (not
> the name of the signal event). It's usually better to display this
> information, since the name of the trigger might be misleading or is
> often unset.
>
> If a trigger has no event, "all" is displayed. This is likely
the
> case for your model. Please note that a trigger must always have at
> least one event, as defined in the UML meta-model. However,
> displaying "all" in case of no event is probably not what the
user
> expects. Can you please create a bug report?
>
> The reason why you get "OpaqueBehavior" is probably similar.
Instead
> of the name of the opaque behavior, its first body is shown. Thus, I
> guess your opaque behavior does have not have any bodies.
>
>
>
> BTW, did you ask the question on the Papyrus Forum?
>
>
> Best... Sébastien.
>
>
>
>
------------------------------------------------------------------------------------------------------------------------------------------
> Sébastien Gérard
> Head of the LISE labs and leader of the Eclipse Papyrus project
> (www.eclipse.org/papyrus<http://www.eclipse.org/papyrus>).
> +33 (0)1 69 08 58 24 / +33(0)6 88 20 00 47
> CEA Saclay Nano-INNOV
> Institut CARNOT CEA LIST
> DILS/Laboratoire d'Ingénierie dirigée par les modèles pour les Systèmes
Embarqués (LISE),
> Point Courrier n°174
> 91 191 Gif sur Yvette CEDEX
>
> De : polarsys-iwg-bounces@xxxxxxxxxxx
> [mailto:polarsys-iwg-bounces@xxxxxxxxxxx] De la part de Rob Collins
> Envoyé : lundi 3 mars 2014 13:58
> À : polarsys-iwg@xxxxxxxxxxx
> Objet : [polarsys-iwg] State Machine Diagram display options
>
>
> Could you help me please?
>
> I am trying to produce a sysML tutorial using Topcased
(Polarsys).
> When drawing State Machine Diagrams I can't find out how to
display
> details of triggers / effects on the diagram itself.
>
> As the attached screenshot shows - the transition is labelled with a
> name, but also a very generic labelling for the transition. In
> previous versions of Topcased this actually showed the name of the
> event, and the action - which made the diagram much more explicit
> and easy to read. As it is shown in this screenshot the diagram is
> hardly useful at all - as there is no detail on the transition.
>
> I have tried many different options - but can't find out how to
> display the information captured in the Properties window onto the
diagram.
>
> Very grateful for any solutions to this.
>
> Rob Collins
>
> http://users.ox.ac.uk/~kell0956/
>
>
Dr Rob Collins
www.it-will-happen.com
Attachment:
trigger definition.png
Description: PNG image
Attachment:
recieve signal event definition.png
Description: PNG image