|Graphical Description Problem [message #1804990]
||Thu, 04 April 2019 11:14
| Marvin Roger Wagner
Registered: April 2019
I want to build a Sirius editor based on the following minimal example of an ECore model. In addition, I show a minimal example for the graphical description.
In the diagram ExampleViewDiagram will be an instance of ClassD, ClassC shall be represented by ClassCContainer, ClassA shall be represented by ClassANode and ClassB shall be represented by BorderedClassBNode.
There shall be serveral ClassCContainers. ClassANode shall be in the ClassCContainer if ClassA contains one or more instances of type ClassB and at least one of these instances has a relation to specific ClassC. One instance of ClassA can be in serveral ClassCContainers. And, the instances of ClassB which have a relation to ClassC shall be attached as BorderedClassBNode to ClassA. The creation of the ClassANodes works fine, but the selection of semantic candidates for the BorderedClassBNodes make problems. I was not able to reach the instance of ClassC to decide whether ClassB has a relation to it. Reaching means to go two step upwards in the description's tree structure.
Is there any way to do this?
[Updated on: Fri, 05 April 2019 10:48]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.02246 seconds