label.setText("Select modules to run:");
viewer = new CheckboxTreeViewer(parent, SWT.BORDER| SWT.MULTI | SWT.H_SCROLL | SWT.V_SCROLL);
final ModuleRegistryCheckStateProvider checkStateProvider = new ModuleRegistryCheckStateProvider(viewer);
viewer.setContentProvider(new ModuleRegistryContentProvider(checkStateProvider));
viewer.setLabelProvider(new ModuleRegistryLabelProvider());
viewer.setCheckStateProvider(checkStateProvider);
viewer.getTree().setLayoutData(new GridData(GridData.FILL_BOTH));
viewer.setInput(modules.toArray(new IScannerModule[0]));
viewer.addCheckStateListener(checkStateProvider);
}