Skip to main content


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
Eclipse UserFriend
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: 2426
Registered: July 2009
Location: Sofia, Bulgaria
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:repository for dropdown widget no available
Next Topic:Chrome and RAP 2.1
Goto Forum:
  


Current Time: Sat Apr 20 04:15:51 GMT 2024

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

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

Back to the top