children[i].dispose();
}
TreeItem item = tree.getSelection()[0];
_dom.setInit(true);
DetailForm df = null;
try {
if(jobChainname == null) {
df = new DetailForm(c, SWT.NONE, Editor.DETAILS, _dom, _gui, false, null);
df.setLayout(new org.eclipse.swt.layout.FillLayout());
} else {
Composite composite = new Composite(c.getShell(), SWT.NONE);
composite.setLayout(new org.eclipse.swt.layout.FillLayout());
df = new DetailForm(composite, SWT.NONE, jobChainname, item.getData() != null && !(item.getData() instanceof sos.scheduler.editor.app.TreeData)? item.getData().toString(): null, null, Editor.DETAILS, _dom, _gui, false, null);
df.setLayout(new org.eclipse.swt.layout.FillLayout());
}
df.setTree(tree);
df.setJobChainConfigurationListener(this);
df.open();
if(df.hasErrors()) {
df.dispose();
_gui.close();
return false;
}
} catch (Exception e) {
try {
new sos.scheduler.editor.app.ErrorLog("error in " + sos.util.SOSClassUtil.getMethodName(), e);
} catch(Exception ee) {
//tu nichts
}
MainWindow.message(e.getMessage(), SWT.ICON_ERROR);
df.dispose();
_gui.close();
return false;
}