Package repast.simphony.ui.newscenario
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
-
Method Summary
Modifier and TypeMethodDescriptionboolean
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
-
Constructor Details
-
NewWizardModel
public NewWizardModel()
-
-
Method Details
-
getScenarioPath
Gets the path to the scenario dir.- Returns:
- the path to the scenario dir.
-
setScorePath
Sets the path to the score dir.- Parameters:
scorePath
- the new path
-
getScorePath
Gets the path to the score dir.- Returns:
- the path to the score dir.
-
setScenarioPath
Sets the path to the scenario dir.- Parameters:
scenarioPath
- the new path
-
getSpecPath
Gets the path to the model spec file.- Returns:
- Gets the path to the model spec file.
-
setSpecPath
Sets the path to the model spec file.- Parameters:
specPath
- the new path
-
getModelInit
Gets the name of an optional model initializer class.- Returns:
- the name of an optional model initializer class.
-
setModelInit
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.
-