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

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


  @Override
  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


    } catch (InterruptedException e) {
      // ignore, we will not show the commit dialog in case the user
      // cancels the scope operation
      return null;
    }
    CommitUI commitUi = new CommitUI(shell, repo, resourcesInScope,
        false);
    commitUi.commit();
    return null;
  }
View Full Code Here

TOP

Related Classes of org.eclipse.egit.ui.internal.commit.CommitUI

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.