org.olat.course.nodes.scorm
Class ScormEditController
java.lang.Object
org.olat.core.gui.control.DefaultController
org.olat.core.gui.control.controller.BasicController
org.olat.core.gui.control.generic.tabbable.TabbableDefaultController
org.olat.core.gui.control.generic.tabbable.ActivateableTabbableDefaultController
org.olat.course.nodes.scorm.ScormEditController
- All Implemented Interfaces:
- Controller, ControllerEventListener, Disposable, Activateable, TabbableController
public class ScormEditController
- extends ActivateableTabbableDefaultController
- implements ControllerEventListener
Description:
Edit controller for content packaging course nodes
Initial Date: Oct 13, 2004
- Author:
- Felix Jost, BPS (BPS Bildungsportal Sachsen GmbH)
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
PANE_TAB_CPCONFIG
public static final java.lang.String PANE_TAB_CPCONFIG
- See Also:
- Constant Field Values
CONFIG_SHOWMENU
public static final java.lang.String CONFIG_SHOWMENU
- See Also:
- Constant Field Values
CONFIG_SHOWNAVBUTTONS
public static final java.lang.String CONFIG_SHOWNAVBUTTONS
- See Also:
- Constant Field Values
CONFIG_ISASSESSABLE
public static final java.lang.String CONFIG_ISASSESSABLE
- See Also:
- Constant Field Values
CONFIG_CUTVALUE
public static final java.lang.String CONFIG_CUTVALUE
- See Also:
- Constant Field Values
CONFIG_HEIGHT
public static final java.lang.String CONFIG_HEIGHT
- See Also:
- Constant Field Values
CONFIG_HEIGHT_AUTO
public static final java.lang.String CONFIG_HEIGHT_AUTO
- See Also:
- Constant Field Values
ScormEditController
public ScormEditController(ScormCourseNode scormNode,
UserRequest ureq,
WindowControl wControl,
ICourse course,
UserCourseEnvironment euce)
- Parameters:
cpNode - CourseNodeureq - wControl - course - Course Interfaceeuce - User course environment
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 urequest,
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)
addTabs
public void addTabs(TabbedPane tabbedPane)
- Description copied from interface:
TabbableController
- Add tabs to the given tabbed pane
- Specified by:
addTabs in interface TabbableController
- Parameters:
tabbedPane - The tabbed pane- See Also:
org.olat.core.gui.control.generic.tabbable.TabbableDefaultController#addTabs(org.olat.core.gui.components.TabbedPane)
getScormCPReference
public static RepositoryEntry getScormCPReference(ModuleConfiguration config,
boolean strict)
- Parameters:
config - the moduleConfigstrict - an assertion exception is thrown if no entry is found when
strict is set to true, otherwise, null is returned
- Returns:
- the repositoryentry or null if not in strict mode and no entry
found
- Throws:
AssertException - when in strict mode and no entry is found
removeScormCPReference
public static void removeScormCPReference(ModuleConfiguration moduleConfiguration)
- Remove the reference to the repository entry.
- Parameters:
moduleConfiguration -
setScormCPReference
public static void setScormCPReference(RepositoryEntry re,
ModuleConfiguration moduleConfiguration)
- Set the referenced repository entry.
- Parameters:
re - moduleConfiguration -
isModuleConfigValid
public static boolean isModuleConfigValid(ModuleConfiguration moduleConfiguration)
- Parameters:
moduleConfiguration -
- Returns:
- boolean
getPaneKeys
public java.lang.String[] getPaneKeys()
- Specified by:
getPaneKeys in class ActivateableTabbableDefaultController
- Returns:
- translation keys for the panes
getTabbedPane
public TabbedPane getTabbedPane()
- Specified by:
getTabbedPane in class ActivateableTabbableDefaultController
- Returns:
- tabbed pane