Sparx Systems Forum

Enterprise Architect => Uml Process => Topic started by: Polymorph on October 28, 2015, 09:34:31 pm

Title: Suppressing CallOperation Detail
Post by: Polymorph on October 28, 2015, 09:34:31 pm
I am using SysML actions on activity diagrams. I have recently discovered the "CallOperation" action - which seems to be an EA specific (rather than SysML) model element. This appears to do precisely what I need (link action and operation together).

However, there is a problem. EA automatically places the name of the operation underneath the action name. This causes readability issues for my diagrams as the action often does not live in the same package as the block that owns the operation; resulting in a very long name

e.g.
MyAction
{MyPackage::MyBlock.MyOperation}

Is there a way that this extra information can be hidden?
Title: Re: Suppressing CallOperation Detail
Post by: qwerty on October 28, 2015, 09:44:30 pm
UML 2.5 spec:
Quote
A CallOperationAction is a CallAction that transmits an Operation call request to the target object, where it may cause the invocation of associated Behavior. The argument values of the CallOperationAction are passed on the input Parameters of the Operation. If call is synchronous, the execution of the CallOperationAction waits until the execution of the invoked Operation completes and the values of output Parameters of the Operation are placed on the result OutputPins. If the call is asynchronous, the CallOperationAction completes immediately and no results values can be provided.

Regarding display: try to uncheck Diagram Properties/Diagram/Show Namespace. Not sure whether that helps, though.

q.
Title: Re: Suppressing CallOperation Detail
Post by: Polymorph on October 28, 2015, 09:45:52 pm
I have discovered that you can right click on the operation and go Advanced | use rectangular notation and this changes the action to a new symbol

It's not a perfect solution since this new block doesn't look like anything defined in the SysML specification but it does get the job done

I'd still welcome any suggestions on how to keep the original action appearance rather than using this alternative representation
Title: Re: Suppressing CallOperation Detail
Post by: Polymorph on October 29, 2015, 12:14:54 am
Wasn't aware it was a UML concept - I'm not so familiar with it compared to SysML. EA is very UML centric and it's not always easy to know what part of the language you're looking at (at least not for a relatively new user like me!)


Quote
Regarding display: try to uncheck Diagram Properties/Diagram/Show Namespace. Not sure whether that helps, though.



Unforunately not, it still displays it :(
Title: Re: Suppressing CallOperation Detail
Post by: qwerty on October 29, 2015, 12:37:22 am
Well, SysML is a profile build upon UML. You might turn of the MDG for the default UML profiles and just leave on the SysML.

q.