Search in sources :

Example 11 with TabbedPane

use of org.olat.core.gui.components.tabbedpane.TabbedPane 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)

Example 12 with TabbedPane

use of org.olat.core.gui.components.tabbedpane.TabbedPane 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)12 TabbableController (org.olat.core.gui.control.generic.tabbable.TabbableController)4 CourseOverviewController (org.olat.admin.user.course.CourseOverviewController)2 GroupOverviewController (org.olat.admin.user.groups.GroupOverviewController)2 NotificationSubscriptionController (org.olat.core.commons.services.notifications.ui.NotificationSubscriptionController)2 UserRequest (org.olat.core.gui.UserRequest)2 Component (org.olat.core.gui.components.Component)2 BreadcrumbedStackedPanel (org.olat.core.gui.components.stack.BreadcrumbedStackedPanel)2 TabCreator (org.olat.core.gui.components.tabbedpane.TabCreator)2 Controller (org.olat.core.gui.control.Controller)2 BasicController (org.olat.core.gui.control.controller.BasicController)2 AssertException (org.olat.core.logging.AssertException)2 CertificateAndEfficiencyStatementListController (org.olat.course.certificate.ui.CertificateAndEfficiencyStatementListController)2 AssessmentController (org.olat.ims.qti.editor.AssessmentController)2 ItemNodeTabbedFormController (org.olat.ims.qti.editor.ItemNodeTabbedFormController)2 SectionController (org.olat.ims.qti.editor.SectionController)2 ParticipantLecturesOverviewController (org.olat.modules.lecture.ui.ParticipantLecturesOverviewController)2 IdentityCompetencesController (org.olat.modules.taxonomy.ui.IdentityCompetencesController)2 UserOrderController (org.olat.resource.accesscontrol.ui.UserOrderController)2 ChangePrefsController (org.olat.user.ChangePrefsController)2