Package com.taobao.eclipse.plugin.reviewboard.subclipse.wizard.requestoperation.postcommit

Examples of com.taobao.eclipse.plugin.reviewboard.subclipse.wizard.requestoperation.postcommit.PostCommitRequestWizard


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);
View Full Code Here


    protected void openAndSetWizard() {
        IResource[] unaddedResources = new IResource[unaddedList.size()];
        unaddedList.toArray(unaddedResources);
       
        //进入向导页
        PostCommitRequestWizard wizardCommitRequestWizard = new PostCommitRequestWizard( getTargetPart(), getTargetPage(),
                null == modifiedResources ? null : new StructuredSelection(modifiedResources),
                        resourcesSelectedByUser, statusMap, reviewboardClient);
        wizardCommitRequestWizard.setWindowTitle(RbSubclipseMessages.getString("PostReviewBoardAction.dialogTitle"));
        wizardCommitRequestWizard.setSelectedResources(getSelectedResources());
        int height = 645;
        RbConfig rbConfig = RbConfigReader.getRbConfig(null);
        if( rbConfig.isAllowOptionBugClosed() ){
            height += 30;
        }
View Full Code Here

TOP

Related Classes of com.taobao.eclipse.plugin.reviewboard.subclipse.wizard.requestoperation.postcommit.PostCommitRequestWizard

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.