org.openoffice.ide.eclipse.core.wizards
Class NewUnoProjectWizard

java.lang.Object
  extended by org.eclipse.jface.wizard.Wizard
      extended by org.eclipse.ui.wizards.newresource.BasicNewResourceWizard
          extended by org.eclipse.ui.wizards.newresource.BasicNewProjectResourceWizard
              extended by org.openoffice.ide.eclipse.core.wizards.NewUnoProjectWizard
All Implemented Interfaces:
org.eclipse.core.runtime.IExecutableExtension, org.eclipse.jface.wizard.IWizard, org.eclipse.ui.INewWizard, org.eclipse.ui.IWorkbenchWizard
Direct Known Subclasses:
NewUreAppWizard

public class NewUnoProjectWizard
extends org.eclipse.ui.wizards.newresource.BasicNewProjectResourceWizard
implements org.eclipse.ui.INewWizard

New UNO project wizard.

Author:
cedricbosdo

Field Summary
protected  NewUnoProjectPage mMainPage
           
 
Fields inherited from class org.eclipse.ui.wizards.newresource.BasicNewProjectResourceWizard
WIZARD_ID
 
Fields inherited from class org.eclipse.ui.wizards.newresource.BasicNewResourceWizard
selection
 
Fields inherited from class org.eclipse.jface.wizard.Wizard
DEFAULT_IMAGE
 
Constructor Summary
NewUnoProjectWizard()
          Constructor.
 
Method Summary
 void addPages()
          
 org.eclipse.jface.wizard.IWizardPage getNextPage(org.eclipse.jface.wizard.IWizardPage pPage)
          
 org.eclipse.jface.wizard.IWizardPage getPreviousPage(org.eclipse.jface.wizard.IWizardPage pPage)
          
 org.eclipse.ui.IWorkbench getWorkbench()
          
 void pageChanged(org.eclipse.jface.wizard.IWizardPage pPage)
          This method should be called by included pages to notify any change that could have an impact on other pages.
 boolean performFinish()
          
protected  void setDisableServicePage(java.lang.String pIfaceName)
          Force the inheritance interface to a given value and do not show the service creation pages.
 void setLanguagePage(LanguageWizardPage pPage)
          Set the language page to use for the project.
 
Methods inherited from class org.eclipse.ui.wizards.newresource.BasicNewProjectResourceWizard
getNewProject, init, initializeDefaultPageImageDescriptor, setInitializationData, updatePerspective, updatePerspective
 
Methods inherited from class org.eclipse.ui.wizards.newresource.BasicNewResourceWizard
getSelection, selectAndReveal, selectAndReveal
 
Methods inherited from class org.eclipse.jface.wizard.Wizard
addPage, canFinish, createPageControls, dispose, getContainer, getDefaultPageImage, getDialogSettings, getPage, getPageCount, getPages, getShell, getStartingPage, getTitleBarColor, getWindowTitle, isHelpAvailable, needsPreviousAndNextButtons, needsProgressMonitor, performCancel, setContainer, setDefaultPageImageDescriptor, setDialogSettings, setForcePreviousAndNextButtons, setHelpAvailable, setNeedsProgressMonitor, setTitleBarColor, setWindowTitle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.eclipse.ui.IWorkbenchWizard
init
 
Methods inherited from interface org.eclipse.jface.wizard.IWizard
canFinish, createPageControls, dispose, getContainer, getDefaultPageImage, getDialogSettings, getPage, getPageCount, getPages, getStartingPage, getTitleBarColor, getWindowTitle, isHelpAvailable, needsPreviousAndNextButtons, needsProgressMonitor, performCancel, setContainer
 

Field Detail

mMainPage

protected NewUnoProjectPage mMainPage
Constructor Detail

NewUnoProjectWizard

public NewUnoProjectWizard()
Constructor.

Method Detail

setDisableServicePage

protected void setDisableServicePage(java.lang.String pIfaceName)
Force the inheritance interface to a given value and do not show the service creation pages.

This is used by other wizards like the new URE application wizard.

Parameters:
pIfaceName - the inheritance interface to force, separated with "::"

addPages

public void addPages()

Specified by:
addPages in interface org.eclipse.jface.wizard.IWizard
Overrides:
addPages in class org.eclipse.ui.wizards.newresource.BasicNewProjectResourceWizard

setLanguagePage

public void setLanguagePage(LanguageWizardPage pPage)
Set the language page to use for the project.

Parameters:
pPage - the language page to use.

pageChanged

public void pageChanged(org.eclipse.jface.wizard.IWizardPage pPage)
This method should be called by included pages to notify any change that could have an impact on other pages.

Parameters:
pPage - the page which has changed.

getNextPage

public org.eclipse.jface.wizard.IWizardPage getNextPage(org.eclipse.jface.wizard.IWizardPage pPage)

Specified by:
getNextPage in interface org.eclipse.jface.wizard.IWizard
Overrides:
getNextPage in class org.eclipse.jface.wizard.Wizard

getPreviousPage

public org.eclipse.jface.wizard.IWizardPage getPreviousPage(org.eclipse.jface.wizard.IWizardPage pPage)

Specified by:
getPreviousPage in interface org.eclipse.jface.wizard.IWizard
Overrides:
getPreviousPage in class org.eclipse.jface.wizard.Wizard

performFinish

public boolean performFinish()

Specified by:
performFinish in interface org.eclipse.jface.wizard.IWizard
Overrides:
performFinish in class org.eclipse.ui.wizards.newresource.BasicNewProjectResourceWizard

getWorkbench

public org.eclipse.ui.IWorkbench getWorkbench()

Overrides:
getWorkbench in class org.eclipse.ui.wizards.newresource.BasicNewResourceWizard