[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
|
[news.eclipse.tools] Re: getViewSite().setSelectionProvider(viewer) problem
|
Stein M. Eliassen wrote:
> David Vicente wrote:
> > Stein M. Eliassen wrote:
> >
> >
> >>You must register the other treeviewers as SelectionProviders also.
> >
> >
> >
> >>Stein
> >
> >
> >
> > yes, i do that, each time i select a tabitem.
> >
> > I must register it when i create the treeitem ?
> >
> >
> You don't need to register the selectionprovider each time a tab is
> selected, just register it once when you create the tabitem/treeview.
> Stein
ok, but , for example, i have 3 tabitems with each a treeviewer and i
register
each treeviewer when i create it.
But only the first treeviewer works fine with property editor.
When i select an item in another treeviewer, it doesn't work.
so ???? i have no idea to resolve this problem