public class PostCommitHistoryReviewBoardAction extends AbstractPostHistoryReviewBoardAction {
@Override
public void openAndSetWizard() {
//进入向导页
PostCommitRequestWizard wizardCommitRequestWizard = new PostCommitRequestWizard(
getTargetPart(), getTargetPage(), selectedResources, reviewboardClient, startVersion, stopVersion);
wizardCommitRequestWizard.setWindowTitle(RbSubclipseMessages.getString("PostReviewBoardAction.dialogTitle"));
wizardCommitRequestWizard.setSelectedResources(getSelectedResources());
if( null != selectedSVNResources && selectedSVNResources.length > 0 ){
wizardCommitRequestWizard.setSvnHistoryUrl(selectedSVNResources[0].getUrl().toString());
wizardCommitRequestWizard.setSvnHistoryUrlIsFolder(selectedSVNResources[0].isFolder());
if( selectedSVNResources[0].isFolder() ){
wizardCommitRequestWizard.setSvnHistoryUrlForBaseUpload(selectedSVNResources[0].getUrl().toString());
}else{
wizardCommitRequestWizard.setSvnHistoryUrlForBaseUpload(selectedSVNResources[0].getUrl().getParent().toString());
}
}
int height = 645;
RbConfig rbConfig = RbConfigReader.getRbConfig(null);