org.olat.course.run
Class RunMainController
java.lang.Object
org.olat.core.gui.control.DefaultController
org.olat.core.gui.control.controller.BasicController
org.olat.core.gui.control.controller.MainLayoutBasicController
org.olat.course.run.RunMainController
- All Implemented Interfaces:
- CustomCSSProvider, Controller, ControllerEventListener, Disposable, Activateable, MainLayoutController, GenericEventListener
public class RunMainController
- extends MainLayoutBasicController
- implements GenericEventListener, Activateable
Description:
- Author:
- Felix Jost
|
Method Summary |
void |
activate(UserRequest ureq,
java.lang.String viewIdentifier)
FIXME:pb:discussion FJ should we return boolean if activation was
successful? |
void |
event(Event event)
implementation of listener which listens to publish events |
void |
event(UserRequest ureq,
Component source,
Event event)
abstract event method for subclasses. |
void |
event(UserRequest ureq,
Controller source,
Event event)
the only method of the interface controllereventlistener. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ORES_TYPE_COURSE_RUN
public static final java.lang.String ORES_TYPE_COURSE_RUN
RunMainController
public RunMainController(UserRequest ureq,
WindowControl wControl,
ICourse course,
java.lang.String initialViewIdentifier,
boolean offerBookmark,
boolean showCourseConfigLink)
- Constructor for the run main controller
- Parameters:
ureq - The user requestwControl - The current window controllercourse - The current courseinitialViewIdentifier - if null the default view will be started,
otherwise a controllerfactory type dependant view will be
activated (subscription subtype) number: node with nodenumber will
be activated "assessmentTool": assessment tool will be activatedofferBookmark - - whether to offer bookmarks or notshowCourseConfigLink - Flag to enable/disable link to detail-page in tool menu.
event
public void event(UserRequest ureq,
Component source,
Event event)
- Description copied from class:
DefaultController
- abstract event method for subclasses. the event received from the component
we are listening to are always rerouted to this method here, except when
the component has been disposed, in which case the events are simply
ignored.
- See Also:
DefaultController.event(org.olat.core.gui.UserRequest,
org.olat.core.gui.components.Component,
org.olat.core.gui.control.Event)
event
public void event(UserRequest ureq,
Controller source,
Event event)
- Description copied from class:
DefaultController
- the only method of the interface controllereventlistener. always gets
called when a controller we 'subscribed' to fires an event. we provide a
default implementation here since there are many controllers which are
standalone and need no subcontrollers
- See Also:
DefaultController.event(org.olat.core.gui.UserRequest,
org.olat.core.gui.control.Controller, org.olat.core.gui.control.Event)
event
public void event(Event event)
- implementation of listener which listens to publish events
- Specified by:
event in interface GenericEventListener
- See Also:
GenericEventListener.event(org.olat.core.gui.control.Event)
activate
public void activate(UserRequest ureq,
java.lang.String viewIdentifier)
- Description copied from interface:
Activateable
- FIXME:pb:discussion FJ should we return boolean if activation was
successful?
- Specified by:
activate in interface Activateable
- See Also:
Activateable.activate(org.olat.core.gui.UserRequest,
java.lang.String)