Composite composite = new Composite(parent, SWT.NONE);
GridLayout gridLayout = new GridLayout();
gridLayout.numColumns = 2;
composite.setLayout(gridLayout);
JBPMRuntime defaultRuntime = JBPMRuntimeManager.getDefaultJBPMRuntime();
projectSpecificRuntime = createCheckBox(composite,
"Use default jBPM Runtime (currently "
+ (defaultRuntime == null ? "undefined)" : defaultRuntime.getName() + ")"));
projectSpecificRuntime.setSelection(true);
projectSpecificRuntime.addSelectionListener(new SelectionListener() {
public void widgetDefaultSelected(SelectionEvent e) {
// do nothing
}