org.eclipse.cdt.managedbuilder.ui.wizards
Class MBSCustomPage

java.lang.Object
  extended by org.eclipse.cdt.managedbuilder.ui.wizards.MBSCustomPage
All Implemented Interfaces:
org.eclipse.jface.dialogs.IDialogPage, org.eclipse.jface.wizard.IWizardPage
Direct Known Subclasses:
AlwaysPresentWizardPage, NatureAWizardPage, NatureBWizardPage, ProjectTypeDWizardPage, ProjectTypeEWizardPage, ToolchainCv20WizardPage, ToolchainCWizardPage, ToolchainFWizardPage

public abstract class MBSCustomPage
extends java.lang.Object
implements org.eclipse.jface.wizard.IWizardPage

This abstract class provides a convenient, partial implementation of the IWizardPage interface. This class consults with the MBSCustomPageManager to determine its actions. If an ISV's custom pages do not subclass MBSCustomPage then their page implementation must be carefully coded to function properly while still respecting the rules laid out by the page manager.


Constructor Summary
MBSCustomPage()
          0-argument constructor, which is generally what will be invoked by the standard, custom wizard page system.
MBSCustomPage(java.lang.String pageID)
          Constructor which sets the (required) pageID.
 
Method Summary
 boolean canFlipToNextPage()
           
 org.eclipse.jface.wizard.IWizardPage getNextPage()
           
 java.lang.String getPageID()
           
 org.eclipse.jface.wizard.IWizardPage getPreviousPage()
           
 org.eclipse.jface.wizard.IWizard getWizard()
           
 boolean isPageComplete()
           
 void setPreviousPage(org.eclipse.jface.wizard.IWizardPage page)
           
 void setWizard(org.eclipse.jface.wizard.IWizard newWizard)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.eclipse.jface.wizard.IWizardPage
getName
 
Methods inherited from interface org.eclipse.jface.dialogs.IDialogPage
createControl, dispose, getControl, getDescription, getErrorMessage, getImage, getMessage, getTitle, performHelp, setDescription, setImageDescriptor, setTitle, setVisible
 

Constructor Detail

MBSCustomPage

public MBSCustomPage(java.lang.String pageID)
Constructor which sets the (required) pageID.

Parameters:
pageID - identifies this page including for accessing the page data.

MBSCustomPage

public MBSCustomPage()
0-argument constructor, which is generally what will be invoked by the standard, custom wizard page system. It is assumed that either statically, or in the constructor for your derived class, that you will set the pageID properly.

Method Detail

canFlipToNextPage

public boolean canFlipToNextPage()
Specified by:
canFlipToNextPage in interface org.eclipse.jface.wizard.IWizardPage

getWizard

public org.eclipse.jface.wizard.IWizard getWizard()
Specified by:
getWizard in interface org.eclipse.jface.wizard.IWizardPage

setPreviousPage

public void setPreviousPage(org.eclipse.jface.wizard.IWizardPage page)
Specified by:
setPreviousPage in interface org.eclipse.jface.wizard.IWizardPage

setWizard

public void setWizard(org.eclipse.jface.wizard.IWizard newWizard)
Specified by:
setWizard in interface org.eclipse.jface.wizard.IWizardPage

getNextPage

public org.eclipse.jface.wizard.IWizardPage getNextPage()
Specified by:
getNextPage in interface org.eclipse.jface.wizard.IWizardPage

getPreviousPage

public org.eclipse.jface.wizard.IWizardPage getPreviousPage()
Specified by:
getPreviousPage in interface org.eclipse.jface.wizard.IWizardPage

isPageComplete

public boolean isPageComplete()
Specified by:
isPageComplete in interface org.eclipse.jface.wizard.IWizardPage

getPageID

public java.lang.String getPageID()
Returns:
The unique ID by which this page is referred.