final GridLayout gridLayout = new GridLayout();
gridLayout.numColumns = 2;
shell= new Shell(sos.scheduler.editor.app.MainWindow.getSShell(), SWT.CLOSE | SWT.TITLE | SWT.APPLICATION_MODAL | SWT.BORDER | SWT.RESIZE);
shell.setLayout(new FillLayout());
shell.setMinimumSize(620, 643);
shell.setImage(ResourceManager.getImageFromResource("/sos/scheduler/editor/editor.png"));
shell.setText("Details for JobChain: " + jobChainname +
(state != null && state.length()> 0 ? " State: " + state: "") +
(orderId != null && orderId.length() > 0 ? " Order Id: " + orderId : ""));
final Composite composite = new Composite( shell, SWT.NONE);
composite.setLayout(new FillLayout());
final GridData gridData_6 = new GridData(GridData.FILL, GridData.CENTER, false, false, 3, 1);
gridData_6.widthHint = 500;
gridData_6.heightHint = 500;
//dialogForm =new DetailForm(composite, SWT.NONE, jobChainname, state, listOfOrderIds, Editor.JOB_CHAINS, null, null, isLifeElement, path);
dialogForm =new DetailForm(composite, SWT.NONE, jobChainname, state, orderId, Editor.JOB_CHAINS, null, null, isLifeElement, path);
if(!dialogForm.hasErrors())//im fehlerfall
dialogForm.setLayout(new FillLayout());
}