
Public Member Functions | |
| ChooseCategoryPanel (Configuration configuration) | |
| ChooseCategoryPanel (Category[] choosenCategories) | |
| Collection | getChoosenCategories () |
| Category[] | getChoosenCategoriesArray () |
| void | updateCategoryTreeExplorer () |
| void | loadAllCategoriesInTreeExplorer () |
| void | reset () |
| 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 | updateCategorySelection (Configuration newConfiguration) throws LaserConsoleException |
| void | updateState () |
| void | updateSelection () |
Private Member Functions | |
| void | initComponents () |
| CategoryTreeExplorer | createCategoryTree () throws LaserException |
| ChoosenCategoryExplorer | createChoosenCategoryList (List categories) |
| int | updateState (GPNode gpNode) throws CloneNotSupportedException |
| void | updateSelection (GPNode gpNode) throws CloneNotSupportedException |
Private Attributes | |
| JPanel | buttonsPanel = null |
| CategoryTreeExplorer | categoryTreeExpl = null |
| ChoosenCategoryExplorer | choosenCategoryExpl = null |
| Configuration | configuration = null |
| Category[] | choosenCategories = null |
Static Private Attributes | |
| Logger | logger |
| final String | configureTreeName = "Available categories" |
| final String | choosenConfigurationName = "Choosen categories" |
|
|
Creates a new instance of ChooseCategoryPanel
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This method creates category tree |
|
|
This method creates list with choosen categories for given user
|
|
|
methods for setting category selection
|
|
|
|
|
|
Created a new instance of ChooseCategoryPanel
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This method reset this panel |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Panel where are buttons (add, add all, remove, remove all) |
|
|
tree explorer which dispaly category tree |
|
|
|
|
|
list explorer with choosen categories |
|
|
|
|
|
configuration to be shown |
|
|
configuration variables |
|
|
Initial value:
|
1.3.8