cern::laser::guiplatform::windows::configuration::LoadConfigurationPanel Class Reference

Collaboration diagram for cern::laser::guiplatform::windows::configuration::LoadConfigurationPanel:
Collaboration graph
[legend]

List of all members.

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

Detailed Description

This is window, where user can load, delete saved configuration This window consist of ListExplorer and three buttons: LOAD, DELETE, SET AS DRFAULT.

Author:
pawlowsk

Constructor & Destructor Documentation

cern::laser::guiplatform::windows::configuration::LoadConfigurationPanel::LoadConfigurationPanel ( ConsoleConfigurationWindow  parentWindow,
User  user 
) throws LaserException [inline]

Creates a new instance of LoadCategoryPanel

Parameters:
parentWindows configuration window (mediator)
user logged user

References initComponents(), loggedUser, and parentWindow.


Member Function Documentation

void cern::laser::guiplatform::windows::configuration::LoadConfigurationPanel::addNewConfiguration ( ConfigurationBean  configuration  )  throws IntrospectionException [inline]

This method adds new configurations to UserExplorer

Parameters:
configuration configuration
Exceptions:
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]
void cern::laser::guiplatform::windows::configuration::LoadConfigurationPanel::initUsersExplorer ( String  userName  )  throws LaserException [inline, private]

This method initializes explorer with users and theirs configurations

Parameters:
userName name of user who is currnetly logged

References userListExpl.

Referenced by initComponents().

void cern::laser::guiplatform::windows::configuration::LoadConfigurationPanel::removeConfiguration ( GPNode  node  )  [inline]

Member Data Documentation

main window (something like mediator)

Referenced by LoadConfigurationPanel().


The documentation for this class was generated from the following file:

Generated by  doxygen 1.6.2