Help -- setSelectionProvider in Editor -- possible bug [message #460633] |
Fri, 02 September 2005 01:48 |
Jennifer Mising name 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) {
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.05157 seconds