Book a Demo

Author Topic: profile or whatever  for special connectors  (Read 3038 times)

trickster60

  • EA User
  • **
  • Posts: 20
  • Karma: +0/-0
    • View Profile
profile or whatever  for special connectors
« on: November 22, 2011, 10:44:11 am »
I have a need to crteate a connector profile that will only connect to specific element types. More than that the source and target ends could attach to different emement types. How might this be achieved?

KP

  • EA Administrator
  • EA Expert
  • *****
  • Posts: 2919
  • Karma: +55/-3
    • View Profile
Re: profile or whatever  for special connectors
« Reply #1 on: November 23, 2011, 09:58:47 am »
The only way to prevent a specific type of connectors being created either to or from a specific type of element is by add-in. Search the help for EA_OnPreNewConnector.

If an add-in is too much, you can use quicklinks in a UML Profile to encourage use of the correct connectors rather than prevent use of incorrect. This will only really work well if the source element is stereotyped. Search the help for the page "Developing Profiles" and follow the links from there.
The Sparx Team
[email protected]

trickster60

  • EA User
  • **
  • Posts: 20
  • Karma: +0/-0
    • View Profile
Re: profile or whatever  for special connectors
« Reply #2 on: November 25, 2011, 09:06:26 am »
Thanks..... I was afraid that would be the case