this.gui = gui;
}
public void run() {
SettingsDialog od = new SettingsDialog(gui);
if (od.open() == Dialog.OK) {
gui.setOpenFiles(od.getFiles());
gui.setDescriptorPatterns(od.getDescriptorPatterns());
gui.setPackagePatterns(od.getPackagePatterns());
open();
}
}