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
ConstructorsConstructorDescriptionControlSpaceKeyAdapter(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) voidkeyPressed(org.eclipse.swt.events.KeyEvent e) voidsetVariables(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:
keyPressedin interfaceorg.eclipse.swt.events.KeyListener- Overrides:
keyPressedin classorg.eclipse.swt.events.KeyAdapter
-
getVariableNames
-
setVariables
public void setVariables(org.pentaho.di.core.variables.VariableSpace vars)
-