@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(); }
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()); }