Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

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

List of all members.

Public Member Functions

 ConsoleConfigurationWindow (User user, Configuration configuration) throws LaserException
void removeFilter (GPNode node)
void removeAllFilters ()
void setInUpdateMode (String name, String operator, String value, String buttonName)
void updateCategoryTreeExplorer () throws IntrospectionException, CloneNotSupportedException
void loadAllCategoriesInTreeExplorer () throws IntrospectionException, CloneNotSupportedException
void addCategory (GPNode node) throws IntrospectionException, CloneNotSupportedException
void addCategoryWithoutChildren (GPNode node) throws IntrospectionException, CloneNotSupportedException
void addSubCategories (GPNode node) throws IntrospectionException, CloneNotSupportedException
void removeCategoryWithoutChildren (GPNode node) throws IntrospectionException, CloneNotSupportedException
void removeSubCategories (GPNode node) throws IntrospectionException, CloneNotSupportedException
void removeCategory (GPNode node)
void removeAllCategories ()
void addConfigurationToList (ConfigurationBean configuration) throws java.beans.IntrospectionException
void removeConfiguration (GPNode node)
List getDefinedConfigurations (User user) throws LaserConsoleException
void updateConfigurationPanel (Configuration configuration, String ownerLogin) throws LaserConsoleException
Dimension getPreferredSize ()

Static Public Attributes

final Dimension defaultLoadConfigurationPanelDimension

Protected Member Functions

void componentClosed ()

Package Attributes

User user = null
Configuration configuration = null

Private Member Functions

void initComponents ()
void postInitComponents () throws LaserException

Private Attributes

javax.swing.JPanel configurationPanel
javax.swing.JPanel loadConfigurationPanel
CreateFiltersPanel filtersPanel = null

Static Private Attributes

Logger logger = LogFactory.getLogger(ConsoleConfigurationWindow.class.getName())
final Dimension defaultDimension
final long serialVersionUID = 1L

Detailed Description

An openable window available to the IDE's window manager. This is console configuration window, here user can choose category, load configuration, etc.....

Author:
pawlowsk


Constructor & Destructor Documentation

cern::laser::guiplatform::windows::configuration::ConsoleConfigurationWindow::ConsoleConfigurationWindow User  user,
Configuration  configuration
throws LaserException [inline]
 


Member Function Documentation

void cern::laser::guiplatform::windows::configuration::ConsoleConfigurationWindow::addCategory GPNode  node  )  throws IntrospectionException, CloneNotSupportedException [inline]
 

This method adds category to choosen category explorer

Parameters:
node category to be added

void cern::laser::guiplatform::windows::configuration::ConsoleConfigurationWindow::addCategoryWithoutChildren GPNode  node  )  throws IntrospectionException, CloneNotSupportedException [inline]
 

void cern::laser::guiplatform::windows::configuration::ConsoleConfigurationWindow::addConfigurationToList ConfigurationBean  configuration  )  throws java.beans.IntrospectionException [inline]
 

This method adds new cofiguration to JList in LoadConfigurationPanel

void cern::laser::guiplatform::windows::configuration::ConsoleConfigurationWindow::addSubCategories GPNode  node  )  throws IntrospectionException, CloneNotSupportedException [inline]
 

void cern::laser::guiplatform::windows::configuration::ConsoleConfigurationWindow::componentClosed  )  [inline, protected]
 

WARNING: In final product this method should be removed

List cern::laser::guiplatform::windows::configuration::ConsoleConfigurationWindow::getDefinedConfigurations User  user  )  throws LaserConsoleException [inline]
 

Returns list with given user configurations names

Parameters:
user users,

Dimension cern::laser::guiplatform::windows::configuration::ConsoleConfigurationWindow::getPreferredSize  )  [inline]
 

void cern::laser::guiplatform::windows::configuration::ConsoleConfigurationWindow::initComponents  )  [inline, private]
 

This method is called from within the constructor to initialize the form. WARNING: Do NOT modify this code. The content of this method is always regenerated by the FormEditor.

void cern::laser::guiplatform::windows::configuration::ConsoleConfigurationWindow::loadAllCategoriesInTreeExplorer  )  throws IntrospectionException, CloneNotSupportedException [inline]
 

void cern::laser::guiplatform::windows::configuration::ConsoleConfigurationWindow::postInitComponents  )  throws LaserException [inline, private]
 

post Init components

void cern::laser::guiplatform::windows::configuration::ConsoleConfigurationWindow::removeAllCategories  )  [inline]
 

This method remove all categories from ChoosenCategoryExplorer

void cern::laser::guiplatform::windows::configuration::ConsoleConfigurationWindow::removeAllFilters  )  [inline]
 

This method removes all filter from defined list explorer

void cern::laser::guiplatform::windows::configuration::ConsoleConfigurationWindow::removeCategory GPNode  node  )  [inline]
 

void cern::laser::guiplatform::windows::configuration::ConsoleConfigurationWindow::removeCategoryWithoutChildren GPNode  node  )  throws IntrospectionException, CloneNotSupportedException [inline]
 

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

This method removes configuration from UserExplorer

Parameters:
node 

void cern::laser::guiplatform::windows::configuration::ConsoleConfigurationWindow::removeFilter GPNode  node  )  [inline]
 

This method removes filter from defined list explorer

Parameters:
node node to be removed

void cern::laser::guiplatform::windows::configuration::ConsoleConfigurationWindow::removeSubCategories GPNode  node  )  throws IntrospectionException, CloneNotSupportedException [inline]
 

void cern::laser::guiplatform::windows::configuration::ConsoleConfigurationWindow::setInUpdateMode String  name,
String  operator,
String  value,
String  buttonName
[inline]
 

This method sets this component in Update Filter mode (used when user wants to edit filter)

Parameters:
name name
operator operator
value value
buttonName name for button

void cern::laser::guiplatform::windows::configuration::ConsoleConfigurationWindow::updateCategoryTreeExplorer  )  throws IntrospectionException, CloneNotSupportedException [inline]
 

void cern::laser::guiplatform::windows::configuration::ConsoleConfigurationWindow::updateConfigurationPanel Configuration  configuration,
String  ownerLogin
throws LaserConsoleException [inline]
 

Updates configuration panel, when user wants to load configuration (ConfigurationLoad action)

Parameters:
configuration configuration to be loaded


Member Data Documentation

Configuration cern::laser::guiplatform::windows::configuration::ConsoleConfigurationWindow::configuration = null [package]
 

configuraton

javax.swing.JPanel cern::laser::guiplatform::windows::configuration::ConsoleConfigurationWindow::configurationPanel [private]
 

final Dimension cern::laser::guiplatform::windows::configuration::ConsoleConfigurationWindow::defaultDimension [static, private]
 

Initial value:

new Dimension( (int) (WindowManager.getDefault().getCurrentWorkspace().getBounds().width / 1.5), (int) (WindowManager.getDefault().getCurrentWorkspace().getBounds().height / 1.2))
default configuration window dimension

final Dimension cern::laser::guiplatform::windows::configuration::ConsoleConfigurationWindow::defaultLoadConfigurationPanelDimension [static]
 

Initial value:

new Dimension(defaultDimension.width/4, defaultDimension.height)

CreateFiltersPanel cern::laser::guiplatform::windows::configuration::ConsoleConfigurationWindow::filtersPanel = null [private]
 

filters panel

javax.swing.JPanel cern::laser::guiplatform::windows::configuration::ConsoleConfigurationWindow::loadConfigurationPanel [private]
 

Logger cern::laser::guiplatform::windows::configuration::ConsoleConfigurationWindow::logger = LogFactory.getLogger(ConsoleConfigurationWindow.class.getName()) [static, private]
 

logger

final long cern::laser::guiplatform::windows::configuration::ConsoleConfigurationWindow::serialVersionUID = 1L [static, private]
 

User cern::laser::guiplatform::windows::configuration::ConsoleConfigurationWindow::user = null [package]
 

user


The documentation for this class was generated from the following file:
Generated on Thu Apr 30 03:09:41 2009 for ACS Java API by doxygen 1.3.8