Package org.eclipse.jface.wizard

Examples of org.eclipse.jface.wizard.WizardDialog


      @Override
      public void widgetSelected(SelectionEvent e) {

        OrgsAndSpacesWizard wizard = new OrgsAndSpacesWizard(cfServer);

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

      }
    });
  }
View Full Code Here


    if (shell != null) {
      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

      public IStatus runInUIThread(IProgressMonitor monitor) {       
        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

              finWorkingCopy, providerDelegate);

          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.setText(Messages.CloudFoundryCredentialsPart_TEXT_REGISTER_BUTTON);
    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

        IRepositoryModel model = (IRepositoryModel) sel.getFirstElement();
        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

            return;
        }
        IStructuredSelection selection = new StructuredSelection(resource);
        wiz.init(PlatformUI.getWorkbench(), selection);

        WizardDialog dialog = new WizardDialog(PlatformUI.getWorkbench().getDisplay().getActiveShell(), wiz);
        dialog.open();
  }
View Full Code Here

        if (resource==null) {
            return;
        }
        wiz.init(PlatformUI.getWorkbench(), resource);

        WizardDialog dialog = new WizardDialog(PlatformUI.getWorkbench().getDisplay().getActiveShell(), wiz);
        dialog.open();
  }
View Full Code Here

TOP

Related Classes of org.eclipse.jface.wizard.WizardDialog

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.