Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Graphiti » tree view in graphiti
tree view in graphiti [message #1076429] Wed, 31 July 2013 11:43 Go to next message
abdallah Q is currently offline abdallah Q
Messages: 14
Registered: May 2013
Junior Member
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 10:32 Go to previous messageGo to next message
Michael Wenz is currently offline Michael Wenz
Messages: 1618
Registered: July 2009
Location: Walldorf, Germany
Senior Member
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 22:27 Go to previous messageGo to next message
Jorge Padilla is currently offline Jorge Padilla
Messages: 6
Registered: August 2013
Junior Member
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 07:17 Go to previous message
Michael Wenz is currently offline Michael Wenz
Messages: 1618
Registered: July 2009
Location: Walldorf, Germany
Senior Member
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: Wed Oct 22 05:05:17 GMT 2014

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

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