org.olat.course.nodes.ms
Class MSEditFormController
java.lang.Object
org.olat.core.gui.control.DefaultController
org.olat.core.gui.control.controller.BasicController
org.olat.core.gui.components.form.flexible.impl.FormBasicController
org.olat.course.nodes.ms.MSEditFormController
- All Implemented Interfaces:
- Controller, ControllerEventListener, Disposable
public class MSEditFormController
- extends FormBasicController
Provides a FlexiForm for the assesment settings dialog, including custom
rules for when to show which dialog element.
- Author:
- twuersch
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
MSEditFormController
public MSEditFormController(UserRequest ureq,
WindowControl wControl,
ModuleConfiguration modConfig)
- Creates this controller.
- Parameters:
ureq - wControl - modConfig -
setDisplayOnly
public void setDisplayOnly(boolean displayOnly)
- Sets this form to be write-protected.
- Parameters:
displayOnly -
updateModuleConfiguration
public void updateModuleConfiguration(ModuleConfiguration moduleConfiguration)
- Parameters:
moduleConfiguration -
isConfigValid
public static boolean isConfigValid(ModuleConfiguration config)
- Parameters:
config - the module configuration
- Returns:
- true if valid, false otherwhise