Package org.eclipse.ui.wizards

Examples of org.eclipse.ui.wizards.IWizardRegistry


    if (wizardId == null) {
      IAction wizardAction = createWizardChooserDialogAction(activeWindow);
      wizardAction.run();
    } else {

      IWizardRegistry wizardRegistry = getWizardRegistry();
      IWizardDescriptor wizardDescriptor = wizardRegistry
          .findWizard(wizardId);
      if (wizardDescriptor == null) {
        throw new ExecutionException("unknown wizard: " + wizardId); //$NON-NLS-1$
      }
View Full Code Here


    if (wizardId == null) {
      executeHandler(event);
    } else {

      IWizardRegistry wizardRegistry = getWizardRegistry();
      IWizardDescriptor wizardDescriptor = wizardRegistry
          .findWizard(wizardId);
      if (wizardDescriptor == null) {
        throw new ExecutionException("unknown wizard: " + wizardId); //$NON-NLS-1$
      }
View Full Code Here

    /**
     * Create the wizard pages
     */
    public void addPages() {
      IWorkbench wkb = PlatformUI.getWorkbench();
      IWizardRegistry reg = wkb.getNewWizardRegistry();
        IWizardCategory root = reg.getRootCategory();
        IWizardDescriptor [] primary = reg.getPrimaryWizards();

        if (categoryId != null) {
            IWizardCategory categories = root;
            StringTokenizer familyTokenizer = new StringTokenizer(categoryId,
                    CATEGORY_SEPARATOR);
View Full Code Here

  }

  public Map getParameterValues() {
    final Map values = new HashMap();

    final IWizardRegistry wizardRegistry = getWizardRegistry();
    addParameterValues(values, wizardRegistry.getRootCategory());

    return values;
  }
View Full Code Here

    return launchConfiguration;
  }

  protected static IWorkbenchWizard createWizard(final String id) throws CoreException {
        final IWorkbench wb = PlatformUI.getWorkbench();
        final IWizardRegistry reg = wb.getNewWizardRegistry();
        final IWizardDescriptor desc = reg.findWizard(id);
        IWorkbenchWizard wizard = desc.createWizard();
        if (wizard != null) {
            return wizard;
        }
        throw new RuntimeException("Wizard not found. id:" + id); //$NON-NLS-1$
View Full Code Here

TOP

Related Classes of org.eclipse.ui.wizards.IWizardRegistry

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.