Event order on tree and table [message #1266534] |
Fri, 07 March 2014 15:39 |
Eclipse User |
|
|
|
hi there
we do have some problem with event orders in the tree and table control.
having a treeViewer (or table viewer) with the following listeners:
treeViewer.addSelectionChangedListneer(new ISelectionChangedListener{
public void selectionChanged(SelectionChangedEvent event) {
syso("selectionChanged");
}
}
treeViewer.getTree().addListener(SWT.MouseUp, new Listener(){
public void handleEvent(Event e) {
syso("mouseUp");
}
});
on a single mouse click on any tree/table item i get the following results:
RAP 2.2:
- selectionChanged
- mouseUp
RAP 2.3 (2.3.0.20131210-1030):
- mouseUp
- selectionChanged
SWT:
- selectionChanged
- mouseUp
What are your plans about this behavior. Since we relay on a constant event order we would appreciate a clear strategy.
Thank you
-andreas
|
|
|
|
Powered by
FUDForum. Page generated in 0.03753 seconds