Package org.eclipse.egit.ui.internal.blame

Examples of org.eclipse.egit.ui.internal.blame.BlameOperation$RevisionSelectionHandler


    String path = data.repositoryRelativePath;
    IStorage storage = data.storage;
    RevCommit startCommit = data.startCommit;
    Shell shell = HandlerUtil.getActiveShell(event);
    IWorkbenchPage page = HandlerUtil.getActiveSite(event).getPage();
    JobUtil.scheduleUserJob(new BlameOperation(repository, storage, path,
        startCommit, shell, page), UIText.ShowBlameHandler_JobName,
        JobFamilies.BLAME);
    return null;
  }
View Full Code Here


      IFileRevision rev = CompareUtils.getFileRevision(path, commit,
          getRepository(),
          d.getChange().equals(ChangeType.DELETE) ? d.getBlobs()[0]
              : d.getBlobs()[d.getBlobs().length - 1]);
      if (rev != null) {
        BlameOperation op = new BlameOperation(getRepository(),
            rev.getStorage(new NullProgressMonitor()), path,
            commit, window.getShell(), page);
        JobUtil.scheduleUserJob(op, UIText.ShowBlameHandler_JobName,
            JobFamilies.BLAME);
      } else {
View Full Code Here

          repo, null);
      if (revision == null)
        return null;

      IStorage storage = revision.getStorage(new NullProgressMonitor());
      BlameOperation op = new BlameOperation(repo, storage, path, commit,
          HandlerUtil.getActiveShell(event), page.getSite().getPage());
      JobUtil.scheduleUserJob(op, UIText.ShowBlameHandler_JobName,
          JobFamilies.BLAME);
    } catch (IOException e) {
      Activator.showError(UIText.ShowBlameHandler_errorMessage, e);
View Full Code Here

TOP

Related Classes of org.eclipse.egit.ui.internal.blame.BlameOperation$RevisionSelectionHandler

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.