Skip to main content



      Home
Home » Modeling » Graphiti » tree view in graphiti
tree view in graphiti [message #1076429] Wed, 31 July 2013 07:43 Go to next message
Eclipse UserFriend
hi all,

I want to ask, does graphiti support a tree view rather than the normal element diagram? what I'm trying to do is when the user click on one of the element in the diagram I want to provide a tree view diagram rather than the element diagram , if its possible to do that using graphiti could you please tell me how to do it?

thanks
Abdallah
Re: tree view in graphiti [message #1077936 is a reply to message #1076429] Fri, 02 August 2013 06:32 Go to previous messageGo to next message
Eclipse UserFriend
Abdallah,

not sure if I actually got your point.

You can arrange shapes so that they represent a tree and you can alos hinder
users from dragging stuff out of this tree structure.

On the other hand, if you would like to embed something like an SWT tree
into a diagram, that is not supported, as the underlying GEF soes not
support that.

Michael
Re: tree view in graphiti [message #1095295 is a reply to message #1077936] Mon, 26 August 2013 18:27 Go to previous messageGo to next message
Eclipse UserFriend
Hi Michael, I have the same scenario where I need to embed a tree view into my diagram.

I'm new to Graphiti and GEF, but I was looking at the GEF API looks like there is support for a tree edit part (org.eclipse.gef.editparts.AbstractTreeEditPart). Is this something that I could use from Graphiti?

As you said, I can always arrange shapes and create my own tree viewer, but I'm hoping to find a reusable widget with the implementation of a tree viewer.
Re: tree view in graphiti [message #1096279 is a reply to message #1095295] Wed, 28 August 2013 03:17 Go to previous message
Eclipse UserFriend
Jorge,

Graphiti itself does not offer such a tree edit part wrapper, but it allows
to use native GEF edit parts inside Graphiti diagrams, maybe that would be
an option in this case?

Michael
Previous Topic:Drag & drop of (text)elements?
Next Topic:Help with tutorial
Goto Forum:
  


Current Time: Mon Jul 07 13:00:46 EDT 2025

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

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

Back to the top