org.olat.ims.qti.editor
Class MaterialFormController

java.lang.Object
  extended by org.olat.core.gui.control.DefaultController
      extended by org.olat.core.gui.control.controller.BasicController
          extended by org.olat.core.gui.components.form.flexible.impl.FormBasicController
              extended by org.olat.ims.qti.editor.MaterialFormController
All Implemented Interfaces:
Controller, ControllerEventListener, Disposable

public class MaterialFormController
extends FormBasicController

Material edit form controller in rich text editor style. All material elements are merged into a single one with a single text element.

Author:
gwassmann

Field Summary
 
Fields inherited from class org.olat.core.gui.components.form.flexible.impl.FormBasicController
LAYOUT_CUSTOM, LAYOUT_DEFAULT, LAYOUT_HORIZONTAL, LAYOUT_VERTICAL
 
Constructor Summary
MaterialFormController(UserRequest ureq, WindowControl control, Material mat, QTIEditorPackage qtiPackage, boolean isRestrictedEditMode)
           
 
Method Summary
 Material getMaterial()
           
 
Methods inherited from class org.olat.core.gui.components.form.flexible.impl.FormBasicController
dispose, event
 
Methods inherited from class org.olat.core.gui.control.DefaultController
addControllerListener, addLoggingResourceable, dispatchEvent, dispatchEvent, getControllerCount, getInitialComponent, getUserActivityLogger, getWindowControlForDebug, isDisposed, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MaterialFormController

public MaterialFormController(UserRequest ureq,
                              WindowControl control,
                              Material mat,
                              QTIEditorPackage qtiPackage,
                              boolean isRestrictedEditMode)
Method Detail

getMaterial

public Material getMaterial()
Returns:
The material