UI.Run
Class GEVARunning

java.lang.Object
  extended by UI.Run.GEVARunning

public class GEVARunning
extends java.lang.Object

Keep track of all running GEVA instances. Each GEVARun is responsible for removing itself from this list. GEVAPropertiesGUI adds them to the list and also calls on closeAll when the GUI is closed

Author:
eliott bartley

Method Summary
static void add(GEVARun run)
           
static boolean closeAll()
          Called by GEVAPropertiesGUI when it is closed, to get all its children to close.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

add

public static void add(GEVARun run)

closeAll

public static boolean closeAll()
Called by GEVAPropertiesGUI when it is closed, to get all its children to close. Closing the child windows also causes the processes that those child windows are monitoring to be terminated (so the real purpose of this is to stop all forked processes)

Returns:
true if all windows were closed and the GUI can exit. false if the user cancelled closing any window -- the GUI should remain open