controller
Class MBSController

java.lang.Object
  extended by controller.MBSController

public class MBSController
extends java.lang.Object

Controller class. Main program entry point.

Author:
Mathias Ricken

Field Summary
private  SimDriver _simDriver
          Simulation control.
private  MBSView _view
          View.
 
Constructor Summary
MBSController()
           
 
Method Summary
private  void detectDrJava()
          Detect presence of DrJava n the classpath.
static void main(java.lang.String[] args)
          Java Virtual Machine entry point.
 void run()
          Main program entry point.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_simDriver

private SimDriver _simDriver
Simulation control.


_view

private MBSView _view
View.

Constructor Detail

MBSController

public MBSController()
Method Detail

run

public void run()
Main program entry point.


main

public static void main(java.lang.String[] args)
Java Virtual Machine entry point.

Parameters:
args - command line arguments

detectDrJava

private void detectDrJava()
Detect presence of DrJava n the classpath. Set "edu.rice.cs.cunit.drjava" property to "true" if found, to "false" otherwise. This is necessary since DrJava is incompatible with some of the security measures the simulator uses.