Package org.eclipse.jface.wizard

Examples of org.eclipse.jface.wizard.WizardDialog.open()


                      .resolveDeploymentInfoWorkingCopy(monitor);

                  EnvVarsWizard wizard = new EnvVarsWizard(cloudServer, appModule, infoWorkingCopy);
                  WizardDialog dialog = new WizardDialog(editorPage.getEditorSite().getShell(),
                      wizard);
                  dialog.open();
                  return Status.OK_STATUS;
                }
                catch (CoreException e) {
                  return e.getStatus();
                }
View Full Code Here


                else if (CloudErrorUtil.isWrongCredentialsException(coreException)) {
                  CloudFoundryCredentialsWizard wizard = new CloudFoundryCredentialsWizard(editorPage
                      .getCloudServer());
                  WizardDialog dialog = new WizardDialog(Display.getDefault().getActiveShell(),
                      wizard);
                  if (dialog.open() == Dialog.OK) {
                    CloudFoundryEditorAction.this.run();
                    return;
                  }
                }
              }
View Full Code Here

      public void widgetSelected(SelectionEvent e) {

        OrgsAndSpacesWizard wizard = new OrgsAndSpacesWizard(cfServer);

        WizardDialog dialog = new WizardDialog(getShell(), wizard);
        dialog.open();

      }
    });
  }
View Full Code Here

      UIJob job = new UIJob(getJobName()) {

        public IStatus runInUIThread(IProgressMonitor monitor) {
          OrgsAndSpacesWizard wizard = new OrgsAndSpacesWizard(cloudServer);
          WizardDialog dialog = new WizardDialog(shell, wizard);
          dialog.open();

          return Status.OK_STATUS;
        }
      };
      job.setSystem(true);
View Full Code Here

        try {
          if (serverBehaviour != null){
            ServiceToApplicationsBindingWizard wizard = new ServiceToApplicationsBindingWizard(servicesHandler,
                serverBehaviour.getCloudFoundryServer(),editorPage);
            WizardDialog dialog = new WizardDialog(getEditorPage().getSite().getShell(), wizard);
            dialog.open();         
          }
        }
        catch (CoreException e) {
            if (Logger.ERROR) {
              Logger.println(Logger.ERROR_LEVEL, this, "runInUIThread", "Error launching wizard",e); //$NON-NLS-1$ //$NON-NLS-2$
View Full Code Here

          try {
            // Update the lookup
            ApplicationUrlLookupService.update(server, monitor);
            WizardDialog dialog = new WizardDialog(PlatformUI.getWorkbench().getModalDialogShellProvider()
                .getShell(), wizard);
            int dialogueStatus = dialog.open();

            if (dialogueStatus == Dialog.OK) {

              // First add any new services to the server
              final List<CloudService> addedServices = wizard.getCloudServicesToCreate();
View Full Code Here

    registerAccountButton.addSelectionListener(new SelectionAdapter() {
      @Override
      public void widgetSelected(SelectionEvent event) {
        RegisterAccountWizard wizard = new RegisterAccountWizard(cfServer);
        WizardDialog dialog = new WizardDialog(validateComposite.getShell(), wizard);
        if (dialog.open() == Window.OK) {
          if (wizard.getEmail() != null) {
            emailText.setText(wizard.getEmail());
          }
          if (wizard.getPassword() != null) {
            passwordText.setText(wizard.getPassword());
View Full Code Here

        try
        {
            INewWizard wizard = createWizard();
            wizard.init(PlatformUI.getWorkbench(), getSelection());
            WizardDialog dialog = new WizardDialog(shell, wizard);
            int res = dialog.open();
            notifyResult(res == Window.OK);
        }
        catch (CoreException e)
        {
            // TODO Auto-generated catch block
View Full Code Here

    private void add(Control parent)
    {
        NewRepositoryWizard wizard = new NewRepositoryWizard();
        WizardDialog dialog = new WizardDialog(getShell(parent), wizard);
        if (dialog.open() == Window.OK)
        {
            repositories.add(wizard.getRepository());
            updated();
        }
    }
View Full Code Here

        try
        {
            RepositoryWizard wizard = WizardHelper.loadWizard(model.getType());
            wizard.init(model);
            WizardDialog dialog = new WizardDialog(getShell(parent), wizard);
            if (dialog.open() == Window.OK)
            {
                updated();
            }
        }
        catch (CoreException e)
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.