Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » SelectionProvider?
SelectionProvider? [message #466999] Fri, 27 April 2007 07:50 Go to next message
dl is currently offline dlFriend
Messages: 33
Registered: July 2009
Member
please help,
I have tree viewer and table viewer on the same view part,
and I should register them as selection providers, but
but via method:
getSite().setSelectionProvider(ISelectionProvider provider);

It can be regisetered only one provider, table or tree, not both.

So, what do you thing about this problem?

Best regards

/Daniel
Re: SelectionProvider? [message #467029 is a reply to message #466999] Fri, 27 April 2007 09:40 Go to previous messageGo to next message
Filippo Carone is currently offline Filippo CaroneFriend
Messages: 2
Registered: July 2009
Junior Member
Daniel Ladavac wrote:
> please help,
> I have tree viewer and table viewer on the same view part,
> and I should register them as selection providers, but
> but via method:
> getSite().setSelectionProvider(ISelectionProvider provider);
>
> It can be regisetered only one provider, table or tree, not both.
>
> So, what do you thing about this problem?

http://www.eclipse.org/articles/Article-WorkbenchSelections/ article.html

search within the page for "Multiple Selection Providers Within a Part"

Cheers,
Filippo
Re: SelectionProvider? [message #467042 is a reply to message #466999] Fri, 27 April 2007 12:52 Go to previous message
Anand is currently offline AnandFriend
Messages: 22
Registered: July 2009
Junior Member
U can set selectionProvider on Viewer's gotFocus() event or selectionChanged Listener...
Previous Topic:JFace dynamic menu accelerators
Next Topic:Configuration scope problems
Goto Forum:
  


Current Time: Thu Apr 25 23:10:03 GMT 2024

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

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

Back to the top