Skip to main content



      Home
Home » Modeling » Graphiti » Root domain object linked to Diagram?
Root domain object linked to Diagram? [message #717288] Fri, 19 August 2011 16:26 Go to next message
Eclipse UserFriend
If I'm not mistaken, the Diagram is the root container of the PE (pictogram elements), and inside it we have other PE, some of which are linkd to BO (business objects).
Now, I would have thought that the diagram itself would be linked to one root BO (container of the other BOs) but in the examples this is not so.

Can (should) this be done? It seems more conceptually natural to me - and, further, perhaps I'm interested in having some BO inside my root object that do no have a graphical representation but that could be modified from outside the editor (in a View, for example, or from some external event).

Re: Root domain object linked to Diagram? [message #717425 is a reply to message #717288] Sat, 20 August 2011 11:21 Go to previous messageGo to next message
Eclipse UserFriend
Hi Hernan,

the Graphiti gurus might have more information in detail. But generally you could
call link(diagram, bo); just as for any other object.

Andreas
Re: Root domain object linked to Diagram? [message #717699 is a reply to message #717425] Mon, 22 August 2011 02:39 Go to previous message
Eclipse UserFriend
Hi Hernan,
that's right. Diagram is also a PictogramElement, therefore you can link one or more BusinessObjects.

BR,
Matthias
Previous Topic:Adding Shapes Programmatically
Next Topic:Layout Feature with RoundedRectangle as a child
Goto Forum:
  


Current Time: Tue Jul 15 08:18:53 EDT 2025

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

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

Back to the top