Package org.eclipse.egit.ui.internal.synchronize.compare

Examples of org.eclipse.egit.ui.internal.synchronize.compare.LocalNonWorkspaceTypedElement


    ITypedElement left;
    ITypedElement right;
    if (obj instanceof GitModelWorkingFile) {
      IFile file = ResourceUtil.getFileForLocation(obj.getLocation());
      if (file == null)
        left = new LocalNonWorkspaceTypedElement(obj.getLocation());
      else
        left = SaveableCompareEditorInput.createFileElement(file);
      right = getCachedFileElement(obj);
    } else if (obj instanceof GitModelCacheFile) {
      left = getCachedFileElement(obj);
View Full Code Here


   */
  private static void compareLocalWithRef(Repository repository,
      IPath location, String refName, IWorkbenchPage page)
      throws IOException {
    final String gitPath = getRepoRelativePath(location, repository);
    final ITypedElement base = new LocalNonWorkspaceTypedElement(location);

    CompareEditorInput in = prepareCompareInput(repository, gitPath, base,
        refName);

    if (page != null)
View Full Code Here

TOP

Related Classes of org.eclipse.egit.ui.internal.synchronize.compare.LocalNonWorkspaceTypedElement

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.