Class NewWizardModel

java.lang.Object
org.pietschy.wizard.AbstractWizardModel
org.pietschy.wizard.models.StaticModel
repast.simphony.ui.newscenario.NewWizardModel
All Implemented Interfaces:
org.pietschy.wizard.OverviewProvider, org.pietschy.wizard.WizardModel

public class NewWizardModel extends org.pietschy.wizard.models.StaticModel
Wizard model for the create new scenario wizard.
Version:
$Revision$ $Date$
Author:
Nick Collier
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Gets whether or not a model plugin will be used.
    Gets the name of an optional model initializer class.
    Gets the path to the scenario dir.
    Gets the path to the score dir.
    Gets the path to the model spec file.
    void
    setModelInit(String modelInit)
    Sets the name of an optional model initializer class.
    void
    setScenarioPath(File scenarioPath)
    Sets the path to the scenario dir.
    void
    setScorePath(File scorePath)
    Sets the path to the score dir.
    void
    setSpecPath(File specPath)
    Sets the path to the model spec file.
    void
    setUseModelPlugin(boolean useModel)
    Sets whether or not a model plugin will be used.

    Methods inherited from class org.pietschy.wizard.models.StaticModel

    add, allStepsComplete, getOverviewComponent, isLastStep, lastStep, nextStep, previousStep, refreshModelState, reset, stepIterator

    Methods inherited from class org.pietschy.wizard.AbstractWizardModel

    addCompleteListener, addPropertyChangeListener, addPropertyChangeListener, getActiveStep, isLastAvailable, isLastVisible, isNextAvailable, isPreviousAvailable, removePropertyChangeListener, removePropertyChangeListener, setActiveStep, setCancelAvailable, setLastAvailable, setLastVisible, setNextAvailable, setPreviousAvailable

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • NewWizardModel

      public NewWizardModel()
  • Method Details

    • getScenarioPath

      public File getScenarioPath()
      Gets the path to the scenario dir.
      Returns:
      the path to the scenario dir.
    • setScorePath

      public void setScorePath(File scorePath)
      Sets the path to the score dir.
      Parameters:
      scorePath - the new path
    • getScorePath

      public File getScorePath()
      Gets the path to the score dir.
      Returns:
      the path to the score dir.
    • setScenarioPath

      public void setScenarioPath(File scenarioPath)
      Sets the path to the scenario dir.
      Parameters:
      scenarioPath - the new path
    • getSpecPath

      public File getSpecPath()
      Gets the path to the model spec file.
      Returns:
      Gets the path to the model spec file.
    • setSpecPath

      public void setSpecPath(File specPath)
      Sets the path to the model spec file.
      Parameters:
      specPath - the new path
    • getModelInit

      public String getModelInit()
      Gets the name of an optional model initializer class.
      Returns:
      the name of an optional model initializer class.
    • setModelInit

      public void setModelInit(String modelInit)
      Sets the name of an optional model initializer class.
    • doUseModelPlugin

      public boolean doUseModelPlugin()
      Gets whether or not a model plugin will be used.
      Returns:
      whether or not a model plugin will be used.
    • setUseModelPlugin

      public void setUseModelPlugin(boolean useModel)
      Sets whether or not a model plugin will be used.