Search in sources :

Example 1 with ControllerTreeNode

use of org.olat.modules.qpool.ui.tree.ControllerTreeNode in project OpenOLAT by OpenOLAT.

the class QuestionPoolMainEditorController method doSelectControllerTreeNode.

private void doSelectControllerTreeNode(UserRequest ureq, TreeNode node, List<ContextEntry> entries, StateEntry state) {
    TreeNode nodeToShow = getDelegate(node);
    menuTree.setSelectedNode(nodeToShow);
    if (nodeToShow instanceof ControllerTreeNode) {
        ControllerTreeNode cNode = (ControllerTreeNode) nodeToShow;
        doSelectQuestionsNode(ureq, cNode, entries, state);
    }
}
Also used : ControllerTreeNode(org.olat.modules.qpool.ui.tree.ControllerTreeNode) MyQuestionsTreeNode(org.olat.modules.qpool.ui.tree.MyQuestionsTreeNode) ControllerTreeNode(org.olat.modules.qpool.ui.tree.ControllerTreeNode) CollectionTreeNode(org.olat.modules.qpool.ui.tree.CollectionTreeNode) TreeNode(org.olat.core.gui.components.tree.TreeNode) MarkedQuestionsTreeNode(org.olat.modules.qpool.ui.tree.MarkedQuestionsTreeNode)

Example 2 with ControllerTreeNode

use of org.olat.modules.qpool.ui.tree.ControllerTreeNode in project openolat by klemens.

the class QuestionPoolMainEditorController method doSelectControllerTreeNode.

private void doSelectControllerTreeNode(UserRequest ureq, TreeNode node, List<ContextEntry> entries, StateEntry state) {
    TreeNode nodeToShow = getDelegate(node);
    menuTree.setSelectedNode(nodeToShow);
    if (nodeToShow instanceof ControllerTreeNode) {
        ControllerTreeNode cNode = (ControllerTreeNode) nodeToShow;
        doSelectQuestionsNode(ureq, cNode, entries, state);
    }
}
Also used : ControllerTreeNode(org.olat.modules.qpool.ui.tree.ControllerTreeNode) MyQuestionsTreeNode(org.olat.modules.qpool.ui.tree.MyQuestionsTreeNode) ControllerTreeNode(org.olat.modules.qpool.ui.tree.ControllerTreeNode) CollectionTreeNode(org.olat.modules.qpool.ui.tree.CollectionTreeNode) TreeNode(org.olat.core.gui.components.tree.TreeNode) MarkedQuestionsTreeNode(org.olat.modules.qpool.ui.tree.MarkedQuestionsTreeNode)

Aggregations

TreeNode (org.olat.core.gui.components.tree.TreeNode)2 CollectionTreeNode (org.olat.modules.qpool.ui.tree.CollectionTreeNode)2 ControllerTreeNode (org.olat.modules.qpool.ui.tree.ControllerTreeNode)2 MarkedQuestionsTreeNode (org.olat.modules.qpool.ui.tree.MarkedQuestionsTreeNode)2 MyQuestionsTreeNode (org.olat.modules.qpool.ui.tree.MyQuestionsTreeNode)2