@Override public void setVisible(boolean visible) { super.setVisible(visible); if (!visible) return; jidCombo.setFocus(); }
protected void hookListeners() { jidCombo .getControl() .addModifyListener( new ModifyListener() { @Override public void modifyText(ModifyEvent e) { updatePageCompletion(); } }); }
protected String getText() { return jidCombo.getText().trim(); }