Package org.eclipse.egit.ui.internal.push

Examples of org.eclipse.egit.ui.internal.push.PushOperationUI.start()


        .getObjectId().name();
    objid = objid.substring(0, 7);
    touchAndSubmit(null);
    // push from other repository
    PushOperationUI op =new PushOperationUI(repository, "origin", false);
    op.start();

    String pushdialogTitle = NLS.bind(UIText.PushResultDialog_title,
        op.getDestinationString());

    bot.shell(pushdialogTitle).close();
View Full Code Here


      if (rc.getPushRefSpecs().isEmpty())
        rc.addPushRefSpec(new RefSpec(HEAD + ":" + gsd.getDstMerge())); //$NON-NLS-1$
      PushOperationUI push = new PushOperationUI(repo, rc, false);
      push.setCredentialsProvider(new EGitCredentialsProvider());
      push.start();
    }
  }

}
View Full Code Here

        }
      });
    } else {
      PushOperationUI op = new PushOperationUI(repository,
          config.getName(), false);
      op.start();
    }

  }

  @Override
View Full Code Here

          UIText.SimplePushActionHandler_NothingToPushDialogMessage);
      return null;
    }

    PushOperationUI op = new PushOperationUI(repository, config.getName(), false);
    op.start();
    return null;
  }

  @Override
  public boolean isEnabled() {
View Full Code Here

  public static void pushOrConfigure(final Repository repository,
      RemoteConfig config, Shell shell) {
    if (config != null) {
      PushOperationUI op = new PushOperationUI(repository,
          config.getName(), false);
      op.start();
    } else {
      Ref head = getHeadIfSymbolic(repository);
      if (head != null) {
        PushBranchWizard pushBranchWizard = new PushBranchWizard(
            repository, head);
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.