Class KeyBindingManager
- java.lang.Object
-
- org.eclipse.emfforms.internal.swt.table.action.KeyBindingManager
-
public class KeyBindingManager extends java.lang.ObjectKey binding management class for viewer actions.- Since:
- 1.18
- Author:
- Mat Hansen
-
-
Constructor Summary
Constructors Constructor Description KeyBindingManager()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidapplyActionConfiguration(ActionConfiguration configuration)Apply action bindings stored within anActionConfiguration.voidbindAction(Action action, org.eclipse.jface.bindings.keys.KeyStroke keyStroke)Bind a new key binding to anAction.voidbindToViewer(org.eclipse.jface.viewers.Viewer viewer)Bind all known actions to a viewer.voidunbindFromViewer(org.eclipse.jface.viewers.Viewer viewer)Unbind from viewer.
-
-
-
Method Detail
-
bindAction
public void bindAction(Action action, org.eclipse.jface.bindings.keys.KeyStroke keyStroke)
Bind a new key binding to anAction.- Parameters:
action- the action to bindkeyStroke- the key stroke to bind to
-
applyActionConfiguration
public void applyActionConfiguration(ActionConfiguration configuration)
Apply action bindings stored within anActionConfiguration.- Parameters:
configuration- theActionConfigurationto apply
-
bindToViewer
public void bindToViewer(org.eclipse.jface.viewers.Viewer viewer)
Bind all known actions to a viewer.- Parameters:
viewer- the viewer to bind to
-
unbindFromViewer
public void unbindFromViewer(org.eclipse.jface.viewers.Viewer viewer)
Unbind from viewer.- Parameters:
viewer- the viewer to unbind from
-
-