

Classes | |
| class | CategoryComparator |
| class | ChoosenCategoryNodeManager |
Public Member Functions | |
| ChoosenCategoryExplorer (List choosenCategories) | |
| boolean | contains (GPNode gpNode) |
| void | addCategory (BeanSupport node) throws IntrospectionException |
| void | removeCategory (GPNode node) |
| void | removeAllCategories () |
| void | addCategory (GPNode gpNode) throws IntrospectionException, CloneNotSupportedException |
| void | addCategoryWithoutChildren (GPNode gpNode) throws IntrospectionException, CloneNotSupportedException |
| void | addSubCategories (GPNode gpNode) throws IntrospectionException, CloneNotSupportedException |
| void | removeCategoryWithoutChildren (GPNode gpNode) throws IntrospectionException, CloneNotSupportedException |
| void | removeSubCategories (GPNode gpNode) throws IntrospectionException, CloneNotSupportedException |
| void | removeSubCategories (GPNode gpNode, boolean removeThisNode) throws IntrospectionException, CloneNotSupportedException |
| Collection | getChoosenCategories () |
| void | updateChoosenCategories (List newCategories) |
Private Attributes | |
| ChoosenCategoryNodeManager | nodeManager = null |
Static Private Attributes | |
| static final Logger | logger |
Explorer with categories choosen by given user
| cern::laser::guiplatform::windows::category::ChoosenCategoryExplorer::ChoosenCategoryExplorer | ( | List | choosenCategories | ) | [inline] |
Creates a new instance of ChoosenCategoryExplorer
| choossenCategories | list |
References logger, nodeManager, and cern::gp::explorer::GPListExplorerPanel::setRootNode().
| void cern::laser::guiplatform::windows::category::ChoosenCategoryExplorer::addCategory | ( | GPNode | gpNode | ) | throws IntrospectionException, CloneNotSupportedException [inline] |
This is recursive method. This methods add GPNode and all children to choosen category explorer.
References addCategoryWithoutChildren(), and addSubCategories().
| void cern::laser::guiplatform::windows::category::ChoosenCategoryExplorer::addCategory | ( | BeanSupport | node | ) | throws IntrospectionException [inline] |
This method adds category to ChoosenCategoryExplorer only once
References cern::laser::guiplatform::windows::category::ChoosenCategoryExplorer::ChoosenCategoryNodeManager::addCategory(), and nodeManager.
Referenced by cern::laser::guiplatform::windows::category::ChooseCategoryPanel::addCategory(), addCategoryWithoutChildren(), and addSubCategories().
| void cern::laser::guiplatform::windows::category::ChoosenCategoryExplorer::addCategoryWithoutChildren | ( | GPNode | gpNode | ) | throws IntrospectionException, CloneNotSupportedException [inline] |
This methods adds Category to choosen category explorer without children.
References addCategory().
Referenced by addCategory(), and cern::laser::guiplatform::windows::category::ChooseCategoryPanel::addCategoryWithoutChildren().
| void cern::laser::guiplatform::windows::category::ChoosenCategoryExplorer::addSubCategories | ( | GPNode | gpNode | ) | throws IntrospectionException, CloneNotSupportedException [inline] |
| boolean cern::laser::guiplatform::windows::category::ChoosenCategoryExplorer::contains | ( | GPNode | gpNode | ) | [inline] |
| Collection cern::laser::guiplatform::windows::category::ChoosenCategoryExplorer::getChoosenCategories | ( | ) | [inline] |
This method returns all categories choosen by user.
References cern::laser::guiplatform::windows::category::ChoosenCategoryExplorer::ChoosenCategoryNodeManager::getChoosenCategories(), and nodeManager.
Referenced by cern::laser::guiplatform::windows::category::ChooseCategoryPanel::getChoosenCategories().
| void cern::laser::guiplatform::windows::category::ChoosenCategoryExplorer::removeAllCategories | ( | ) | [inline] |
References nodeManager, and cern::laser::guiplatform::windows::category::ChoosenCategoryExplorer::ChoosenCategoryNodeManager::removeAllCategories().
Referenced by cern::laser::guiplatform::windows::category::ChooseCategoryPanel::removeAllCategories(), and cern::laser::guiplatform::windows::category::ChooseCategoryPanel::reset().
| void cern::laser::guiplatform::windows::category::ChoosenCategoryExplorer::removeCategory | ( | GPNode | node | ) | [inline] |
References cern::gp::nodes::GPNode::getBean(), nodeManager, and cern::laser::guiplatform::windows::category::ChoosenCategoryExplorer::ChoosenCategoryNodeManager::removeCategory().
Referenced by cern::laser::guiplatform::windows::category::ChooseCategoryPanel::removeCategory(), removeCategoryWithoutChildren(), and removeSubCategories().
| void cern::laser::guiplatform::windows::category::ChoosenCategoryExplorer::removeCategoryWithoutChildren | ( | GPNode | gpNode | ) | throws IntrospectionException, CloneNotSupportedException [inline] |
| void cern::laser::guiplatform::windows::category::ChoosenCategoryExplorer::removeSubCategories | ( | GPNode | gpNode, | |
| boolean | removeThisNode | |||
| ) | throws IntrospectionException, CloneNotSupportedException [inline] |
| void cern::laser::guiplatform::windows::category::ChoosenCategoryExplorer::removeSubCategories | ( | GPNode | gpNode | ) | throws IntrospectionException, CloneNotSupportedException [inline] |
| void cern::laser::guiplatform::windows::category::ChoosenCategoryExplorer::updateChoosenCategories | ( | List | newCategories | ) | [inline] |
used when user want to load new cofiguration (ConfiguratonLoad action)
| newCategories | List with Category objects |
References cern::laser::guiplatform::windows::category::ChoosenCategoryExplorer::ChoosenCategoryNodeManager::addCategory(), logger, nodeManager, cern::laser::guiplatform::windows::category::ChoosenCategoryExplorer::ChoosenCategoryNodeManager::removeAllCategories(), and cern::laser::guiplatform::category::CategoryBean::setCloned().
Referenced by cern::laser::guiplatform::windows::category::ChooseCategoryPanel::updateCategorySelection().
final Logger cern::laser::guiplatform::windows::category::ChoosenCategoryExplorer::logger [static, private] |
LogFactory.getLogger(ChoosenCategoryExplorer.class.getName())
Referenced by addSubCategories(), ChoosenCategoryExplorer(), removeSubCategories(), and updateChoosenCategories().
ChoosenCategoryNodeManager cern::laser::guiplatform::windows::category::ChoosenCategoryExplorer::nodeManager = null [private] |
user node manager
Referenced by addCategory(), ChoosenCategoryExplorer(), contains(), getChoosenCategories(), removeAllCategories(), removeCategory(), and updateChoosenCategories().
1.6.2