Package com.taobao.eclipse.plugin.reviewboard.subclipse.diffoperation

Examples of com.taobao.eclipse.plugin.reviewboard.subclipse.diffoperation.GeneratePreCommitDiffOperation


           
            SVNRevision compareVersion = null;
            if( mainPage.getStartVersion() > 0 ){
                compareVersion = new SVNRevision.Number(mainPage.getStartVersion());
            }
            GeneratePreCommitDiffOperation generateDiffFileOperation = new GeneratePreCommitDiffOperation(
                    mainPageSelectedResources, unaddedAllResourceList, null, getShell(), compareVersion );
            getContainer().run(true, true, generateDiffFileOperation);
            fileDiffs = generateDiffFileOperation.getFileDiffs();
            Map<String, StringBuilder> diffContentSBByCharset = generateDiffFileOperation.getDiffContentSBByCharset();
            if( null != diffContentSBByCharset && !diffContentSBByCharset.isEmpty() && diffContentSBByCharset.size() > 1){
                boolean isConfirm = MessageDialog.openConfirm(getShell(),
                        RbSubclipseMessages.getString("WARNING_LABLE"),
                        RbSubclipseMessages.getString("PROMPTING_ENCODING_0"));
                if(!isConfirm){
View Full Code Here

TOP

Related Classes of com.taobao.eclipse.plugin.reviewboard.subclipse.diffoperation.GeneratePreCommitDiffOperation

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.