Class 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 Detail

      • 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 object
        getCaretPositionInterface -
        insertTextInterface -
    • Method Detail

      • keyPressed

        public void keyPressed​(org.eclipse.swt.events.KeyEvent e)
        Specified by:
        keyPressed in interface org.eclipse.swt.events.KeyListener
        Overrides:
        keyPressed in class org.eclipse.swt.events.KeyAdapter
      • getVariableNames

        public static final String[] getVariableNames​(org.pentaho.di.core.variables.VariableSpace space)
      • setVariables

        public void setVariables​(org.pentaho.di.core.variables.VariableSpace vars)