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

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

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

static 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

static Logger logger = LogFactory.getLogger(ConsoleConfigurationWindow.class.getName())
static final Dimension defaultDimension
static 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]
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]
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

Reimplemented from org::openide::windows::TopComponent.

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

Returns list with given user configurations names

Parameters:
user users,

References loadConfigurationPanel, and user.

Referenced by cern::laser::guiplatform::windows::configuration::ConsoleConfigurationPanel::saveButtonActionPerformed().

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

References defaultDimension.

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.

Referenced by ConsoleConfigurationWindow().

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

References configurationPanel.

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

post Init components

References configuration, configurationPanel, loadConfigurationPanel, and user.

Referenced by ConsoleConfigurationWindow().

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

This method remove all categories from ChoosenCategoryExplorer

References configurationPanel.

Referenced by cern::laser::guiplatform::actions::category::DeleteAllChoosenCategoryAction::performAction().

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

This method removes all filter from defined list explorer

References configurationPanel.

Referenced by cern::laser::guiplatform::actions::filters::DeleteAllFiltersAction::performAction().

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 

References loadConfigurationPanel.

Referenced by cern::laser::guiplatform::actions::configuration::ConfigurationDeleteAction::performAction().

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

References configurationPanel.

Referenced by cern::laser::guiplatform::actions::filters::DeleteFilterAction::performAction().

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

References configurationPanel.

Referenced by cern::laser::guiplatform::actions::filters::EditFilterAction::performAction().

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

References configuration, and configurationPanel.

Referenced by cern::laser::guiplatform::actions::configuration::ConfigurationLoadAction::performAction().


Member Data Documentation

Initial value:
 new Dimension(
            (int) (WindowManager.getDefault().getCurrentWorkspace().getBounds().width / 1.5),  
            (int) (WindowManager.getDefault().getCurrentWorkspace().getBounds().height / 1.2))

default configuration window dimension

Referenced by getPreferredSize().

Initial value:
 
            new Dimension(defaultDimension.width/4, defaultDimension.height)

filters panel

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

logger

generated Serialized Version UID

Reimplemented from org::openide::windows::TopComponent.


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

Generated by  doxygen 1.6.2