use of org.olat.core.gui.control.generic.tabbable.ActivateableTabbableDefaultController in project OpenOLAT by OpenOLAT.
the class EditorMainController method jumpToNodeEditor.
/**
* Initializes the node edit tabbed pane and its controller for this
* particular node
*
* @param ureq
* @param chosenNode
* @param groupMgr
*/
private void jumpToNodeEditor(String activatorIdent, UserRequest ureq, CourseNode chosenNode) {
initNodeEditor(ureq, chosenNode);
if (nodeEditCntrllr instanceof ActivateableTabbableDefaultController) {
OLATResourceable activeOres = OresHelper.createOLATResourceableInstanceWithoutCheck(activatorIdent, 0l);
List<ContextEntry> entries = BusinessControlFactory.getInstance().createCEListFromString(activeOres);
((ActivateableTabbableDefaultController) nodeEditCntrllr).activate(ureq, entries, null);
}
}
use of org.olat.core.gui.control.generic.tabbable.ActivateableTabbableDefaultController in project openolat by klemens.
the class EditorMainController method jumpToNodeEditor.
/**
* Initializes the node edit tabbed pane and its controller for this
* particular node
*
* @param ureq
* @param chosenNode
* @param groupMgr
*/
private void jumpToNodeEditor(String activatorIdent, UserRequest ureq, CourseNode chosenNode) {
initNodeEditor(ureq, chosenNode);
if (nodeEditCntrllr instanceof ActivateableTabbableDefaultController) {
OLATResourceable activeOres = OresHelper.createOLATResourceableInstanceWithoutCheck(activatorIdent, 0l);
List<ContextEntry> entries = BusinessControlFactory.getInstance().createCEListFromString(activeOres);
((ActivateableTabbableDefaultController) nodeEditCntrllr).activate(ureq, entries, null);
}
}
Aggregations