org.eclipse.xtext.ui.editor.embedded
Class ActivationCodeTrigger

java.lang.Object
  extended by org.eclipse.xtext.ui.editor.embedded.ActivationCodeTrigger
All Implemented Interfaces:
java.util.EventListener, org.eclipse.swt.custom.VerifyKeyListener, org.eclipse.swt.internal.SWTEventListener

public class ActivationCodeTrigger
extends java.lang.Object
implements org.eclipse.swt.custom.VerifyKeyListener

VerifyKeyListener that will trigger a matching action directly instead of using the key binding API.

Author:
Sebastian Zarnekow - Initial contribution and API

Constructor Summary
ActivationCodeTrigger(java.util.Map<java.lang.String,org.eclipse.jface.action.IAction> actions, java.util.List<ActionActivationCode> activationCodes)
           
 
Method Summary
 void verifyKey(org.eclipse.swt.events.VerifyEvent event)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ActivationCodeTrigger

public ActivationCodeTrigger(java.util.Map<java.lang.String,org.eclipse.jface.action.IAction> actions,
                             java.util.List<ActionActivationCode> activationCodes)
Method Detail

verifyKey

public void verifyKey(org.eclipse.swt.events.VerifyEvent event)
Specified by:
verifyKey in interface org.eclipse.swt.custom.VerifyKeyListener