Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[sapphire-dev] New topic in forum Sapphire, called Connection is not shown in diagram with abstract types, by Tomáš Milata

Title: Eclipse Community Forums
Subject: Connection is not shown in diagram with abstract types Author: Tomáš Milata Date: Thu, 02 April 2015 23:35
Hi,

my model looks like this: I have a Base type and two derived types extending Base (Derived1, Derived2). Both derived types contain list of Next types which have a reference by id to a Base element.

Now when I try to add a connection to this XML using diagram editor:
<Root>
    <derived1 id="d1"></derived1>
    <derived2 id="d2"></derived2>
</Root>

(from d1 to d2), the connection is generated correctly in the XML:
<Root>
    <derived1 id="d1">
        <next>
            <to>d2</to>
        </next>
    </derived1>
    <derived2 id="d2"></derived2>
</Root>

The diagram, however, displays no connetion.

When I close the editor and reopen it, then the connection is visible. But it cannot be deleted (is removed correctly from xml but not from diagram).

I have provided a minimal runnable example on github.com/tomas-milata/SapphireExample.

Am I doing something wrong in the code or this might be a bug?
[ Reply ][ Quote ][ View Topic/Message ][ Unsubscribe from this forum ]

Back to the top