Book a Demo

Author Topic: Adding responsible Class/Operation to Actions  (Read 4393 times)

jeshaw2

  • EA User
  • **
  • Posts: 701
  • Karma: +0/-0
  • I'm a Singleton, what pattern are you?
    • View Profile
Adding responsible Class/Operation to Actions
« on: September 16, 2006, 09:13:53 am »
UML 2.1 Superstructure, Sect. 12.3.15, Figure 12.67 provides the notation for showing the Class and Operation where an Action is performed.

I can add a CALLOPERATION type of action to my diagram and I get the action name and the (::) notation within it, but I can't figure out where to specifiy the Class and Operation so that it also appears in the action element.

I should be able to get (<class name>::<operation name>) on the action element.  Anyone know where in EA to go to do that?

Thanks
Verbal Use Cases aren't worth the paper they are written upon.

Jan ´Bary´ Glas

  • EA User
  • **
  • Posts: 408
  • Karma: +0/-0
  • Bary
    • View Profile
Re: Adding responsible Class/Operation to Actions
« Reply #1 on: September 16, 2006, 10:56:19 am »
I think the feature is just ... missing. Probably a bug. Call behaviour is working well and I would think it should be similar for Call operations.
Jan 'Bary' Glas

jeshaw2

  • EA User
  • **
  • Posts: 701
  • Karma: +0/-0
  • I'm a Singleton, what pattern are you?
    • View Profile
Re: Adding responsible Class/Operation to Actions
« Reply #2 on: September 17, 2006, 10:30:35 am »
Quote
I think the feature is just ... missing. Probably a bug. Call behaviour is working well and I would think it should be similar for Call operations.


I agree that it is missing.  However, I don't understand what you mean about a similar feature for Call behavior.  I can't find anything like that there either.

Can you expand your thoughts a bit more?
Thanks
-Jim
Verbal Use Cases aren't worth the paper they are written upon.

Jan ´Bary´ Glas

  • EA User
  • **
  • Posts: 408
  • Karma: +0/-0
  • Bary
    • View Profile
Re: Adding responsible Class/Operation to Actions
« Reply #3 on: September 17, 2006, 10:55:20 am »
Quote

I agree that it is missing.  However, I don't understand what you mean about a similar feature for Call behavior.  I can't find anything like that there either.

Can you expand your thoughts a bit more?
Thanks
-Jim

My thought was: When I call a behaviour I get a list of Activities from my model to pick from. I would like to get list of class/operations to pick from.
Jan 'Bary' Glas

KP

  • EA Administrator
  • EA Expert
  • *****
  • Posts: 2919
  • Karma: +55/-3
    • View Profile
Re: Adding responsible Class/Operation to Actions
« Reply #4 on: September 17, 2006, 05:10:43 pm »
Quote
I should be able to get (<class name>::<operation name>) on the action element.  Anyone know where in EA to go to do that?


Currently the only way to do this is to drag an operation from the project view onto an activity diagram. A better way of doing this (or changing it once done) is on our to-do list, ETA unknown.
The Sparx Team
[email protected]

jeshaw2

  • EA User
  • **
  • Posts: 701
  • Karma: +0/-0
  • I'm a Singleton, what pattern are you?
    • View Profile
Re: Adding responsible Class/Operation to Actions
« Reply #5 on: September 17, 2006, 06:07:03 pm »
When I drag a class's operation onto a swim lane, the class name is properly placed in front of the colons, but the operation name is not placed to the right of the colons.  Instead, the operation name becomes the name of the Action and nothing appears to the right of the colons.  The action and operation names should be specified independently of each other.  :(

Hope that new (better?) way comes soon.   :-/
Verbal Use Cases aren't worth the paper they are written upon.