edu.upenn.crimson.gui
Class ModelUtils

java.lang.Object
  extended by edu.upenn.crimson.gui.ModelUtils

public class ModelUtils
extends java.lang.Object

Static methods used throughout the GUI for Model objects.

Version:
$Id: ModelUtils.java,v 1.7 2007/05/16 18:55:58 fisher Exp $

Constructor Summary
ModelUtils()
           
 
Method Summary
static void deleteModel(java.lang.String id)
          This will delete the model specified by ModelSelector().
static void editModel(java.lang.String id)
          This will edit the model.
static java.lang.String getModelID(java.lang.String id)
          This will use a FieldEditDialog to ask the user for a model ID.
static java.lang.String modelSelector()
          Present a dialog box for selecting a particular Model.
static void viewModel(java.lang.String id)
          This will display the specified model.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ModelUtils

public ModelUtils()
Method Detail

modelSelector

public static java.lang.String modelSelector()
Present a dialog box for selecting a particular Model.


getModelID

public static java.lang.String getModelID(java.lang.String id)
This will use a FieldEditDialog to ask the user for a model ID.


deleteModel

public static void deleteModel(java.lang.String id)
This will delete the model specified by ModelSelector().


viewModel

public static void viewModel(java.lang.String id)
This will display the specified model. If no model is specified, then the ModelSelector() will be used to choose a model.


editModel

public static void editModel(java.lang.String id)
This will edit the model.




Copyright 2006 Stephen Fisher, Susan Davidson, and Junhyong Kim, University of Pennsylvania.