示例#1
0
 @Override
 public boolean performOk() {
   OM.PREF_CONNECTOR_DESCRIPTION.setValue(connectorDescription.getText());
   OM.PREF_USER_ID.setValue(userID.getText());
   OM.PREF_PASSWORD.setValue(password.getText());
   OM.PREF_AUTO_CONNECT.setValue(autoConnect.getSelection());
   return super.performOk();
 }
示例#2
0
 protected void initValues() {
   connectorDescription.setText(OM.PREF_CONNECTOR_DESCRIPTION.getValue());
   userID.setText(OM.PREF_USER_ID.getValue());
   password.setText(OM.PREF_PASSWORD.getValue());
   autoConnect.setSelection(OM.PREF_AUTO_CONNECT.getValue());
 }