Community
Participate
Working Groups
Build Identifier: M20080911-1700 They interface for org.eclipse.gef.requests.SelectionRequest was not designed with OS X in mind. There is a way to set the statemask (modifiers), but no way to get it. There are getters to check if a variety of keys are pressed, but no getter to check if the Command key is pressed. This is a problem for any client of SelectionRequest that wants to enable proper functionality for the primary modifier key on the MacOS X platform. The only workaround is to use reflection to get the statemask (not really an acceptable workaround). Reproducible: Always Steps to Reproduce: 1. Look at the interface for org.eclipse.gef.requests.SelectionRequest.
Created attachment 166885 [details] the minimal additions that should be made to SelectionRequest
Added method to check if COMMAND key was pressed (isCommandKeyPressed()). Added method to access modifiers (getModifiers()). Changes committed to cvs HEAD (3.7).