protected void openAndSetWizard() {
IResource[] unaddedResources = new IResource[unaddedList.size()];
unaddedList.toArray(unaddedResources);
//进入向导页
PreCommitRequestWizard wizardCommitRequestWizard = new PreCommitRequestWizard( getTargetPart(), getTargetPage(),
null == modifiedResources ? null : new StructuredSelection(modifiedResources),
unaddedResources, resourcesSelectedByUser, statusMap, reviewboardClient);
wizardCommitRequestWizard.setWindowTitle(RbSubclipseMessages.getString("PreReviewBoardAction.dialogTitle"));
wizardCommitRequestWizard.setSelectedResources(getSelectedResources());
int height = 580;
RbConfig rbConfig = RbConfigReader.getRbConfig(null);
if( rbConfig.isAllowCompareVersionForPreCommit() ){
height += 70;
}