org.gcn.plinguaplugin.simulatorCreator
Class SimulatorFeaturesWizardPage

java.lang.Object
  extended by org.eclipse.jface.dialogs.DialogPage
      extended by org.eclipse.jface.wizard.WizardPage
          extended by org.gcn.plinguaplugin.simulatorCreator.SimulatorFeaturesWizardPage
All Implemented Interfaces:
org.eclipse.jface.dialogs.IDialogPage, org.eclipse.jface.dialogs.IMessageProvider, org.eclipse.jface.wizard.IWizardPage

public class SimulatorFeaturesWizardPage
extends org.eclipse.jface.wizard.WizardPage

This class implements the page for SimulatorCreatorDisplayer instances related to simulator parameters, such as allowing steps back or alternative steps

Author:
Manuel Garcia-Quismondo-Fernandez

Field Summary
 
Fields inherited from interface org.eclipse.jface.dialogs.IMessageProvider
ERROR, INFORMATION, NONE, WARNING
 
Constructor Summary
protected SimulatorFeaturesWizardPage()
          Creates a new SimulatorFeaturesWizardPage instance
 
Method Summary
 void createControl(org.eclipse.swt.widgets.Composite parent)
          Sets up the simulator features page by adding simulator parameters
 boolean isPageComplete()
           
 void setAlternativeStepsCheckBoxEnabled(boolean enabled)
          Sets if the alternative steps check box is enabled
 void setFileRoute(java.lang.String fileRoute)
          Sets the file route given as argument within its field
 void testCompleteness()
          Test if the page is complete and reports so
 
Methods inherited from class org.eclipse.jface.wizard.WizardPage
canFlipToNextPage, 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
 

Constructor Detail

SimulatorFeaturesWizardPage

protected SimulatorFeaturesWizardPage()
Creates a new SimulatorFeaturesWizardPage instance

Method Detail

isPageComplete

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

setAlternativeStepsCheckBoxEnabled

public void setAlternativeStepsCheckBoxEnabled(boolean enabled)
Sets if the alternative steps check box is enabled

Parameters:
enabled - a boolean to set if the alternative steps check box is enabled

createControl

public void createControl(org.eclipse.swt.widgets.Composite parent)
Sets up the simulator features page by adding simulator parameters

Parameters:
parent - the composite to add the feature controls to

setFileRoute

public void setFileRoute(java.lang.String fileRoute)
Sets the file route given as argument within its field

Parameters:
fileRoute - the file route to set. In case it's null, it will be replaced by an empty string

testCompleteness

public void testCompleteness()
Test if the page is complete and reports so