Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Graphical Editor from DTD: Side Affixed Children which are no children
Graphical Editor from DTD: Side Affixed Children which are no children [message #498446] Mon, 16 November 2009 23:25
No real name is currently offline No real nameFriend
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
Previous Topic:EditPart connection not visible within compartment
Next Topic:Creating separate Links and Nodes part in Palette
Goto Forum:
  


Current Time: Fri Apr 26 15:49:29 GMT 2024

Powered by FUDForum. Page generated in 0.03559 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top