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

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


    String currentFullBranch = getFullBranch(repository);
    if (ref != null && ref.getName().equals(currentFullBranch))
      ref = null;

    if (ref == null) {
      RebaseTargetSelectionDialog rebaseTargetSelectionDialog = new RebaseTargetSelectionDialog(
          getShell(event), repository);
      if (rebaseTargetSelectionDialog.open() == IDialogConstants.OK_ID) {
        String refName = rebaseTargetSelectionDialog.getRefName();
        try {
          ref = repository.getRef(refName);
        } catch (IOException e) {
          throw new ExecutionException(e.getMessage(), e);
        }
        interactive = rebaseTargetSelectionDialog.isInteractive();
        preserveMerges = rebaseTargetSelectionDialog.isPreserveMerges();
      } else
        return;
    }

    jobname = NLS.bind(
View Full Code Here

TOP

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

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.