Search in sources :

Example 1 with SectionController

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;
}
Also used : SectionController(org.olat.ims.qti.editor.SectionController) TabbedPane(org.olat.core.gui.components.tabbedpane.TabbedPane)

Example 2 with SectionController

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;
}
Also used : SectionController(org.olat.ims.qti.editor.SectionController) TabbedPane(org.olat.core.gui.components.tabbedpane.TabbedPane)

Aggregations

TabbedPane (org.olat.core.gui.components.tabbedpane.TabbedPane)2 SectionController (org.olat.ims.qti.editor.SectionController)2