com.xyz.article.wizards
Class PlanePage

java.lang.Object
  extended by org.eclipse.jface.dialogs.DialogPage
      extended by org.eclipse.jface.wizard.WizardPage
          extended by com.xyz.article.wizards.PlanePage
All Implemented Interfaces:
org.eclipse.jface.dialogs.IDialogPage, org.eclipse.jface.dialogs.IMessageProvider, org.eclipse.jface.wizard.IWizardPage, org.eclipse.swt.widgets.Listener

public class PlanePage
extends org.eclipse.jface.wizard.WizardPage
implements org.eclipse.swt.widgets.Listener

Wizard page shown when the user has chosen plane as means of transport


Field Summary
static java.lang.String copyright
           
(package private) static double discountRate
           
(package private)  org.eclipse.swt.widgets.List flightsList
           
(package private)  float price
           
(package private)  org.eclipse.swt.widgets.Button priceButton
           
(package private) static java.lang.String[] seatChoices
           
(package private)  org.eclipse.swt.widgets.Combo seatCombo
           
(package private) static float standardPrice
           
 
Fields inherited from interface org.eclipse.jface.dialogs.IMessageProvider
ERROR, INFORMATION, NONE, WARNING
 
Constructor Summary
protected PlanePage(java.lang.String arg0)
          Constructor for PlanePage.
 
Method Summary
 boolean canFlipToNextPage()
           
 void createControl(org.eclipse.swt.widgets.Composite parent)
           
 void handleEvent(org.eclipse.swt.widgets.Event e)
           
 boolean isPageComplete()
           
(package private)  void onEnterPage()
           
 
Methods inherited from class org.eclipse.jface.wizard.WizardPage
getContainer, getDialogSettings, getImage, getName, getNextPage, getPreviousPage, getShell, getWizard, isCurrentPage, setDescription, setErrorMessage, setImageDescriptor, setMessage, setPageComplete, setPreviousPage, setTitle, setWizard, toString
 
Methods inherited from class org.eclipse.jface.dialogs.DialogPage
convertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, dispose, getControl, getDescription, getDialogFontName, getErrorMessage, getFont, getMessage, getMessageType, getTitle, getToolTipText, initializeDialogUnits, isControlCreated, performHelp, setButtonLayoutData, setControl, setMessage, setVisible
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.eclipse.jface.dialogs.IDialogPage
dispose, getControl, getDescription, getErrorMessage, getMessage, getTitle, performHelp, setVisible
 

Field Detail

copyright

public static final java.lang.String copyright
See Also:
Constant Field Values

flightsList

org.eclipse.swt.widgets.List flightsList

seatCombo

org.eclipse.swt.widgets.Combo seatCombo

priceButton

org.eclipse.swt.widgets.Button priceButton

standardPrice

static final float standardPrice
See Also:
Constant Field Values

seatChoices

static final java.lang.String[] seatChoices

discountRate

static final double discountRate
See Also:
Constant Field Values

price

float price
Constructor Detail

PlanePage

protected PlanePage(java.lang.String arg0)
Constructor for PlanePage.

Method Detail

createControl

public void createControl(org.eclipse.swt.widgets.Composite parent)
Specified by:
createControl in interface org.eclipse.jface.dialogs.IDialogPage
See Also:
IDialogPage.createControl(Composite)

canFlipToNextPage

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

handleEvent

public void handleEvent(org.eclipse.swt.widgets.Event e)
Specified by:
handleEvent in interface org.eclipse.swt.widgets.Listener

isPageComplete

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

onEnterPage

void onEnterPage()