Package org.eclipse.egit.ui.internal.merge

Examples of org.eclipse.egit.ui.internal.merge.GitCompareEditorInput


        final String commit1Path = getRenamedPath(gitPath, commit1);
        final String commit2Path = getRenamedPath(gitPath, commit2);
        CompareUtils.openInCompare(commit1, commit2, commit1Path,
            commit2Path, repo, workBenchPage);
      } else if (input instanceof IResource) {
        GitCompareEditorInput compareInput = new GitCompareEditorInput(
            commit1.name(), commit2.name(), (IResource) input);
        CompareUtils.openInCompare(workBenchPage, compareInput);
      } else if (input == null) {
        GitCompareEditorInput compareInput = new GitCompareEditorInput(
            commit1.name(), commit2.name(), repo);
        CompareUtils.openInCompare(workBenchPage, compareInput);
      }
    }
    return null;
View Full Code Here

TOP

Related Classes of org.eclipse.egit.ui.internal.merge.GitCompareEditorInput

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.