String[] exports = StringUtil.getElementsFromString(exportsTextField.getText());
ExportProperties exportsElement = ((GsisshHostType)hostDescription.getType()).addNewExports();
for (String export : exports) {
String[] nameVal = StringUtil.getElementsFromString(export,"=",StringUtil.QUOTE);
if (nameVal.length>0){
Name name = exportsElement.addNewName();
name.setStringValue(nameVal[0]);
if (nameVal.length>1){
name.setValue(nameVal[1]);
}
}
}
((GsisshHostType)hostDescription.getType()).setPreJobCommandsArray(StringUtil.getElementsFromString(this.preJobCommandsTextField.getText()));
((GsisshHostType)hostDescription.getType()).setPostJobCommandsArray(StringUtil.getElementsFromString(this.postJobCommandsTextField.getText()));