TextItem t = new TextItem(); t.addKeyPressHandler(new KeyPressHandler() { @Override public void onKeyPress(KeyPressEvent event) { if (EventHandler.ctrlKeyDown()) { if (event.getKeyName().equals("E")) { // DO WHATEVER } } } });
Comment