Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » How to make a view aware of selection in another view
How to make a view aware of selection in another view [message #461369] Wed, 21 September 2005 14:01 Go to next message
Martin Umgeher is currently offline Martin UmgeherFriend
Messages: 3
Registered: July 2009
Junior Member
Hi,

I have two views showing table viewers. The content of view #2 depends
on the selection in view #1. I'd like to use the
ISelectionProvider/ISelectionListener approach for notifying view #2
about selection changes.

View #2 registers itself via getSite().getPage().addSelectionListener.
My question is: how can I register view #1 as an ISelectionProvider? (I
don't want to use getSite().setSelectionProvider because I don't want
the view to be the _only_ selection provider available.)

TIA
Martin
Re: How to make a view aware of selection in another view [message #461373 is a reply to message #461369] Wed, 21 September 2005 14:25 Go to previous message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

You should probably ask this question on the eclipse.platform newsgroup.

Later,
PW


Previous Topic:Animation in SWT
Next Topic:Problem with Spinner
Goto Forum:
  


Current Time: Mon Oct 21 12:31:51 GMT 2019

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

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

Back to the top