| |
|
| java.lang.Object wilos.presentation.web.tree.TreeBean
TreeBean | public class TreeBean (Code) | | A basic backing bean for a ice:tree component. The only instance variable
needed is a DefaultTreeModel Object which is bound to the icefaces tree
component in the jspx code. The tree created by this backing bean is used to
control the selected panel in a ice:panelStack.
|
WORKPRODUCTS_MODE | final public static String WORKPRODUCTS_MODE(Code) | | |
logger | final protected Log logger(Code) | | |
TreeBean | public TreeBean()(Code) | | |
changeModeActionListener | public void changeModeActionListener(ValueChangeEvent evt)(Code) | | Action listener on the radio button which allows to change the type of
tree ( tasks, roles, work products)
Parameters: evt - event occurring |
changeTreeActionListener | public void changeTreeActionListener(ValueChangeEvent evt)(Code) | | Action listener on the tree
Parameters: evt - event occurring |
cleanTreeDisplay | public void cleanTreeDisplay()(Code) | | Cleans the tree, it resets the PROJECT_ID in the Session to default an
calls the method buildTreeModel This method has to be called on
participant log out
|
getDefaultTree | public DefaultMutableTreeNode getDefaultTree()(Code) | | Gets the default tree which is a node asking for the user to select a
project
the default tree |
getHideRadio | public boolean getHideRadio()(Code) | | Gets the hidden state of the radio buttons
|
getModesList | public List<SelectItem> getModesList()(Code) | | Gets a list of the types of tree ( tasks, roles, work products)
a list of SelectItem |
getProjectDirectorService | public ProjectDirectorService getProjectDirectorService()(Code) | | Gets the projectDirectorService
the projectDirectorService |
getProjects | public List<SelectItem> getProjects()(Code) | | Getter for the combobox representing the projects to which the
participant is affected
a list of SelectItem |
getSelectedMode | public String getSelectedMode()(Code) | | Gets the selected mode
the selectedMode |
rebuildProjectTree | public void rebuildProjectTree()(Code) | | Rebuilds the tree by reloading the project and calling the method
buildTreeModel
|
refreshProjectTree | public void refreshProjectTree()(Code) | | Refreshes the tree by calling the method buildTreeModel
|
selectNodeActionListener | public void selectNodeActionListener(ActionEvent evt)(Code) | | Action listener on a node of the tree
Parameters: evt - event occurring |
setHideRadio | public void setHideRadio(boolean _hideRadio)(Code) | | Hides/shows the radio buttons
Parameters: _hideRadio - |
setProjectDirectorService | public void setProjectDirectorService(ProjectDirectorService _projectDirectorService)(Code) | | Sets the projectDirectorService
Parameters: _projectDirectorService - the new value |
setProjectId | public void setProjectId(String _processId)(Code) | | |
setSelectedMode | public void setSelectedMode(String _selectedMode)(Code) | | Sets the select mode
Parameters: selectedMode - the selectedMode to set |
setTreeMap | public void setTreeMap(HashMap<String, Object> _treeMap)(Code) | | Sets the tree map
Parameters: _treeMap - the new HashMap |
sortModel | public void sortModel(DefaultMutableTreeNode _node)(Code) | | Sorts the tree, it uses a WilosMutableTreeNodeComparator
Parameters: _node - the nodes being sorted |
|
|
|