Package org.pentaho.di.ui.core.widget
Class ControlSpaceKeyAdapter
java.lang.Object
org.eclipse.swt.events.KeyAdapter
org.pentaho.di.ui.core.widget.ControlSpaceKeyAdapter
- All Implemented Interfaces:
EventListener
,org.eclipse.swt.events.KeyListener
,org.eclipse.swt.internal.SWTEventListener
public class ControlSpaceKeyAdapter
extends org.eclipse.swt.events.KeyAdapter
-
Constructor Summary
ConstructorDescriptionControlSpaceKeyAdapter
(org.pentaho.di.core.variables.VariableSpace space, org.eclipse.swt.widgets.Control control) ControlSpaceKeyAdapter
(org.pentaho.di.core.variables.VariableSpace space, org.eclipse.swt.widgets.Control control, GetCaretPositionInterface getCaretPositionInterface, InsertTextInterface insertTextInterface) -
Method Summary
Modifier and TypeMethodDescriptionstatic final String[]
getVariableNames
(org.pentaho.di.core.variables.VariableSpace space) void
keyPressed
(org.eclipse.swt.events.KeyEvent e) void
setVariables
(org.pentaho.di.core.variables.VariableSpace vars) Methods inherited from class org.eclipse.swt.events.KeyAdapter
keyReleased
-
Constructor Details
-
ControlSpaceKeyAdapter
public ControlSpaceKeyAdapter(org.pentaho.di.core.variables.VariableSpace space, org.eclipse.swt.widgets.Control control) - Parameters:
space
-control
- a Text or CCombo box object
-
ControlSpaceKeyAdapter
public ControlSpaceKeyAdapter(org.pentaho.di.core.variables.VariableSpace space, org.eclipse.swt.widgets.Control control, GetCaretPositionInterface getCaretPositionInterface, InsertTextInterface insertTextInterface) - Parameters:
space
-control
- a Text or CCombo box objectgetCaretPositionInterface
-insertTextInterface
-
-
-
Method Details
-
keyPressed
public void keyPressed(org.eclipse.swt.events.KeyEvent e) - Specified by:
keyPressed
in interfaceorg.eclipse.swt.events.KeyListener
- Overrides:
keyPressed
in classorg.eclipse.swt.events.KeyAdapter
-
getVariableNames
-
setVariables
public void setVariables(org.pentaho.di.core.variables.VariableSpace vars)
-