Book a Demo

Author Topic: State chart diagram and triggers to select a class operation  (Read 3476 times)

Guillaume

  • EA Practitioner
  • ***
  • Posts: 1405
  • Karma: +42/-2
    • View Profile
    • www.umlchannel.com
State chart diagram and triggers to select a class operation
« on: January 25, 2017, 08:58:30 pm »
Hi,

When defining a statechart diagram, it can be useful to associate a transition & trigger event to a real class (or sysml block) operation.
This is an alternative to name the transition after the triggering event (free text, not linked with anything).

In the transitions properties > Constraints tab, I can create a Trigger with the Call type to select an operation. The issue I have is that this trigger must be named so if I change later my operation, it is not automatically renamed on the diagram.
Would it be possible let's say for unnamed triggers to display the linked operation?

Thanks
Guillaume

Blog: www.umlchannel.com | Free utilities addin: www.eautils.com


Helmut Ortmann

  • EA User
  • **
  • Posts: 970
  • Karma: +42/-1
    • View Profile
Re: State chart diagram and triggers to select a class operation
« Reply #1 on: January 26, 2017, 05:07:10 pm »
Hi,

it would also be a good idea to visualize information for a trigger like:
- Type (e.g. Call)
- Specification (Operation name)

This of course according to the different trigger types.

Then you can drag the trigger on the diagram to see details. Now there is only the workaround with the Note field.

Kind regards,

Helmut
Coaching, Training, Workshop (Addins: hoTools, Search&Replace, LineStyle)