Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » How to make a tree viewer in GEF.
How to make a tree viewer in GEF. [message #241994] Sat, 29 March 2008 13:05 Go to next message
Eclipse UserFriend
Originally posted by: rashi.bahal.gmail.com

Hi
I have made a tree viewer following the shapes example of GEF examples. But it shows all the figures in one root figure. I want to show the figures in a parent child relationship form.
For example: I have made three figures Ellipse, Diamond and Rectangle...now i want all the ellipse figures in Root Ellipse parent, Diamond in its parent and Rectangle in the corresponding parent....is it possible to do...if yes, then plz let me know how?

Thanks.
Rashi
Re: How to make a tree viewer in GEF. [message #242015 is a reply to message #241994] Sat, 29 March 2008 18:48 Go to previous messageGo to next message
Anthony Hunter is currently offline Anthony HunterFriend
Messages: 446
Registered: July 2009
Senior Member
Hi Rashi,

The draw2d examples show some very good tree viewer examples.
org.eclipse.draw2d.examples.tree is the package.

Cheers...
Anthony


"Rashi Bahal" <rashi.bahal@gmail.com> wrote in message
news:22753245.2251206795957081.JavaMail.root@cp1.dzone.com...
> Hi
> I have made a tree viewer following the shapes example of GEF examples.
> But it shows all the figures in one root figure. I want to show the
> figures in a parent child relationship form.
> For example: I have made three figures Ellipse, Diamond and
> Rectangle...now i want all the ellipse figures in Root Ellipse parent,
> Diamond in its parent and Rectangle in the corresponding parent....is it
> possible to do...if yes, then plz let me know how?
>
> Thanks.
> Rashi
Re: How to make a tree viewer in GEF. [message #242025 is a reply to message #242015] Sun, 30 March 2008 05:44 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: rashi.bahal.gmail.com

Thanks...
Re: How to make a tree viewer in GEF. [message #242029 is a reply to message #242015] Sun, 30 March 2008 05:56 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: shady_86.sify.com

hello anthony,

from where can one download those draw2d examples?..,
Re: How to make a tree viewer in GEF. [message #242034 is a reply to message #242015] Sun, 30 March 2008 06:30 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: rashi.bahal.gmail.com

Hi Antony,
I tried to find the repository path provided for draw2d examples..but the path doesn't exists.
If there is some other way to see the examples, plz let me know.

Thanks for ur co-operation.

Rashi.
Re: How to make a tree viewer in GEF. [message #242048 is a reply to message #242034] Sun, 30 March 2008 15:25 Go to previous messageGo to next message
Anthony Hunter is currently offline Anthony HunterFriend
Messages: 446
Registered: July 2009
Senior Member
Hi

Attached is a team project set that you can use to import the project from
CVS.

Cheers...
Anthony

"Rashi Bahal" <rashi.bahal@gmail.com> wrote in message
news:18471997.2661206858643851.JavaMail.root@cp1.dzone.com...
> Hi Antony,
> I tried to find the repository path provided for draw2d examples..but
> the path doesn't exists.
> If there is some other way to see the examples, plz let me know.
>
> Thanks for ur co-operation.
>
> Rashi.


Re: How to make a tree viewer in GEF. [message #242209 is a reply to message #242048] Tue, 08 April 2008 06:19 Go to previous message
Eclipse UserFriend
Originally posted by: shady_86.sify.com

Hi
The link shows an example where a tree structure (hierarical structure) is displayed on the editor, but what i want is to get a tree like structure in a view, where we can expand and contract the child of each node.
Same as we do in Outline view, with only difference to have 3 root nodes for each category of figure.
Previous Topic:force the selection of an edit part on move
Next Topic:Showing connections in Outline View
Goto Forum:
  


Current Time: Thu Apr 25 19:51:07 GMT 2024

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

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

Back to the top