use of org.olat.ims.qti.editor.SectionController in project openolat by klemens.
the class SectionNode method createEditTabbedPane.
/**
* @see org.olat.ims.qti.editor.tree.GenericQtiNode#createEditTabbedPane(org.olat.core.gui.UserRequest, org.olat.core.gui.control.WindowControl, org.olat.core.gui.translator.Translator, QTIEditorMainController)
*/
public TabbedPane createEditTabbedPane(UserRequest ureq, WindowControl wControl, Translator trnsltr, QTIEditorMainController editorMainController) {
if (myTabbedPane == null) {
myTabbedPane = new TabbedPane("tabbedPane", ureq.getLocale());
sectionCtrl = new SectionController(section, qtiPackage, ureq, wControl, editorMainController.isRestrictedEdit());
sectionCtrl.addTabs(myTabbedPane);
sectionCtrl.addControllerListener(editorMainController);
}
return myTabbedPane;
}
use of org.olat.ims.qti.editor.SectionController in project OpenOLAT by OpenOLAT.
the class SectionNode method createEditTabbedPane.
/**
* @see org.olat.ims.qti.editor.tree.GenericQtiNode#createEditTabbedPane(org.olat.core.gui.UserRequest, org.olat.core.gui.control.WindowControl, org.olat.core.gui.translator.Translator, QTIEditorMainController)
*/
public TabbedPane createEditTabbedPane(UserRequest ureq, WindowControl wControl, Translator trnsltr, QTIEditorMainController editorMainController) {
if (myTabbedPane == null) {
myTabbedPane = new TabbedPane("tabbedPane", ureq.getLocale());
sectionCtrl = new SectionController(section, qtiPackage, ureq, wControl, editorMainController.isRestrictedEdit());
sectionCtrl.addTabs(myTabbedPane);
sectionCtrl.addControllerListener(editorMainController);
}
return myTabbedPane;
}
Aggregations