Пример #1
0
  @Override
  public void setVisible(boolean visible) {
    super.setVisible(visible);
    if (!visible) return;

    jidCombo.setFocus();
  }
Пример #2
0
 protected void hookListeners() {
   jidCombo
       .getControl()
       .addModifyListener(
           new ModifyListener() {
             @Override
             public void modifyText(ModifyEvent e) {
               updatePageCompletion();
             }
           });
 }
Пример #3
0
 protected String getText() {
   return jidCombo.getText().trim();
 }