Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Event order on tree and table
Event order on tree and table [message #1266534] Fri, 07 March 2014 15:39 Go to next message
Andreas Hoegger is currently offline Andreas HoeggerFriend
Messages: 174
Registered: February 2010
Senior Member
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

Re: Event order on tree and table [message #1268332 is a reply to message #1266534] Mon, 10 March 2014 11:17 Go to previous message
Ivan Furnadjiev is currently offline Ivan FurnadjievFriend
Messages: 1861
Registered: July 2009
Senior Member
Hi Andreas,
just tested the events order against current RAP master and it is
mouseDown, selectionChanged, mouseUp. Could you try with RAP 2.3M1 or
latest nightly build?
Best,
Ivan

--
Ivan Furnadjiev

Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Previous Topic:ComboViewer - flag icons cannot appear
Next Topic:Which JavaScript Editor to use for development?
Goto Forum:
  


Current Time: Sat Nov 29 09:09:41 GMT 2014

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

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