Author Topic: Instance specifier name not displayed (EA13) at "call behaviour" elements  (Read 6118 times)

heba

  • EA User
  • **
  • Posts: 35
  • Karma: +0/-0
    • View Profile
Hi,

in my activity charts I sometimes use "Call behaviour" action elements.

Before EA 13, they had the name resp. caption "<element name>: <activity name>".  For example, when I name the activity "GetLock" and the element "Call" it read "Call: GetLock".

With EA 13, the elements only have their names as captions but do not show the name of the activity where they are an instance of.  In the above example, it just reads "Call" now.

Is there a new option to show or hide the name of the base element?   When I open the model in an older EA version it appears with this name.

Thank you!
Heiko

PeterHeintz

  • EA User
  • **
  • Posts: 910
  • Karma: +55/-18
    • View Profile
Yes, there is something wrong in V13.
When you have a “Call behavior” with no name the called activity name is shown as name rather than as call classifier. Once you add a name to your action that name is shown and the name of the called activities disappears.
I will initiate a bug report, because for me that is a V13 showstopper.
Best regards,

Peter Heintz

Takeshi K

  • EA User
  • **
  • Posts: 424
  • Karma: +17/-1
    • View Profile
Hello all,

This change is related to the following line in the Readme file, I think.

CallBehaviorAction name display updated to match UML specification:
- Unnamed actions will display only the behavior name
 - Named actions will display only the action name


So, it is not a bug, but  fix to fit the UML specification.

HTH,
--
t-kouno

heba

  • EA User
  • **
  • Posts: 35
  • Karma: +0/-0
    • View Profile
Okay, thanks a lot for pointing this out.

If I remove the name of the CallBehaviour action the project browser also shows the name of the called behaviour so this correction does not look too bad.   I think I can live with that and will remove the names of all these elements.

BR
Heiko

PeterHeintz

  • EA User
  • **
  • Posts: 910
  • Karma: +55/-18
    • View Profile
Ok, I had a look to the specification and indeed now EA conforms to UML 2.5.

However I think the old  EA implementation was better than now complying to the Spec..

Because former it was easy possible to call Activities e.g. twice and differentiate by name, still seeing that it is the same thing you are calling.
Now you have to do that somehow else.

Even more strange, according UML 2.5. for Call Operation Actions it is still possible to do what is mentioned above.
Best regards,

Peter Heintz

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 7731
  • Karma: +103/-18
    • View Profile
Ok, I had a look to the specification and indeed now EA conforms to UML 2.5.

However I think the old  EA implementation was better than now complying to the Spec..
Unfortunately, I agree with you. Managing conflicting requirements for compliance and flexibility, ease of use, consistency (over time and at a single point) and other factors is a tricky balancing act.

If you feel that you've lost functionality, I encourage you to send in a bug report about it.

Edit - Apparently we have already implemented an option for the behavior, but it didn't make it into the release. It should be there in our next build.
« Last Edit: October 11, 2016, 02:29:59 pm by Simon M »
Eve

support@sparxsystems.com

PeterHeintz

  • EA User
  • **
  • Posts: 910
  • Karma: +55/-18
    • View Profile
Hi Simon,
Yes, I understand that.

Anyhow, I assume that you (Sparx) have some kind of possibilities to influence the UML spec.

I would be happy if you would try to get an “OR” in the spec.

I personally think it is a weak kind of specification, when it leads to  “What you see is either xxx or yyy.
Best regards,

Peter Heintz

PeterHeintz

  • EA User
  • **
  • Posts: 910
  • Karma: +55/-18
    • View Profile
Info from Sparx: A correction (option to revert to the old style ) has been made and will be included in a future release.
Best regards,

Peter Heintz

Takeshi K

  • EA User
  • **
  • Posts: 424
  • Karma: +17/-1
    • View Profile
Hi all,

Just FYI,
Current latest build (1306) has a new option to change drawing about this.
(There is no news about build 1306, but already uploaded.)

--
t-kouno

YaronS

  • EA Novice
  • *
  • Posts: 13
  • Karma: +0/-0
    • View Profile
Is this still configurable in EA15.2? If so, how?

KP

  • EA Administrator
  • EA Expert
  • *****
  • Posts: 2901
  • Karma: +52/-3
    • View Profile
Is this still configurable in EA15.2? If so, how?

In EA 16 (pre-release) it's ribbon > Start > Preferences > Objects > Show invoked Activity name, with separate options for UML and SysML compliance.
The Sparx Team
support@sparxsystems.com