org.olat.course.condition
Class ConditionConfigEasyController

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.course.condition.ConditionConfigEasyController
All Implemented Interfaces:
Controller, ControllerEventListener, Disposable

public class ConditionConfigEasyController
extends FormBasicController

Description:
The ConditionConfigEasyController implements the easy condition editing workflow in the course editor. It has several complex dependency rules to show and hide form input fields, and also the possibility to start subworkflows for creation of groups or areas.

Initial Date: 13.06.2007

Author:
patrickb

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
ConditionConfigEasyController(UserRequest ureq, WindowControl wControl, Condition cond, java.lang.String title, java.lang.String formName, java.util.List nodeIdentList, CourseEditorEnv env)
          with default layout _content/easycondedit.html
 
Method Summary
 Condition getCondition()
           
 void updateGroupsAndAreasCheck()
          gets called if other condition edit controller on the same screen has created groups or areas and informs other condition edit controller to update for example the "create link" to "choose link"
 
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

ConditionConfigEasyController

public ConditionConfigEasyController(UserRequest ureq,
                                     WindowControl wControl,
                                     Condition cond,
                                     java.lang.String title,
                                     java.lang.String formName,
                                     java.util.List nodeIdentList,
                                     CourseEditorEnv env)
with default layout _content/easycondedit.html

Parameters:
ureq -
wControl -
groupMgr - The course group manager
cond - condition for initialisation
title - The title that should be displayed for this condition
formName - Name of the condition form - must be unique within a HTML page
nodeIdentList -
euce -
Method Detail

getCondition

public Condition getCondition()

updateGroupsAndAreasCheck

public void updateGroupsAndAreasCheck()
gets called if other condition edit controller on the same screen has created groups or areas and informs other condition edit controller to update for example the "create link" to "choose link"