return pressedKeys.contains(key);
}
@Override
public void getTextInput (TextInputListener listener, String title, String text) {
TextInputDialogBox dialog = new TextInputDialogBox(title, text, null);
final TextInputListener capturedListener = listener;
dialog.setListener(new TextInputDialogListener() {
@Override
public void onPositive (String text) {
if (capturedListener != null) {
capturedListener.input(text);
}