Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » asynchronous access to the current CTRL or SHIFT modifiers
asynchronous access to the current CTRL or SHIFT modifiers [message #233526] Thu, 26 April 2007 01:37 Go to next message
Damian Biollo is currently offline Damian BiolloFriend
Messages: 19
Registered: July 2009
Junior Member
Hi there,

Is there a way to find out if CTRL or SHIFT have been pressed from an
EditPolicy or EditPart? For example, this is code that is called on a
timer, rather than a keyboard or mouse event.

It would be nice if the the state of modifier keys was cached in the
root Tool, Domain or Viewer and easily accessible.

Thanks
Damian
Re: asynchronous access to the current CTRL or SHIFT modifiers [message #233568 is a reply to message #233526] Thu, 26 April 2007 14:55 Go to previous message
Alex Boyko is currently offline Alex BoykoFriend
Messages: 200
Registered: July 2009
Senior Member
Hi,

Isn't there any way to get around this? For example, you could register a
key listener on the figure and cache the currently pressed key.

Cheers,
Alex
Previous Topic:DirectEditManger and UpdateManager
Next Topic:Associating FigureCanvas with external Sliders
Goto Forum:
  


Current Time: Fri Mar 29 06:07:07 GMT 2024

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

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

Back to the top