Package org.eclipse.egit.ui.internal.commit

Examples of org.eclipse.egit.ui.internal.commit.CommitUI.commit()


  protected void buttonPressed(int buttonId) {
    switch (buttonId) {
    case IDialogConstants.PROCEED_ID:
      CommitUI commitUI = new CommitUI(getShell(), repository,
          new IResource[0], true);
      shouldContinue = commitUI.commit();
      break;
    case IDialogConstants.ABORT_ID:
      final ResetOperation operation = new ResetOperation(repository,
          Constants.HEAD, ResetType.HARD);
      String jobname = NLS.bind(UIText.ResetAction_reset, Constants.HEAD);
View Full Code Here


      // cancels the scope operation
      return null;
    }
    CommitUI commitUi = new CommitUI(shell, repo, resourcesInScope,
        false);
    commitUi.commit();
    return null;
  }

  @Override
  public boolean isEnabled() {
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.