Package org.eclipse.jface.wizard

Examples of org.eclipse.jface.wizard.WizardPage


        if (getContainer() instanceof WizardDialog) {
            WizardDialog dialog = (WizardDialog) getContainer();
            dialog.addPageChangedListener(new IPageChangedListener(){

                public void pageChanged( PageChangedEvent event ) {
                    WizardPage currentPage = (WizardPage) event.getSelectedPage();
                    if (currentPage == mapSelectorPage) {
                        String currentFormat = imageSettingsPage.getFormat().getName();
                        String description = MessageFormat.format(
                                "Select map to export to {0} images", currentFormat);
                        currentPage.setDescription(description);
                    }
                }

            });
        }
View Full Code Here


    private final WorkflowWizard wizard;
    private WizardPage placeHolderPage;

    public WorkflowWizardAdapter( WorkflowWizard wizard ) {
        this.wizard = wizard;
        this.placeHolderPage = new WizardPage("placeholder"){ //$NON-NLS-1$

            public void createControl( Composite parent ) {
                setControl(new Composite(parent, SWT.NONE));
            }
View Full Code Here

    });
    }

    @Override
    public void setErrorMessage(String newMessage) {
      WizardPage page=(WizardPage) getContainer().getCurrentPage();
      page.setErrorMessage(newMessage);
    }
View Full Code Here

      page.setErrorMessage(newMessage);
    }

    @Override
    public void setMessage(String newMessage) {
      WizardPage page=(WizardPage) getContainer().getCurrentPage();
      page.setMessage(newMessage);
    }
View Full Code Here

      page.setMessage(newMessage);
    }
   
    @Override
    public void setMessage(String newMessage, int messageType) {
      WizardPage page=(WizardPage) getContainer().getCurrentPage();
      page.setMessage(newMessage, messageType);
    }
View Full Code Here

       
        setPageCount(1);
    }
   
    public void addPages(Wizard wizard) {
        WizardPage page = new WizardNewProjectCreationPage("createProjectPage");
        page.setTitle("Project Properties");
        page.setDescription("Enter the project name and location");
        wizard.addPage(page);
        projectPage = (WizardNewProjectCreationPage) page;
       
        markPagesAdded();
    }
View Full Code Here

       
        setPageCount(1);
    }
   
    public void addPages(Wizard wizard) {
        WizardPage page = new WizardNewProjectCreationPage("createProjectPage");
        page.setTitle("Project Properties");
        page.setDescription("Enter the project name and location");
        wizard.addPage(page);
        projectPage = (WizardNewProjectCreationPage) page;
       
        markPagesAdded();
    }
View Full Code Here

        addOption("menu_group", "Menu item placement", groupChoices, "Anywhere", 3).setEnabled(false);
    }
   
    public void addPages(Wizard wizard) {
        projectPage = new WizardNewProjectCreationPage("createProjectPage");
        WizardPage page = projectPage;
        page.setTitle("Project Properties");
        page.setDescription("Enter the project name and location");
        wizard.addPage(page);

        page = createPage(1);
        page.setTitle("Bundle Properties");
        page.setDescription("Enter properties for the project as a whole");
        //page.setPageComplete(false);
        wizard.addPage(page);
       
        page = createPage(2);
        page.setTitle("Algorithm Properties");
        page.setDescription("Enter some algorithm information");
        //page.setPageComplete(false);
        wizard.addPage(page);
       
        page = createPage(3);
        page.setTitle("Algorithm Properties");
        page.setDescription("Enter properties of how the algorithm will work");
        //page.setPageComplete(false);
        wizard.addPage(page);
       
        builderPage = new ParameterListBuilderPage("builderPage");
        page = builderPage;
        page.setTitle("Algorithm Parameters");
        page.setDescription("Enter what extra parameters are needed for the algorithm");
        //page.setPageComplete(false);
        wizard.addPage(page);
       
        markPagesAdded();
    }
View Full Code Here

       
        return createProjectPage;
    }
   
    private WizardPage createBundlePropertiesPage() {
      WizardPage bundlePropertiesPage =
        createPage(PROJECT_BUNDLE_PROPERTIES_PAGE_NUMBER);
        bundlePropertiesPage.setTitle("Bundle Properties");
        bundlePropertiesPage.setDescription(
          "Enter the Bundle Name, Bundle Symbolic Name, and Bundle Version");
       
        return bundlePropertiesPage;
    }
View Full Code Here

       
        return chooseExecutableFilesPage;
    }
   
    private WizardPage createProjectPropertiesPage() {
      WizardPage projectPropertiesPage =
        createPage(PROJECT_PROPERTIES_PAGE_NUMBER);
        projectPropertiesPage.setTitle("Project Properties");
        projectPropertiesPage.setDescription("Enter Project Properties");
       
        return projectPropertiesPage;
    }
View Full Code Here

TOP

Related Classes of org.eclipse.jface.wizard.WizardPage

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.