Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Help -- setSelectionProvider in Editor -- possible bug
Help -- setSelectionProvider in Editor -- possible bug [message #460633] Fri, 02 September 2005 01:48
Jennifer Mising name is currently offline Jennifer Mising nameFriend
Messages: 6
Registered: July 2009
Junior Member
I have created a FormPage, and inside the FormPage (or Editor) there are
several Tables being displayed at the same time in one Page. I have a
View trying to listen to EACH Table seperately when that paricular Table
gains focus.

My View extends ISelectionListener and in my Editor (the FormPage) I have
this code:

viewer.addSelectionChangedListener(new ISelectionChangedListener() {
public void selectionChanged(SelectionChangedEvent event) {

(note: the viewer is just a TableViewer)

But, each time my app is running and the a Table gains focus the View will
ONLY listen to events fired in the LAST Table loaded in the Editor. I
need the selectionProvider to switch from Table to Table...

Does anyone have ANY suggestions at all?
Thanks in advance
Previous Topic:TreeTable in Swing?
Next Topic:I want my data show like the files rank in windows in a list,How can I do?
Goto Forum:

Current Time: Mon May 10 09:08:25 GMT 2021

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

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

Back to the top