
Public Member Functions | |
| LoadConfigurationPanel (ConsoleConfigurationWindow parentWindow, User user) throws LaserException | |
| void | addNewConfiguration (ConfigurationBean configuration) throws IntrospectionException |
| void | removeConfiguration (GPNode node) |
| List | getDefinedConfigurationNames (User user) throws LaserConsoleException |
Private Member Functions | |
| void | initComponents () throws LaserException |
| void | initUsersExplorer (String userName) throws LaserException |
Private Attributes | |
| UserExplorer | userListExpl = null |
| ConsoleConfigurationWindow | parentWindow = null |
| User | loggedUser = null |
This is window, where user can load, delete saved configuration This window consist of ListExplorer and three buttons: LOAD, DELETE, SET AS DRFAULT.
| cern::laser::guiplatform::windows::configuration::LoadConfigurationPanel::LoadConfigurationPanel | ( | ConsoleConfigurationWindow | parentWindow, | |
| User | user | |||
| ) | throws LaserException [inline] |
Creates a new instance of LoadCategoryPanel
| parentWindows | configuration window (mediator) | |
| user | logged user |
References initComponents(), loggedUser, and parentWindow.
| void cern::laser::guiplatform::windows::configuration::LoadConfigurationPanel::addNewConfiguration | ( | ConfigurationBean | configuration | ) | throws IntrospectionException [inline] |
This method adds new configurations to UserExplorer
| configuration | configuration |
| IntrospectionException | if something goes wrong |
References cern::laser::guiplatform::windows::user::UserExplorer::addConfiguration(), and userListExpl.
| List cern::laser::guiplatform::windows::configuration::LoadConfigurationPanel::getDefinedConfigurationNames | ( | User | user | ) | throws LaserConsoleException [inline] |
| void cern::laser::guiplatform::windows::configuration::LoadConfigurationPanel::initComponents | ( | ) | throws LaserException [inline, private] |
References cern::laser::console::User::getName(), initUsersExplorer(), loggedUser, and userListExpl.
Referenced by LoadConfigurationPanel().
| void cern::laser::guiplatform::windows::configuration::LoadConfigurationPanel::initUsersExplorer | ( | String | userName | ) | throws LaserException [inline, private] |
This method initializes explorer with users and theirs configurations
| userName | name of user who is currnetly logged |
References userListExpl.
Referenced by initComponents().
| void cern::laser::guiplatform::windows::configuration::LoadConfigurationPanel::removeConfiguration | ( | GPNode | node | ) | [inline] |
Removes configuration
References cern::laser::guiplatform::windows::user::UserExplorer::removeConfiguration(), and userListExpl.
User cern::laser::guiplatform::windows::configuration::LoadConfigurationPanel::loggedUser = null [private] |
Referenced by initComponents(), and LoadConfigurationPanel().
ConsoleConfigurationWindow cern::laser::guiplatform::windows::configuration::LoadConfigurationPanel::parentWindow = null [private] |
main window (something like mediator)
Referenced by LoadConfigurationPanel().
UserExplorer cern::laser::guiplatform::windows::configuration::LoadConfigurationPanel::userListExpl = null [private] |
Referenced by addNewConfiguration(), getDefinedConfigurationNames(), initComponents(), initUsersExplorer(), and removeConfiguration().
1.6.2