envName2NameValueMap.put(name, var);
updateEnvironmentVariables ();
}
private void handleAddButton () {
EditParamWizard wizard = new EditParamWizard(Messages.DDE_EnvVariable_Wizard_ADD_Title,
Messages.DDE_EnvVariable_Wizard_ADD_Description, "", "");
WizardDialog dialog = new WizardDialog(form.getShell(), wizard);
if (dialog.open() != Window.OK) {
return;
}
String name = wizard.getName();
String value = wizard.getValue();
if (name.length() == 0) {
return;
}
NameValue nv = new NameValue(name, value);
addAndCheckVariable(nv);