Hi,

Have you tried using a regular handler for this command, implement
enableWhen/setEnabled() so it's only enabled on the desired editor and see
whether the command then handled on Shift+S? If this works fine, then
instead of defining the Action in the editor, you can keep the handler and
use a "CommandAction" in the editor to just reference the command and the
handler. This pattern usually works well and has a few benefits over
implementing Actions directly in editors IMO.

HTH
_______________________________________________
platform-dev mailing list
[email protected]
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/platform-dev

Reply via email to