@SuppressWarnings("deprecation")
protected void createSourceSelectionTreeOrTable(Composite composite) {
IToolbarControlCreator toolbarControlCreator = getToolbarControlCreator();
if( null != resources && resources.length != 0 ){
resourceSelectionTree = new ResourceSelectionTreePreCommit(composite, SWT.NONE,
RbSubclipseMessages.getString("PreReviewBoardAction.dialogTitle_1"),
resources, statusMap, null, true, toolbarControlCreator, null); //$NON-NLS-1$
((CheckboxTreeViewer)resourceSelectionTree.getTreeViewer()).setAllChecked(true);
resourceSelectionTree.getTreeViewer().addSelectionChangedListener(new ISelectionChangedListener() {
public void selectionChanged(SelectionChangedEvent event) {