cern::laser::guiplatform::windows::search::CategorySelectorWindow Class Reference

Inheritance diagram for cern::laser::guiplatform::windows::search::CategorySelectorWindow:
Inheritance graph
[legend]
Collaboration diagram for cern::laser::guiplatform::windows::search::CategorySelectorWindow:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 CategorySelectorWindow ()
 CategorySelectorWindow (Category[] categories, int windowMode)
Category[] getChoosenCategoriesArray ()
void updateCategoryTreeExplorer () 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 loadAllCategoriesInTreeExplorer ()
Category[] getChoosenCategories ()

Private Member Functions

void initComponents ()
void cancelButtonActionPerformed (java.awt.event.ActionEvent evt)
void searchButtonActionPerformed (java.awt.event.ActionEvent evt)
void storeCategorySelection ()

Private Attributes

Logger logger = LogFactory.getLogger(CategorySelectorWindow.class.getName())
Category[] choosenCategories
int windowMode
javax.swing.JPanel buttonsPanel
javax.swing.JButton cancelButton
javax.swing.JPanel categoryPanel
javax.swing.JButton searchButton

Static Private Attributes

static final long serialVersionUID = 1L

Detailed Description

An openable window available to the IDE's window manager.

Author:
woloszyn

Constructor & Destructor Documentation

cern::laser::guiplatform::windows::search::CategorySelectorWindow::CategorySelectorWindow (  )  [inline]
cern::laser::guiplatform::windows::search::CategorySelectorWindow::CategorySelectorWindow ( Category[]  categories,
int  windowMode 
) [inline]

Member Function Documentation

void cern::laser::guiplatform::windows::search::CategorySelectorWindow::addCategory ( GPNode  node  )  throws IntrospectionException, CloneNotSupportedException [inline]

This method adds category to choosen category explorer

Parameters:
node category to be added

References categoryPanel.

Referenced by cern::laser::guiplatform::actions::category::CategoryCopyOverNodesAction::performAction(), and cern::laser::guiplatform::actions::category::CategoryCopyAllOverNodesAction::performAction().

void cern::laser::guiplatform::windows::search::CategorySelectorWindow::addCategoryWithoutChildren ( GPNode  node  )  throws IntrospectionException, CloneNotSupportedException [inline]

This method adds category to choosen category explorer

Parameters:
node category to be added

References categoryPanel.

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

void cern::laser::guiplatform::windows::search::CategorySelectorWindow::addSubCategories ( GPNode  node  )  throws IntrospectionException, CloneNotSupportedException [inline]
void cern::laser::guiplatform::windows::search::CategorySelectorWindow::cancelButtonActionPerformed ( java.awt.event.ActionEvent  evt  )  [inline, private]
Category [] cern::laser::guiplatform::windows::search::CategorySelectorWindow::getChoosenCategories (  )  [inline]

Getter method for choosen categories

Returns:
Array of Categories

References categoryPanel, and cern::laser::guiplatform::category::CategoryBean::getCategory().

Category [] cern::laser::guiplatform::windows::search::CategorySelectorWindow::getChoosenCategoriesArray (  )  [inline]

References categoryPanel.

Referenced by searchButtonActionPerformed().

void cern::laser::guiplatform::windows::search::CategorySelectorWindow::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.

References buttonsPanel, cancelButton, cancelButtonActionPerformed(), categoryPanel, choosenCategories, searchButton, and searchButtonActionPerformed().

Referenced by CategorySelectorWindow().

void cern::laser::guiplatform::windows::search::CategorySelectorWindow::loadAllCategoriesInTreeExplorer (  )  [inline]

References categoryPanel.

void cern::laser::guiplatform::windows::search::CategorySelectorWindow::removeAllCategories (  )  [inline]

This method remove all categories from ChoosenCategoryExplorer

References categoryPanel.

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

void cern::laser::guiplatform::windows::search::CategorySelectorWindow::removeCategory ( GPNode  node  )  [inline]

This method remove category from ChoosenCategoryExplorer

References categoryPanel.

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

void cern::laser::guiplatform::windows::search::CategorySelectorWindow::removeCategoryWithoutChildren ( GPNode  node  )  throws IntrospectionException, CloneNotSupportedException [inline]
void cern::laser::guiplatform::windows::search::CategorySelectorWindow::removeSubCategories ( GPNode  node  )  throws IntrospectionException, CloneNotSupportedException [inline]
void cern::laser::guiplatform::windows::search::CategorySelectorWindow::searchButtonActionPerformed ( java.awt.event.ActionEvent  evt  )  [inline, private]
void cern::laser::guiplatform::windows::search::CategorySelectorWindow::storeCategorySelection (  )  [inline, private]

storing the category selection in application register

References categoryPanel.

Referenced by cancelButtonActionPerformed(), and searchButtonActionPerformed().

void cern::laser::guiplatform::windows::search::CategorySelectorWindow::updateCategoryTreeExplorer (  )  throws IntrospectionException, CloneNotSupportedException [inline]

Member Data Documentation

Referenced by initComponents().

Referenced by initComponents().

Logger cern::laser::guiplatform::windows::search::CategorySelectorWindow::logger = LogFactory.getLogger(CategorySelectorWindow.class.getName()) [private]

Referenced by initComponents().

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