Examples of IWizardRegistry


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

Examples of org.eclipse.ui.wizards.IWizardRegistry

    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

Examples of org.eclipse.ui.wizards.IWizardRegistry

    /**
     * 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

Examples of org.eclipse.ui.wizards.IWizardRegistry

  }

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

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

    return values;
  }
View Full Code Here

Examples of org.eclipse.ui.wizards.IWizardRegistry

    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
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.