public void createFieldEditors() { profiles = constructComboBox(); profiles.addListener(listener); profileName = new StringFieldEditor( PreferenceTypeConstants.P_PROFILE_DISPLAY, PreferenceStringConstants.PROFILE, getFieldEditorParent()); userName = new StringFieldEditor( PreferenceTypeConstants.P_JBOSS_USER, PreferenceStringConstants.JBOSS_USER, getFieldEditorParent()); password = new StringFieldEditor( PreferenceTypeConstants.P_JBOSS_PASSWORD, PreferenceStringConstants.JBOSS_PASSWORD, getFieldEditorParent()); url = new StringFieldEditor( PreferenceTypeConstants.P_JBOSS_URL, PreferenceStringConstants.JBOSS_URL, getFieldEditorParent()); addField(profiles); addField(profileName); addField(userName); addField(password); addField(url); }
private void deleteProfileOption() { profiles.deleteCurrentProfile(); }
private void updateProfileOption(String profileName, String profileValue) { profiles.updateNameValue(getProfileNameValue()); }