Sparx Systems Forum

Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: MeryemAdb on June 28, 2014, 12:21:22 am

Title: Quick Linker for activity diagram
Post by: MeryemAdb on June 28, 2014, 12:21:22 am
Hello,

In my MDG, I have defined custom activity diagrams with stereotyped elements that are either of type Activity or Action.

What I'd like to do is create my own version of the quick linker for all elements in those diagrams (because the default one offers ObjectFlow between two Actions and I do not want my users to have this possibility). But I'd rather not define all possible links between Actions/Merge/Fork/... because that is a lot of possibilities.

So I'd like to know if there is a parent element from which all elements of an activity diagram (in my case that would be Activity, Action, Synchronization, Decision, ActivityInitial, ActivityFinal, FlowFinal, Receive and Event) derive and that can be used in the quick linker as a shortcut.

 Additionnaly, if I need define everything, I do not see an element type corresponding to ActivityFinal, FlowFinal, Event and a connector type corresponding to InterruptFlow in Quick Linker documentation. Is that really so? Or is there something that I am missing ?

Thanks a lot, Meryem

Edit :  I use EA version 10.0.1008 Corporate Edition
Title: Re: Quick Linker for activity diagram
Post by: qwerty on June 28, 2014, 06:45:40 am
I just can say that the QL is a lot of trial and error. You best try by starting with a little example and make small differentials. You need to restart EA each time you made changes.

Regarding inheritance: I never heard of such a feature and probably it does not exist.

Regarding missing connectors: Just try out what happens when you type what you mean it should be. The documentation is made by humans. The guy doing it is quite engaged and tries to correct missing/wrong parts.

q.
Title: Re: Quick Linker for activity diagram
Post by: KP on June 30, 2014, 09:30:50 am
There is a setting in the quicklink definitions, column P (Exclusive to Stereotype), which if it contains TRUE (for one single row) will say that the given stereotype does not inherit any quicklink definitions from the base type. If it's left blank for all rows, then the your custom quicklink definitions will be added to the inherited quicklink definitions from the base type. Unfortunately, it's an all or nothing setting based on the source type; it isn't possible to say you want to inherit links to some target types and not others.