Graphical Editor from DTD: Side Affixed Children which are no children [message #498446] |
Mon, 16 November 2009 23:25 |
No real name Messages: 62 Registered: July 2009 |
Member |
|
|
Hi,
I am trying to generate a GMF Editor from a DTD. For this I converted
the DTD to an XSD using trang and then generated the ecore model.
One problem I have is that I want my nodes to have ports as side affixed
children. This can be done by adding a child reference that points to
the port element to the mapping of the node. However, the port is no
child of the node, because the node points (non-containment reference)
to another element which contains the ports, but it is not allowed to
add a child reference to a node which is not a real child of the node in
the ecore model. Is there another way to get my port elements to appear
next to the node elements in a diagram?
Regards,
Matthias
|
|
|
Powered by
FUDForum. Page generated in 0.03559 seconds