
This class stores global informations, i. e. GlobalConfiguration objects, etc This class is also used as global register which stores references to different objects. This objects are used inside *Action classes.
| cern::laser::guiplatform::util::AppRegister::AppRegister | ( | ) | [inline, private] |
Creates a new instance of AppRegister
References FONT_SIZE_SMALL, and fontSize.
Referenced by getInstance().
| void cern::laser::guiplatform::util::AppRegister::cleanRegister | ( | ) | [inline] |
this method is used to indicate, that business layer exception occured this method is used to indicate, that business layer exception is solved this method indicates whether is or not business layer exception this method is used to clear register
References behaviour, instance, loadedConfiguration, and logger.
| void cern::laser::guiplatform::util::AppRegister::clearConfigurationChangeListeners | ( | ) | [inline] |
References saveButton.
| synchronized Behaviour cern::laser::guiplatform::util::AppRegister::getBehaviour | ( | ) | [inline] |
References behaviour.
| String cern::laser::guiplatform::util::AppRegister::getFontName | ( | ) | [inline] |
References FONT_NAME.
| int cern::laser::guiplatform::util::AppRegister::getFontSize | ( | ) | [inline] |
References fontSize.
| static synchronized AppRegister cern::laser::guiplatform::util::AppRegister::getInstance | ( | ) | [inline, static] |
References AppRegister(), and instance.
| synchronized Configuration cern::laser::guiplatform::util::AppRegister::getLoadedConfiguration | ( | ) | [inline] |
References loadedConfiguration.
| Object cern::laser::guiplatform::util::AppRegister::getRegisterdObject | ( | Object | key | ) | [inline] |
This method returns previous registered object
| key | key |
| ActiveListExplorerPanel cern::laser::guiplatform::util::AppRegister::getRegisteredActiveListExplorerPanel | ( | ) | [inline] |
Returns registered explorer or null
References activeListExplorerPanelKey.
| User cern::laser::guiplatform::util::AppRegister::getRegisteredUser | ( | ) | [inline] |
| String cern::laser::guiplatform::util::AppRegister::getRegisteredUserName | ( | ) | [inline] |
References cern::laser::console::User::getName(), loggedUserKey, and logger.
Referenced by isGuestMode().
| Category [] cern::laser::guiplatform::util::AppRegister::getSearchCategories | ( | ) | [inline] |
getter for last Search Window's Setting
| windowMode | one of Constants.SEARCH_WINDOW_MODE_* constants |
References searchCategories.
| SearchWindowSettings cern::laser::guiplatform::util::AppRegister::getSearchWindowSettings | ( | int | windowMode | ) | [inline] |
getter for last Search Window's Setting
| windowMode | one of Constants.SEARCH_WINDOW_MODE_* constants |
References searchWindowSettings, and cern::laser::guiplatform::windows::search::SearchWindowSettings::setWindowMode().
| synchronized Selection cern::laser::guiplatform::util::AppRegister::getSelection | ( | ) | [inline] |
References selection.
| boolean cern::laser::guiplatform::util::AppRegister::isFontBig | ( | ) | [inline] |
References FONT_SIZE_BIG, and fontSize.
| boolean cern::laser::guiplatform::util::AppRegister::isGuestMode | ( | ) | [inline] |
References getRegisteredUserName().
Referenced by notifyConfigurationChange().
| void cern::laser::guiplatform::util::AppRegister::notifyConfigurationChange | ( | ) | [inline] |
This method is used to change Save button status and configurationChanged variable in ConfigurationPanel
References isGuestMode(), and saveButton.
| void cern::laser::guiplatform::util::AppRegister::registerActiveListExplorerPanel | ( | ActiveListExplorerPanel | explorer | ) | [inline] |
This method registers explorer
References activeListExplorerPanelKey.
| void cern::laser::guiplatform::util::AppRegister::registerConfigurationChangeListeners | ( | JButton | button | ) | [inline] |
References saveButton.
| synchronized void cern::laser::guiplatform::util::AppRegister::registerLoadedConfiguration | ( | Configuration | configuration | ) | throws LaserConsoleException [inline] |
References behaviour, loadedConfiguration, and selection.
| void cern::laser::guiplatform::util::AppRegister::registerObject | ( | Object | key, | |
| Object | obj | |||
| ) | [inline] |
This method register object in register
| key | key | |
| obj | object which should be registered |
| void cern::laser::guiplatform::util::AppRegister::registerUser | ( | User | user | ) | [inline] |
| void cern::laser::guiplatform::util::AppRegister::removeRegisteredObject | ( | Object | key | ) | [inline] |
This method removes Objects from register
| key | key |
| void cern::laser::guiplatform::util::AppRegister::setFontBig | ( | boolean | flag | ) | [inline] |
References FONT_SIZE_BIG, FONT_SIZE_SMALL, and fontSize.
| void cern::laser::guiplatform::util::AppRegister::setSearchCategories | ( | Category[] | categories | ) | [inline] |
References searchCategories.
| void cern::laser::guiplatform::util::AppRegister::unregisterActiveListExplorerPanel | ( | ) | [inline] |
This method unregisters explorer
References activeListExplorerPanelKey.
| void cern::laser::guiplatform::util::AppRegister::unregisterUser | ( | ) | [inline] |
This method unregisters user
References loggedUserKey.
final String cern::laser::guiplatform::util::AppRegister::activeListExplorerPanelKey = "activeListExplorerPanel" [private] |
key for active list explorer panel
Referenced by getRegisteredActiveListExplorerPanel(), registerActiveListExplorerPanel(), and unregisterActiveListExplorerPanel().
Behaviour cern::laser::guiplatform::util::AppRegister::behaviour = null [private] |
Behaviour this is used due to fact, that Behaviour should be kept locally
Referenced by cleanRegister(), getBehaviour(), and registerLoadedConfiguration().
| final String cern::laser::guiplatform::util::AppRegister::configurationKey = "actualConfiguraton" |
key for actual configuration
final String cern::laser::guiplatform::util::AppRegister::FONT_NAME = "Dialog" [private] |
fonts for explorers
Referenced by getFontName().
final int cern::laser::guiplatform::util::AppRegister::FONT_SIZE_BIG = 22 [private] |
Referenced by isFontBig(), and setFontBig().
final int cern::laser::guiplatform::util::AppRegister::FONT_SIZE_SMALL = 18 [private] |
Referenced by AppRegister(), and setFontBig().
int cern::laser::guiplatform::util::AppRegister::fontSize [private] |
Referenced by AppRegister(), getFontSize(), isFontBig(), and setFontBig().
AppRegister cern::laser::guiplatform::util::AppRegister::instance = null [static, private] |
register instance
Referenced by cleanRegister(), and getInstance().
if network exception ( onException method) occurs this is global value and is used to disable all actions this is configuration which is kept localy, currently loaded configuraion
Referenced by cleanRegister(), getLoadedConfiguration(), and registerLoadedConfiguration().
final String cern::laser::guiplatform::util::AppRegister::loggedUserKey = "loggedUser" [private] |
key for logged user
Referenced by getRegisteredUser(), getRegisteredUserName(), registerUser(), and unregisterUser().
Logger cern::laser::guiplatform::util::AppRegister::logger = LogFactory.getLogger(AppRegister.class.getName()) [static, private] |
Referenced by cleanRegister(), and getRegisteredUserName().
HashMap cern::laser::guiplatform::util::AppRegister::register = null [private] |
register
JButton cern::laser::guiplatform::util::AppRegister::saveButton = null [private] |
save button
Referenced by clearConfigurationChangeListeners(), notifyConfigurationChange(), and registerConfigurationChangeListeners().
Category [] cern::laser::guiplatform::util::AppRegister::searchCategories = null [private] |
this is configuration used by CategorySelectorWindow
Referenced by getSearchCategories(), and setSearchCategories().
SearchWindowSettings cern::laser::guiplatform::util::AppRegister::searchWindowSettings = null [private] |
Stored Settings of Search Window
Referenced by getSearchWindowSettings().
Selection cern::laser::guiplatform::util::AppRegister::selection = null [private] |
Selection this is used due to fact, that Selection should be kept locally
Referenced by getSelection(), and registerLoadedConfiguration().
1.6.2