org.olat.repository.controllers
Class ChooseStepsController

java.lang.Object
  extended by org.olat.core.gui.control.DefaultController
      extended by org.olat.repository.controllers.ChooseStepsController
All Implemented Interfaces:
Controller, ControllerEventListener, Disposable

public class ChooseStepsController
extends DefaultController

Choose steps to be taken after having created a course with an initial description. TODO move this class to another package

Author:
Marcel Karras (toka@freebits.de)
See Also:
RepositoryMainController

Field Summary
static Event COURSE_EDIT
          Step to start the raw course editor has been chosen.
static Event DETAILS_VIEW
          Step to open the details view has been chosen.
static Event EVENT_CLOSEICON
          Event fired when the close icon is pressed.
static Event START_COURSE_WIZARD
          Step to start the wizard has been chosen.
static Event START_WIZARD_ESEM
          Step to start the ESEM wizard.
 
Constructor Summary
ChooseStepsController(UserRequest ureq, WindowControl control, RepositoryEntry addedEntry)
           
ChooseStepsController(UserRequest ureq, WindowControl control, RepositoryEntry addedEntry, java.lang.String modus)
           
 
Method Summary
 void event(UserRequest ureq, Component source, Event event)
          abstract event method for subclasses.
 RepositoryEntry getCourseRepositoryEntry()
          Get the currently active course entry.
 
Methods inherited from class org.olat.core.gui.control.DefaultController
addControllerListener, addLoggingResourceable, dispatchEvent, dispatchEvent, dispose, getControllerCount, getInitialComponent, getUserActivityLogger, getWindowControlForDebug, isDisposed, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

START_COURSE_WIZARD

public static Event START_COURSE_WIZARD
Step to start the wizard has been chosen.


START_WIZARD_ESEM

public static final Event START_WIZARD_ESEM
Step to start the ESEM wizard.


DETAILS_VIEW

public static Event DETAILS_VIEW
Step to open the details view has been chosen.


COURSE_EDIT

public static Event COURSE_EDIT
Step to start the raw course editor has been chosen.


EVENT_CLOSEICON

public static final Event EVENT_CLOSEICON
Event fired when the close icon is pressed.

Constructor Detail

ChooseStepsController

public ChooseStepsController(UserRequest ureq,
                             WindowControl control,
                             RepositoryEntry addedEntry,
                             java.lang.String modus)

ChooseStepsController

public ChooseStepsController(UserRequest ureq,
                             WindowControl control,
                             RepositoryEntry addedEntry)
Method Detail

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.


getCourseRepositoryEntry

public final RepositoryEntry getCourseRepositoryEntry()
Get the currently active course entry.