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

Examples of org.eclipse.egit.ui.internal.push.PushWizard


  public Object execute(ExecutionEvent event) throws ExecutionException {
    final Repository repository = getRepository(true, event);
    if (repository == null)
      return null;

    final PushWizard pushWizard;
    try {
      pushWizard = new PushWizard(repository);
    } catch (URISyntaxException x) {
      ErrorDialog.openError(getShell(event),
          UIText.PushAction_wrongURITitle,
          UIText.PushAction_wrongURIDescription, new Status(
              IStatus.ERROR, Activator.getPluginId(), x
View Full Code Here


        break;
      case TAG:
        pushWiz = createPushTagsWizard(nodes);
        break;
      case REPO:
        pushWiz = new PushWizard(node.getRepository());
        break;
      default:
        throw new UnsupportedOperationException("type not supported!"); //$NON-NLS-1$
      }
    } catch (URISyntaxException e1) {
View Full Code Here

    PlatformUI.getWorkbench().getDisplay().asyncExec(new Runnable() {
      public void run() {
        try {
          Shell shell = PlatformUI.getWorkbench()
              .getActiveWorkbenchWindow().getShell();
          PushWizard pushWizard = new PushWizard(repository);
          WizardDialog dlg = new WizardDialog(shell, pushWizard);
          dlg.setHelpAvailable(false);
          dlg.open();
        } catch (Exception e) {
          throw new RuntimeException(e);
View Full Code Here

TOP

Related Classes of org.eclipse.egit.ui.internal.push.PushWizard

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.