Package org.eclipse.egit.ui.internal.dialogs

Examples of org.eclipse.egit.ui.internal.dialogs.CommitSelectDialog.open()


      HandlerUtil.getActiveShell(event).getDisplay()
          .syncExec(new Runnable() {
            public void run() {
              CommitSelectDialog dlg = new CommitSelectDialog(
                  HandlerUtil.getActiveShell(event), commits);
              if (dlg.open() == Window.OK)
                for (PreviousCommit pc : previousList)
                  if (pc.commit.equals(dlg
                      .getSelectedCommit())) {
                    previous.set(pc);
                    break;
View Full Code Here


                        resources[0].getName()));
        throw new OperationCanceledException();
      } else if (parentCount > 1) {
        CommitSelectDialog dlg = new CommitSelectDialog(
            getShell(event), previousCommits);
        if (dlg.open() == Window.OK)
          return dlg.getSelectedCommit().getName();
        else
          throw new OperationCanceledException();
      } else
        return previousCommits.get(0).getName();
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.