Skip to main content



      Home
Home » Modeling » Graphiti » Multi Level Diagram
Multi Level Diagram [message #1784989] Fri, 06 April 2018 12:29 Go to next message
Eclipse UserFriend
Hi guys,

I'm trying to develop an editor with multiple levels of abstraction.
(Atomar Components and Aggregated Components)

I want to modulate an Object and reuse that in a different diagram again.
The Object is connected with descriptional objects.
In an other kindof diagramm (higher level) the Object shall be imported.
The buinessobjects get already stored in a seperate Domain model.

I would like to ask:

How do i can I import the object into the higher level?
How do i create the graphical representation from just the domain object
(the problem is i don't know how to keep the conncetions in place and add the connected objects with it)

thank you in advance

Markus





Re: Multi Level Diagram [message #1785093 is a reply to message #1784989] Mon, 09 April 2018 08:01 Go to previous message
Eclipse UserFriend
Markus,

multiple levels of diagrams can be achieved by defining several diagram types in Graphiti. Each diagram type defines an editor that can provide a different view onto your domain objects (different visualization).

Reusing the visualization in another diagram means basically adding all features for an object (create, add, move...) to the other diagram feature provider as well. Importing an object can then be done by programmatically triggering the add feature from your import functionality (e.g. context menu entry). Either the add feature itself or the import functionality can care about adding other required objects (connections and their targets) as well.

HTH,
Michael
Previous Topic:Graphiti Diagram
Next Topic:How to replace or remove the diagram's root object
Goto Forum:
  


Current Time: Mon Apr 28 19:20:28 EDT 2025

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

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

Back to the top