Search in sources :

Example 26 with NodeEditController

use of org.olat.course.editor.NodeEditController in project openolat by klemens.

the class SPCourseNode 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);
    SPEditController childTabCntrllr = new SPEditController(getModuleConfiguration(), ureq, wControl, this, course, euce);
    CourseNode chosenNode = course.getEditorTreeModel().getCourseNode(euce.getCourseEditorEnv().getCurrentCourseNodeId());
    NodeEditController nodeEditController = new NodeEditController(ureq, wControl, course.getEditorTreeModel(), course, chosenNode, euce, childTabCntrllr);
    // special case: listen to sp edit controller, must be informed when the short title is being modified
    nodeEditController.addControllerListener(childTabCntrllr);
    return nodeEditController;
}
Also used : NodeEditController(org.olat.course.editor.NodeEditController) SPEditController(org.olat.course.nodes.sp.SPEditController)

Example 27 with NodeEditController

use of org.olat.course.editor.NodeEditController in project openolat by klemens.

the class PFCourseNode method createEditController.

@Override
public TabbableController createEditController(UserRequest ureq, WindowControl wControl, BreadcrumbPanel stackPanel, ICourse course, UserCourseEnvironment euce) {
    PFEditController ordnerCtr = new PFEditController(ureq, wControl, this, course, euce);
    CourseNode chosenNode = course.getEditorTreeModel().getCourseNode(euce.getCourseEditorEnv().getCurrentCourseNodeId());
    return new NodeEditController(ureq, wControl, course.getEditorTreeModel(), course, chosenNode, euce, ordnerCtr);
}
Also used : NodeEditController(org.olat.course.editor.NodeEditController) PFEditController(org.olat.course.nodes.pf.ui.PFEditController)

Example 28 with NodeEditController

use of org.olat.course.editor.NodeEditController in project openolat by klemens.

the class PodcastCourseNode 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 podcastChildController = new PodcastNodeEditController(this, course, euce, ureq, wControl);
    return new NodeEditController(ureq, wControl, course.getEditorTreeModel(), course, chosenNode, euce, podcastChildController);
}
Also used : PodcastNodeEditController(org.olat.course.nodes.feed.podcast.PodcastNodeEditController) FeedNodeEditController(org.olat.course.nodes.feed.FeedNodeEditController) NodeEditController(org.olat.course.editor.NodeEditController) TabbableController(org.olat.core.gui.control.generic.tabbable.TabbableController) PodcastNodeEditController(org.olat.course.nodes.feed.podcast.PodcastNodeEditController)

Example 29 with NodeEditController

use of org.olat.course.editor.NodeEditController in project openolat by klemens.

the class DialogCourseNode method createEditController.

/**
 * @see org.olat.course.nodes.GenericCourseNode#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) {
    updateModuleConfigDefaults(false);
    DialogCourseNodeEditController childTabCntrllr = new DialogCourseNodeEditController(ureq, wControl, this, course, euce);
    CourseNode chosenNode = course.getEditorTreeModel().getCourseNode(euce.getCourseEditorEnv().getCurrentCourseNodeId());
    return new NodeEditController(ureq, wControl, course.getEditorTreeModel(), course, chosenNode, euce, childTabCntrllr);
}
Also used : DialogCourseNodeEditController(org.olat.course.nodes.dialog.ui.DialogCourseNodeEditController) NodeEditController(org.olat.course.editor.NodeEditController) DialogCourseNodeEditController(org.olat.course.nodes.dialog.ui.DialogCourseNodeEditController)

Example 30 with NodeEditController

use of org.olat.course.editor.NodeEditController in project openolat by klemens.

the class EdubaseCourseNode method createEditController.

@Override
public TabbableController createEditController(UserRequest ureq, WindowControl wControl, BreadcrumbPanel stackPanel, ICourse course, UserCourseEnvironment euce) {
    updateModuleConfigDefaults(false);
    EdubaseEditController childTabCntrllr = new EdubaseEditController(ureq, wControl, this, course, 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) EdubaseEditController(org.olat.course.nodes.edubase.EdubaseEditController)

Aggregations

NodeEditController (org.olat.course.editor.NodeEditController)78 TabbableController (org.olat.core.gui.control.generic.tabbable.TabbableController)10 AbstractAccessableCourseNode (org.olat.course.nodes.AbstractAccessableCourseNode)8 CourseNode (org.olat.course.nodes.CourseNode)8 IQEditController (org.olat.course.nodes.iq.IQEditController)6 Condition (org.olat.course.condition.Condition)4 FeedNodeEditController (org.olat.course.nodes.feed.FeedNodeEditController)4 InfoCourseNodeEditController (org.olat.course.nodes.info.InfoCourseNodeEditController)4 ChecklistEditController (de.bps.course.nodes.cl.ChecklistEditController)2 DENEditController (de.bps.course.nodes.den.DENEditController)2 LLEditController (de.bps.course.nodes.ll.LLEditController)2 NoProviderController (de.bps.course.nodes.vc.NoProviderController)2 VCConfiguration (de.bps.course.nodes.vc.VCConfiguration)2 VCEditController (de.bps.course.nodes.vc.VCEditController)2 VCProvider (de.bps.course.nodes.vc.provider.VCProvider)2 List (java.util.List)2 DeliveryOptions (org.olat.core.gui.control.generic.iframe.DeliveryOptions)2 TabbableDefaultController (org.olat.core.gui.control.generic.tabbable.TabbableDefaultController)2 LTIEditController (org.olat.course.nodes.basiclti.LTIEditController)2 BCCourseNodeEditController (org.olat.course.nodes.bc.BCCourseNodeEditController)2