Examples of IWizardCategory


Examples of org.eclipse.ui.wizards.IWizardCategory

   */
  public void run() {
    // Create wizard selection wizard.
    IWorkbench workbench = PlatformUI.getWorkbench();

    IWizardCategory root = WorkbenchPlugin.getDefault()
        .getNewWizardRegistry().getRootCategory();
    IWizardDescriptor localphpWizard = root
        .findWizard("com.zend.php.ide.ui.project.wizard.localphp"); //$NON-NLS-1$
    if (localphpWizard == null) {// pdt
      org.eclipse.ui.internal.dialogs.NewWizard wizard = new org.eclipse.ui.internal.dialogs.NewWizard();
      wizard.setProjectsOnly(true);
      ISelection selection = window.getSelectionService().getSelection();
View Full Code Here

Examples of org.eclipse.ui.wizards.IWizardCategory

    if (activeWorkbenchWindow == null) {
      // action has been disposed
      return;
    }

    IWizardCategory root = WorkbenchPlugin.getDefault()
        .getNewWizardRegistry().getRootCategory();
    IWizardDescriptor localphpWizard = root
        .findWizard("com.zend.php.ide.ui.project.wizard.localphp"); //$NON-NLS-1$
    if (localphpWizard == null) {// pdt
      org.eclipse.ui.internal.dialogs.NewWizard wizard = new org.eclipse.ui.internal.dialogs.NewWizard();
      wizard.setCategoryId(categoryId);
View Full Code Here

Examples of org.eclipse.ui.wizards.IWizardCategory

   * @return boolean
   */
  private boolean hasExamples() {
    boolean hasCategory = registryHasCategory(WizardsRegistryReader.FULL_EXAMPLES_WIZARD_CATEGORY);
    if (hasCategory) {
      IWizardCategory exampleCategory = WorkbenchPlugin
          .getDefault()
          .getNewWizardRegistry()
          .findCategory(
              WizardsRegistryReader.FULL_EXAMPLES_WIZARD_CATEGORY);
      return hasWizards(exampleCategory);
View Full Code Here

Examples of org.eclipse.ui.wizards.IWizardCategory

    }
    return null;
  }

  protected Composite createTreeViewer(Composite parent) {
    IWizardCategory root = getRootCategory();
    wizardSelectionTree = new CategorizedWizardSelectionTree(root, Messages.ConfigurationWizardSelectionPage_SELECT);
    Composite importComp = wizardSelectionTree.createControl(parent);
    wizardSelectionTree.getViewer().addSelectionChangedListener(new ISelectionChangedListener() {
      public void selectionChanged(SelectionChangedEvent event) {
        listSelectionChanged(event.getSelection());
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.