Class DisplayConfigurationWizard
java.lang.Object
repast.simphony.visualization.gui.DisplayConfigurationWizard
Wizard for building a display from scratch. Wizard steps for the Cartesian
displays are included here. Additional display plugin steps are optionally
loaded from the visualization registry.
- Author:
- Nick Collier, Eric Tatara
-
Field Summary
Modifier and TypeFieldDescriptionprotected DisplayWizardModel
protected org.pietschy.wizard.Wizard
-
Constructor Summary
ConstructorDescriptionDisplayConfigurationWizard
(Object contextID, DisplayDescriptor descriptor, ContextData rootContext) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
addPaths()
Create the intermediate wizard steps for the 2D/3D displays.getModel()
Create the intermediate wiard steps for displays defined in the registryorg.pietschy.wizard.Wizard
static boolean
isCartesian
(DisplayDescriptor descriptor) Evaluates a DisplayScriptor and returns true if its a Cartesian 2D/3Dprotected Pair<org.pietschy.wizard.WizardStep,
org.pietschy.wizard.models.Condition> pair
(org.pietschy.wizard.WizardStep step, org.pietschy.wizard.models.Condition condition) void
showDialog
(Component component)
-
Field Details
-
wizard
protected org.pietschy.wizard.Wizard wizard -
model
-
-
Constructor Details
-
DisplayConfigurationWizard
public DisplayConfigurationWizard(Object contextID, DisplayDescriptor descriptor, ContextData rootContext)
-
-
Method Details
-
getWizard
public org.pietschy.wizard.Wizard getWizard() -
getModel
-
getPluginSteps
protected List<Pair<org.pietschy.wizard.WizardStep,org.pietschy.wizard.models.Condition>> getPluginSteps()Create the intermediate wiard steps for displays defined in the registry- Returns:
-
isCartesian
Evaluates a DisplayScriptor and returns true if its a Cartesian 2D/3D- Parameters:
descriptor
-- Returns:
-
getCartesianSteps
protected List<Pair<org.pietschy.wizard.WizardStep,org.pietschy.wizard.models.Condition>> getCartesianSteps()Create the intermediate wizard steps for the 2D/3D displays.- Returns:
-
pair
protected Pair<org.pietschy.wizard.WizardStep,org.pietschy.wizard.models.Condition> pair(org.pietschy.wizard.WizardStep step, org.pietschy.wizard.models.Condition condition) -
addPaths
protected void addPaths() -
showDialog
-
getDescriptor
-