org.ChinaVO.FITSManager
Class Global

java.lang.Object
  extended by org.ChinaVO.FITSManager.Global

public class Global
extends java.lang.Object

Storage the global variables. These variables could be seen in the whole application

example:
Global.getGUILang(); // get a GUILang instance
Global.getSystemSetting; // get a SystemSetting instance
Global.m_globalObjs(key, obj);// storage a self-define object into a Map, and it can be visited by other program of this application, confirm the key is unique.

Version:
v1.0.0 2010-3-12 13:45:06
Author:
Fany

Field Summary
static java.util.Map<java.lang.String,java.lang.Object> m_globalObjs
          storage any object, and it can be visit in the whole application.
 
Constructor Summary
Global()
           
 
Method Summary
static ConfigurationDialog getConfigurationDialog()
           
static FListViewOperator getFListViewOperator()
          Get the single FListViewOperator instance in this application.
static GUILang getGUILang()
          get a GUILang instance, it's the only GUILang instance in the application.
static MainFrame getMainFrame()
          Get the main GUI in this application.
static SystemSetting getSystemSetting()
          get a SystemSetting instance, it's the only GUILang instance in the application.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_globalObjs

public static java.util.Map<java.lang.String,java.lang.Object> m_globalObjs
storage any object, and it can be visit in the whole application. The key part is the object's name, and the value part is the object itself.

Constructor Detail

Global

public Global()
Method Detail

getGUILang

public static GUILang getGUILang()
get a GUILang instance, it's the only GUILang instance in the application.

Returns:
GUILang, the GUILang instance

getSystemSetting

public static SystemSetting getSystemSetting()
get a SystemSetting instance, it's the only GUILang instance in the application.

Returns:
SystemSetting, the SystemSetting instance throws

getMainFrame

public static MainFrame getMainFrame()
Get the main GUI in this application.

Returns:
MainFrame instance

getFListViewOperator

public static FListViewOperator getFListViewOperator()
Get the single FListViewOperator instance in this application. The FListViewOperator insert a FListView into the Main Frame. In fact this FListViewOperator exists as a independence plugin.

Returns:
FListViewOperator instance

getConfigurationDialog

public static ConfigurationDialog getConfigurationDialog()