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?
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
>