Package org.eclipse.jface.wizard

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


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

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

  /**
   * Selection in the workbench has been changed. We
   * can change the state of the 'real' action here
View Full Code Here


            return;
        }
        wiz.init(PlatformUI.getWorkbench(), resource);

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

  /**
   * Selection in the workbench has been changed. We
   * can change the state of the 'real' action here
View Full Code Here

      final Display display = getDisplay();
      final WizardDialog dialog = new WizardDialog(display.getActiveShell(), wizard);
      BusyIndicator.showWhile(display, new Runnable() {
        public void run() {
          dialog.open();
        }
      });
      if (dialog.getReturnCode()!=WizardDialog.OK) {
        // user did not click OK
        return;
View Full Code Here

                ImportWizard wiz = new ImportWizard();
                wiz.init(PlatformUI.getWorkbench(), structuredSelection);

                WizardDialog dialog = new WizardDialog(PlatformUI.getWorkbench().getDisplay().getActiveShell(), wiz);
                dialog.open();

            }
        }
    }
View Full Code Here

                ExportWizard wiz = new ExportWizard();
                wiz.init(PlatformUI.getWorkbench(), resource);

                WizardDialog dialog = new WizardDialog(activeShell, wiz);
                dialog.open();
            }
        }

    }
View Full Code Here

    }
    PlayWizard wizard = getWizard();
    wizard.init(HandlerUtil.getActiveWorkbenchWindow(event).getWorkbench(), selection);
    WizardDialog dialog = new WizardDialog(HandlerUtil.getActiveShell(event), wizard);
    dialog.create();
    dialog.open();
    return null;
  }

}
View Full Code Here

        Shell shell = PlatformUI.getWorkbench()
            .getActiveWorkbenchWindow().getShell();

        WizardDialog dialog = new WizardDialog(shell, wizard);
        dialog.create();
        dialog.open();
        mView.refreshMe();
      }
    };

    connection.setText(getCaption("connection.new"));
View Full Code Here

      if (descriptor != null) {
        IWizard wizard = descriptor.createWizard();
        WizardDialog wd = new WizardDialog(PlatformUI.getWorkbench()
            .getDisplay().getActiveShell(), wizard);
        wd.setTitle(wizard.getWindowTitle());
        wd.open();
      }
    } catch (CoreException e) {
      e.printStackTrace();
    }
  }
View Full Code Here

            list.add(new LicenseWizardFragment());
          }
        }, taskModel);
       
        WizardDialog dialog2 = new WizardDialog(getShell(), wizard2);
        if (dialog2.open() == Window.CANCEL)
          return;
       
        DirectoryDialog dialog = new DirectoryDialog(LHttpdRuntimeComposite.this.getShell());
        dialog.setMessage(Messages.LHttpdRuntimeComposite_SelectXamppInstallDir);
        dialog.setFilterPath(installDir.getText());
View Full Code Here

  {
    Shell shell = HandlerUtil.getActiveShell(event);
   
        WizardDialog dialog = new WizardDialog(shell, wizard);
        dialog.create();
        int res = dialog.open();
        if (res == Window.OK && wizard instanceof NewElementWizard) {
         
        }   
  }
}
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.