Book a Demo

Author Topic: How to define Quicklinkers between non-stereotyped elements  (Read 3885 times)

dgoetz

  • EA User
  • **
  • Posts: 35
  • Karma: +0/-0
    • View Profile
How to define Quicklinkers between non-stereotyped elements
« on: April 24, 2020, 08:22:52 pm »
Hi,

I defined quicklinkers for non-stereotyped elements, and it worked until EA 13.5. Up from EA 14.0 the non-stereotyped quicklinkers do not work.
Fortunaltely most of the quicklinkers I added for EA 13.5 became in EA 14.0 "default" quicklinkers.

In EA 13.5 this definition draws a directed association from Port to Class. How can I do this in EA 15.1?
Port,,Class,,,,,Association,,directed,QuickLinkerName,,TRUE,,TRUE,TRUE,,0,,,,,

Tnaks for help
Dieter

Uffe

  • EA Practitioner
  • ***
  • Posts: 1859
  • Karma: +133/-14
  • Flutes: 1; Clarinets: 1; Saxes: 5 and counting
    • View Profile
Re: How to define Quicklinkers between non-stereotyped elements
« Reply #1 on: April 24, 2020, 09:44:12 pm »
Hi Dieter,

In one of my many recent posts on the subject of the quick linker, Sparx replied that quick linker definitions "from" a non-stereotyped element type are no longer supported.

Eve cited the note "Quicklink flag 'Exclusive to stereotype' will now be ignored for unstereotyped elements" from the release notes for 13.0.1305, which doesn't quite make sense to me because like you I'm sure it actually still worked in 13.5. But they've made a lot of changes to the quick linker since the introduction of metamodel constraints and this one came in somewhere along the way, most likely 14.0.

The only way forward for you that I can see is to define your own stereotypes for every element type you want to quick-link from and update all your old models accordingly.


/Uffe
My theories are always correct, just apply them to the right reality.

dgoetz

  • EA User
  • **
  • Posts: 35
  • Karma: +0/-0
    • View Profile
Re: How to define Quicklinkers between non-stereotyped elements
« Reply #2 on: April 24, 2020, 10:20:22 pm »
Hi Uffe,

thanks for your reply. I saw your post about the Quicklinkers - but still hoped there is any way to do it.

Connecting two classes with a directed association was quick in EA 13.5. But In EA 15 the directed association was deleted from the quicklinkers.
For me its not a good idea adding a stereotype to all classes just to bring the quicklinkers working again. But that's really Sparx's job.

Dieter

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: How to define Quicklinkers between non-stereotyped elements
« Reply #3 on: April 24, 2020, 11:02:05 pm »
Hi Uffe,

thanks for your reply. I saw your post about the Quicklinkers - but still hoped there is any way to do it.

Connecting two classes with a directed association was quick in EA 13.5. But In EA 15 the directed association was deleted from the quicklinkers.
For me its not a good idea adding a stereotype to all classes just to bring the quicklinkers working again. But that's really Sparx's job.

Dieter
Dieter,

If you always want to use directed associations, you can set them to be created directed like that by default in the options:  Preferences | Links | associations default = source --> target

Geert

dgoetz

  • EA User
  • **
  • Posts: 35
  • Karma: +0/-0
    • View Profile
Re: How to define Quicklinkers between non-stereotyped elements
« Reply #4 on: April 25, 2020, 12:42:26 am »
Hi Geert,

thanks for the tip. I just updated our company specific default preferences :)

Dieter