Bug in Eclipse ??? [message #290838] |
Fri, 02 September 2005 01:46 |
Eclipse User |
|
|
|
Originally posted by: jmahlke.mit.edu
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) {
getSite().setSelectionProvider(viewer);
}
});
(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
-Jeniifer
|
|
|
Powered by
FUDForum. Page generated in 0.03425 seconds