Skip to main content



      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] Wed, 25 April 2007 21:37 Go to next message
Eclipse UserFriend
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 10:55 Go to previous message
Eclipse UserFriend
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: Mon Jul 14 12:30:08 EDT 2025

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

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

Back to the top