Book a Demo

Author Topic: IsDrawCompositeLinkIcon and suppressing the "chain-link"  (Read 2887 times)

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
IsDrawCompositeLinkIcon and suppressing the "chain-link"
« on: June 04, 2019, 11:50:41 am »
In the shapescript properties is the intriguing "IsDrawCompositeLinkIcon".  The example script shows how to use it to generate the "chain-link" icon at the bottom right of the shape.  The implicit suggestion is that since you can test for it, you might be able to NOT draw the link.

However, this doesn't seem to be the case.  If the "chain-link" is visible (without the "IsDrawCompositeLinkIcon" test in the shape script), then adding the test and any methods therein, merely ADDS to the "chain-link".  Does anyone know of any method to suppress the "chain-link"?

TIA,
Paolo

PS: we already have tried a mechanism but it is cumbersome and not very successful in all cases - and so don't use it.
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: IsDrawCompositeLinkIcon and suppressing the "chain-link"
« Reply #1 on: June 04, 2019, 01:05:51 pm »
It allows a non-native shape to add that indicator. It's not a switch to prevent it being drawn on a native shape.

There's an example in the help for using it.

https://www.sparxsystems.com/enterprise_architect_user_guide/15.0/modeling/example_scripts.html