public class ControlSpaceKeyAdapter
extends org.eclipse.swt.events.KeyAdapter
Constructor and Description |
---|
ControlSpaceKeyAdapter(VariableSpace space,
org.eclipse.swt.widgets.Control control) |
ControlSpaceKeyAdapter(VariableSpace space,
org.eclipse.swt.widgets.Control control,
GetCaretPositionInterface getCaretPositionInterface,
InsertTextInterface insertTextInterface) |
Modifier and Type | Method and Description |
---|---|
static String[] |
getVariableNames(VariableSpace space) |
void |
keyPressed(org.eclipse.swt.events.KeyEvent e) |
void |
setVariables(VariableSpace vars) |
public ControlSpaceKeyAdapter(VariableSpace space, org.eclipse.swt.widgets.Control control)
space
- control
- a Text or CCombo box objectpublic ControlSpaceKeyAdapter(VariableSpace space, org.eclipse.swt.widgets.Control control, GetCaretPositionInterface getCaretPositionInterface, InsertTextInterface insertTextInterface)
space
- control
- a Text or CCombo box objectgetCaretPositionInterface
- insertTextInterface
- public void keyPressed(org.eclipse.swt.events.KeyEvent e)
keyPressed
in interface org.eclipse.swt.events.KeyListener
keyPressed
in class org.eclipse.swt.events.KeyAdapter
public static final String[] getVariableNames(VariableSpace space)
public void setVariables(VariableSpace vars)
Copyright © 2019 Hitachi Vantara. All rights reserved.