Book a Demo

Author Topic: How to render Composite "Chain Link"  (Read 3390 times)

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
How to render Composite "Chain Link"
« on: June 17, 2010, 02:55:47 pm »
I can create Composite Elements by the methods indicated in other posts.  This post is in regard to the "chain link" symbol that EA provides to indicate the attached diagram and allow you to activate it by means of a double click.

I've spent a fruitless day trying to get this to work in a consistent manner (actually to work at all...).

As I said above, I can get the item in the diagram to indicate that it is "Composite" on the context menu for the item - after my processing.  Indeed, on any currently open diagram, the item shows as composite in the context menu.

If I open a (previously unopened but preexisting) diagram that contains the composite item, it will correctly display with the "Chain Link".  However, any previously open diagrams won't display the "Chain Link".

To get the previously open diagrams to display the "Chain Link" I need to manually reload each diagram (through the UI).

I've tried all manner of combinations of the various available methods - all to no avail.  Part of the debugging seemed to indicate some sort of race condition - as when I had a breakpoint set in the code, I could more consistently (but not fully consistently) get the "Chain Link" to appear unaided.  However, since I couldn't get the code to pass the "Alice in Wonderland (Or was it through the Looking Glass) Test":  Consistently produce the same output 3 times in a row through 3 separate invocations of the program - it's difficult to be definitive.

Does anybody know how to get it to work?  Or is it just a bug?

TIA,
Paolo
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!