RePast
v. 2.0

uchicago.src.sim.engine
Class LoadModelDialog

java.lang.Object
  |
  +--uchicago.src.sim.engine.LoadModelDialog

public class LoadModelDialog
extends Object

Dialog for loading a model. Called when the user clicks on the folder icon in the gui controller. This will load all the appropriate jars and SimModels in repast/demo as well as any jars or classes in repast/models. Other classes or jars can be loaded via the add button.


Constructor Summary
LoadModelDialog()
          Creates a LoadModelDialog.
 
Method Summary
 void display(JFrame f)
          Displays this LoadModelDialog.
 SimModel getModel()
          Returns the selected SimModel if any, otherwise null.
 String getParameterFile()
          Returns the parameter file name as a String.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LoadModelDialog

public LoadModelDialog()
Creates a LoadModelDialog.

Method Detail

display

public void display(JFrame f)
Displays this LoadModelDialog.

Parameters:
f - the parent JFrame for this LoadModelDialog

getModel

public SimModel getModel()
Returns the selected SimModel if any, otherwise null.


getParameterFile

public String getParameterFile()
Returns the parameter file name as a String.


RePast
v. 2.0

Bug reports and feature requests to RePast