Search in sources :

Example 1 with AssessmentController

use of org.olat.ims.qti.editor.AssessmentController in project openolat by klemens.

the class AssessmentNode 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());
        TabbableController tabbCntrllr = new AssessmentController(assmnt, qtiPackage, ureq, wControl, editorMainController.isRestrictedEdit());
        tabbCntrllr.addTabs(myTabbedPane);
        tabbCntrllr.addControllerListener(editorMainController);
    }
    return myTabbedPane;
}
Also used : AssessmentController(org.olat.ims.qti.editor.AssessmentController) TabbedPane(org.olat.core.gui.components.tabbedpane.TabbedPane) TabbableController(org.olat.core.gui.control.generic.tabbable.TabbableController)

Example 2 with AssessmentController

use of org.olat.ims.qti.editor.AssessmentController in project OpenOLAT by OpenOLAT.

the class AssessmentNode 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());
        TabbableController tabbCntrllr = new AssessmentController(assmnt, qtiPackage, ureq, wControl, editorMainController.isRestrictedEdit());
        tabbCntrllr.addTabs(myTabbedPane);
        tabbCntrllr.addControllerListener(editorMainController);
    }
    return myTabbedPane;
}
Also used : AssessmentController(org.olat.ims.qti.editor.AssessmentController) TabbedPane(org.olat.core.gui.components.tabbedpane.TabbedPane) TabbableController(org.olat.core.gui.control.generic.tabbable.TabbableController)

Aggregations

TabbedPane (org.olat.core.gui.components.tabbedpane.TabbedPane)2 TabbableController (org.olat.core.gui.control.generic.tabbable.TabbableController)2 AssessmentController (org.olat.ims.qti.editor.AssessmentController)2