Package org.eclipse.egit.ui.internal.history

Examples of org.eclipse.egit.ui.internal.history.CommitSelectionDialog.open()


      return null;
    IResource[] resources = getSelectedResources(event);

    CommitSelectionDialog dlg = new CommitSelectionDialog(getShell(event),
        repo, resources);
    if (dlg.open() != Window.OK)
      return null;

    final String commitId = dlg.getCommitId().getName();

    IWorkbenchPage workBenchPage = PlatformUI.getWorkbench()
View Full Code Here


  @Override
  protected String gatherRevision(ExecutionEvent event) throws ExecutionException {
    IResource[] resources = gatherResourceToOperateOn(event);
    CommitSelectionDialog dlg = new CommitSelectionDialog(getShell(event),
        getRepository(true, event), resources);
    if (dlg.open() == Window.OK)
      return dlg.getCommitId().name();
    else
      throw new OperationCanceledException();
  }
}
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.