Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Graphiti » Multi Level Diagram
Multi Level Diagram [message #1784989] Fri, 06 April 2018 16:29 Go to next message
Markus Gamperle is currently offline Markus GamperleFriend
Messages: 7
Registered: April 2018
Junior Member
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 12:01 Go to previous message
Michael Wenz is currently offline Michael WenzFriend
Messages: 1931
Registered: July 2009
Location: Walldorf, Germany
Senior Member
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: Tue Apr 23 12:20:31 GMT 2024

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

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

Back to the top