use of org.pentaho.di.ui.core.dialog.KettlePropertiesFileDialog in project pentaho-kettle by pentaho.
the class Spoon method editKettlePropertiesFile.
public void editKettlePropertiesFile() {
KettlePropertiesFileDialog dialog = new KettlePropertiesFileDialog(shell, SWT.NONE);
Map<String, String> newProperties = dialog.open();
if (newProperties != null) {
for (String name : newProperties.keySet()) {
String value = newProperties.get(name);
applyVariableToAllLoadedObjects(name, value);
// Also set as a JVM property
//
System.setProperty(name, value);
}
}
}
Aggregations