Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Is it possible to know if an event triggered other events?
Is it possible to know if an event triggered other events? [message #1238123] Fri, 31 January 2014 13:02
Mickael Istria is currently offline Mickael IstriaFriend
Messages: 827
Registered: July 2009
Location: Grenoble, France
Senior Member

Hi all,

SWTBot recorder ( http://wiki.eclipse.org/SWTBot/Recorder ) is
monitoring at the events by adding a filter. In order to stay relevant
and supporting events that match the "user grain", it's only monitoring
some events that can easily be mapped to user operations (Modify,
Selection...) but not some low-level ones which are generally pure
technical and not functional, such as KeyDown, KeyUp, MouveMove...

This already works for the main use-cases. But let's speak about the
corner-case scenario which makes me write this post:
I'd like to monitor the shortcut operations. Shortcut can be understood
as KeyDown events that don't trigger other events (as opposed to typed
text which triggers a Modify, or Space on a button which triggers a Select).
So I'm wondering if there is a way to know whether an event is "final"
or whether it does trigger other events.

Any help is welcome and ideas are welcome here, or even better, on the
related bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=427096

Cheers,
--
Mickael Istria
My job: http://www.jboss.org/tools
My blog: http://mickaelistria.wordpress.com
My Tweets: http://twitter.com/mickaelistria
Previous Topic:Ruler as in OpenOffice
Next Topic:SWT Tools Update Sites are offline - zipped p2 repo available?
Goto Forum:
  


Current Time: Wed Oct 18 04:07:04 GMT 2017

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

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