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

Examples of org.eclipse.egit.ui.internal.dialogs.ResetTargetSelectionDialog


          UIText.ResetAction_errorResettingHead, NLS.bind(
              UIText.ResetAction_repositoryState, repository
                  .getRepositoryState().getDescription()));
      return null;
    }
    ResetTargetSelectionDialog branchSelectionDialog = new ResetTargetSelectionDialog(
        getShell(event), repository);
    if (branchSelectionDialog.open() == IDialogConstants.OK_ID) {
      final String refName = branchSelectionDialog.getRefName();
      final ResetType type = branchSelectionDialog.getResetType();
      String jobname = NLS.bind(UIText.ResetAction_reset, refName);
      final ResetOperation operation = new ResetOperation(repository,
          refName, type);
      JobUtil.scheduleUserWorkspaceJob(operation, jobname,
          JobFamilies.RESET);
View Full Code Here

TOP

Related Classes of org.eclipse.egit.ui.internal.dialogs.ResetTargetSelectionDialog

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.