Search in sources :

Example 11 with TabbableController

use of org.olat.core.gui.control.generic.tabbable.TabbableController in project openolat by klemens.

the class BlogCourseNode method createEditController.

/**
 * @see org.olat.course.nodes.AbstractAccessableCourseNode#createEditController(org.olat.core.gui.UserRequest,
 *      org.olat.core.gui.control.WindowControl, org.olat.course.ICourse,
 *      org.olat.course.run.userview.UserCourseEnvironment)
 */
@Override
public TabbableController createEditController(UserRequest ureq, WindowControl wControl, BreadcrumbPanel stackPanel, ICourse course, UserCourseEnvironment euce) {
    CourseNode chosenNode = course.getEditorTreeModel().getCourseNode(euce.getCourseEditorEnv().getCurrentCourseNodeId());
    TabbableController blogChildController = new BlogNodeEditController(this, course, euce, ureq, wControl);
    return new NodeEditController(ureq, wControl, course.getEditorTreeModel(), course, chosenNode, euce, blogChildController);
}
Also used : BlogNodeEditController(org.olat.course.nodes.feed.blog.BlogNodeEditController) FeedNodeEditController(org.olat.course.nodes.feed.FeedNodeEditController) NodeEditController(org.olat.course.editor.NodeEditController) TabbableController(org.olat.core.gui.control.generic.tabbable.TabbableController) BlogNodeEditController(org.olat.course.nodes.feed.blog.BlogNodeEditController)

Example 12 with TabbableController

use of org.olat.core.gui.control.generic.tabbable.TabbableController in project openolat by klemens.

the class IQSURVCourseNode method createEditController.

/**
 * @see org.olat.course.nodes.CourseNode#createEditController(org.olat.core.gui.UserRequest,
 *      org.olat.core.gui.control.WindowControl, org.olat.course.ICourse)
 */
@Override
public TabbableController createEditController(UserRequest ureq, WindowControl wControl, BreadcrumbPanel stackPanel, ICourse course, UserCourseEnvironment euce) {
    TabbableController childTabCntrllr = new IQEditController(ureq, wControl, stackPanel, course, this, euce);
    CourseNode chosenNode = course.getEditorTreeModel().getCourseNode(euce.getCourseEditorEnv().getCurrentCourseNodeId());
    return new NodeEditController(ureq, wControl, course.getEditorTreeModel(), course, chosenNode, euce, childTabCntrllr);
}
Also used : NodeEditController(org.olat.course.editor.NodeEditController) IQEditController(org.olat.course.nodes.iq.IQEditController) TabbableController(org.olat.core.gui.control.generic.tabbable.TabbableController)

Example 13 with TabbableController

use of org.olat.core.gui.control.generic.tabbable.TabbableController in project openolat by klemens.

the class IQTESTCourseNode method createEditController.

/**
 * @see org.olat.course.nodes.CourseNode#createEditController(org.olat.core.gui.UserRequest,
 *      org.olat.core.gui.control.WindowControl, org.olat.course.ICourse)
 */
@Override
public TabbableController createEditController(UserRequest ureq, WindowControl wControl, BreadcrumbPanel stackPanel, ICourse course, UserCourseEnvironment euce) {
    updateModuleConfigDefaults(false);
    TabbableController childTabCntrllr = new IQEditController(ureq, wControl, stackPanel, course, this, euce);
    CourseNode chosenNode = course.getEditorTreeModel().getCourseNode(euce.getCourseEditorEnv().getCurrentCourseNodeId());
    return new NodeEditController(ureq, wControl, course.getEditorTreeModel(), course, chosenNode, euce, childTabCntrllr);
}
Also used : NodeEditController(org.olat.course.editor.NodeEditController) IQEditController(org.olat.course.nodes.iq.IQEditController) TabbableController(org.olat.core.gui.control.generic.tabbable.TabbableController)

Example 14 with TabbableController

use of org.olat.core.gui.control.generic.tabbable.TabbableController in project openolat by klemens.

the class IQSELFCourseNode method createEditController.

/**
 * @see org.olat.course.nodes.CourseNode#createEditController(org.olat.core.gui.UserRequest,
 *      org.olat.core.gui.control.WindowControl, org.olat.course.ICourse)
 */
@Override
public TabbableController createEditController(UserRequest ureq, WindowControl wControl, BreadcrumbPanel stackPanel, ICourse course, UserCourseEnvironment euce) {
    TabbableController childTabCntrllr = new IQEditController(ureq, wControl, stackPanel, course, this, euce);
    CourseNode chosenNode = course.getEditorTreeModel().getCourseNode(euce.getCourseEditorEnv().getCurrentCourseNodeId());
    return new NodeEditController(ureq, wControl, course.getEditorTreeModel(), course, chosenNode, euce, childTabCntrllr);
}
Also used : NodeEditController(org.olat.course.editor.NodeEditController) IQEditController(org.olat.course.nodes.iq.IQEditController) TabbableController(org.olat.core.gui.control.generic.tabbable.TabbableController)

Aggregations

TabbableController (org.olat.core.gui.control.generic.tabbable.TabbableController)14 NodeEditController (org.olat.course.editor.NodeEditController)10 IQEditController (org.olat.course.nodes.iq.IQEditController)6 TabbedPane (org.olat.core.gui.components.tabbedpane.TabbedPane)4 FeedNodeEditController (org.olat.course.nodes.feed.FeedNodeEditController)4 AssertException (org.olat.core.logging.AssertException)2 BlogNodeEditController (org.olat.course.nodes.feed.blog.BlogNodeEditController)2 PodcastNodeEditController (org.olat.course.nodes.feed.podcast.PodcastNodeEditController)2 AssessmentController (org.olat.ims.qti.editor.AssessmentController)2 ItemNodeTabbedFormController (org.olat.ims.qti.editor.ItemNodeTabbedFormController)2