Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Nebula » acessing swt tree object from GridTreeViewer
acessing swt tree object from GridTreeViewer [message #755500] Tue, 08 November 2011 16:35 Go to next message
Eclipse UserFriend
Hello,

I am using a GridTreeViewer that I try to adapt to an EMF based model.
While it is feasible to get the Tree object from a TreeViewer, I cannot
get the underlying Tree object from the GridTableViewer.

I therefore cannot adapt ny EMF model as the AdapterFactoryTreeEditor
class from EMF accepts a SWT Tree object as a parameter.

Any Idea how to get the Tree object from within a GridTreeViewer?

Thanks,

Mircea
Re: acessing swt tree object from GridTreeViewer [message #757906 is a reply to message #755500] Wed, 16 November 2011 00:10 Go to previous message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 5467
Registered: July 2009
Senior Member
Grid is in fact also a Tree but the API is a bit different in some
aspects so don't think you can do that easily.

Tom

Am 08.11.11 17:35, schrieb M Luchian:
> Hello,
>
> I am using a GridTreeViewer that I try to adapt to an EMF based model.
> While it is feasible to get the Tree object from a TreeViewer, I cannot
> get the underlying Tree object from the GridTableViewer.
>
> I therefore cannot adapt ny EMF model as the AdapterFactoryTreeEditor
> class from EMF accepts a SWT Tree object as a parameter.
>
> Any Idea how to get the Tree object from within a GridTreeViewer?
>
> Thanks,
>
> Mircea
>
Previous Topic:Grid cell selection
Next Topic:New: A TreeMapper widget
Goto Forum:
  


Current Time: Wed Nov 26 09:16:24 GMT 2014

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

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