esmska
Class Context

java.lang.Object
  extended by esmska.Context

public class Context
extends java.lang.Object

Main program context. References to important class instances are accessible here.


Field Summary
static MainFrame mainFrame
          Instance of MainFrame.
static PersistenceManager persistenceManager
          Instance of PersistenceManager.
 
Constructor Summary
Context()
           
 
Method Summary
static void addPropertyChangeListener(java.beans.PropertyChangeListener listener)
           
static boolean everythingLoaded()
          Whether all user data were already loaded.
static boolean gatewaysLoaded()
          Whether all gateways were already loaded.
static void removePropertyChangeListener(java.beans.PropertyChangeListener listener)
           
static void setEverythingLoaded(boolean everythingLoaded)
           
static void setGatewaysLoaded(boolean gatewaysLoaded)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

persistenceManager

public static PersistenceManager persistenceManager
Instance of PersistenceManager. Never null after main program inicialization.


mainFrame

public static MainFrame mainFrame
Instance of MainFrame. Never null after MainFrame inicialization.

Constructor Detail

Context

public Context()
Method Detail

addPropertyChangeListener

public static void addPropertyChangeListener(java.beans.PropertyChangeListener listener)

removePropertyChangeListener

public static void removePropertyChangeListener(java.beans.PropertyChangeListener listener)

gatewaysLoaded

public static boolean gatewaysLoaded()
Whether all gateways were already loaded.


setGatewaysLoaded

public static void setGatewaysLoaded(boolean gatewaysLoaded)

everythingLoaded

public static boolean everythingLoaded()
Whether all user data were already loaded.


setEverythingLoaded

public static void setEverythingLoaded(boolean everythingLoaded)