Examples of IWizard


Examples of org.eclipse.jface.wizard.IWizard

    gridData.verticalAlignment = SWT.FILL;
    gridData.verticalSpan = 1;
    gridData.grabExcessVerticalSpace = true;
    displayedModelElements.setLayoutData(gridData);

    final IWizard wizard = getWizard();

    displayedModelElements.addSelectionListener(new SelectionListener() {

      @Override
      public void widgetSelected(SelectionEvent e) {
        wizard.getContainer().updateButtons();
        updateName();
      }

      @Override
      public void widgetDefaultSelected(SelectionEvent e) {
View Full Code Here

Examples of org.eclipse.jface.wizard.IWizard

      @Override
      public void widgetSelected(SelectionEvent e) {
        setPageComplete(true);

        IWizard wizard = getWizard();
        IWizardPage page = wizard.getNextPage(WizardGraphTypePage.this);
        updateSelection((IGraphTypeSettable) page);
      }

    });
  }
View Full Code Here

Examples of org.eclipse.jface.wizard.IWizard

    if (_feedbackToHandlers.size() == 1) {
      // only have one choice.
      ILocalDropHandler handler = (ILocalDropHandler) _feedbackToHandlers
          .values().toArray()[0];
      if (handler.useWizard(_localObject, _viewer)) {
        IWizard wizard;
        if (_widget != null) {
          wizard = handler.getWizard(_localObject, _widget, _viewer);
        } else {
          wizard = handler
              .getWizard(_localObject, _position, _viewer);
View Full Code Here

Examples of org.eclipse.jface.wizard.IWizard

        //save our selection state
        mainPage.saveWidgetValues();
        // if we're finishing from the main page then perform finish on the selected wizard.
        if (getContainer().getCurrentPage() == mainPage) {
      if (mainPage.canFinishEarly()) {
        IWizard wizard = mainPage.getSelectedNode().getWizard();
        wizard.setContainer(getContainer());
        return wizard.performFinish();
      }
    }
        return true;
    }
View Full Code Here

Examples of org.eclipse.jface.wizard.IWizard

    String projectName = getProjectName();
    if (projectName == null) {
      return false;
    }

    IWizard wizard = getWizard();
    if (wizard instanceof ExampleProjectCreationWizard) {
      IWizardPage[] pages = wizard.getPages();
      for (int i = 0; i < pages.length; i++) {
        if ((pages[i] != this) && (pages[i] instanceof ExampleProjectCreationWizardPage)) {
          if (projectName.equals(((ExampleProjectCreationWizardPage) pages[i]).getProjectName())) {
            setErrorMessage(XMLWizardsMessages.ExampleProjectCreationWizardPage_error_alreadyexists);
            return false;
View Full Code Here

Examples of org.eclipse.jface.wizard.IWizard

    /**
     * {@inheritDoc}
     */
    public void run()
    {
        IWizard wizard = null;

        if ( this.type == TYPE_IMPORT_LDIF )
        {
            if ( getEntry() != null )
            {
View Full Code Here

Examples of org.eclipse.jface.wizard.IWizard

        //save our selection state
        mainPage.saveWidgetValues();
        // if we're finishing from the main page then perform finish on the selected wizard.
        if (getContainer().getCurrentPage() == mainPage) {
      if (mainPage.canFinishEarly()) {
        IWizard wizard = mainPage.getSelectedNode().getWizard();
        wizard.setContainer(getContainer());
        return wizard.performFinish();
      }
    }
        return true;
    }
View Full Code Here

Examples of org.eclipse.jface.wizard.IWizard

    /**
     * {@inheritDoc}
     */
    public void run()
    {
        IWizard wizard = null;

        if ( this.type == TYPE_IMPORT_LDIF )
        {
            if ( getEntry() != null )
            {
View Full Code Here

Examples of org.eclipse.jface.wizard.IWizard

        return (IType) selector.select();
    }

    private void openPairWizard(IType targetType, String[] pairNames) throws CoreException, JavaModelException {
        IWorkbench workbench = PlatformUI.getWorkbench();
        IWizard wizard = createNewPairWizard(targetType, workbench);
    Shell parent = workbench.getActiveWorkbenchWindow().getShell();
    WizardDialog dialog = new WizardDialog(parent, wizard);
    dialog.create();
    NewTypeWizardPage page = getNewTypeWizardPage(wizard);
    if(page == null) return;
View Full Code Here

Examples of org.eclipse.jface.wizard.IWizard

    /**
     * {@inheritDoc}
     */
    public void run()
    {
        IWizard wizard = null;

        if ( this.type == TYPE_IMPORT_LDIF )
        {
            if ( getEntry() != null )
            {
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.