org.olat.group.ui.context
Class BGContextFormController
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.group.ui.context.BGContextFormController
- All Implemented Interfaces:
- Controller, ControllerEventListener, Disposable
public class BGContextFormController
- extends FormBasicController
Provides a FlexiForm-based dialog for entering group administration info.
- Author:
- twuersch
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
BGContextFormController
public BGContextFormController(UserRequest ureq,
WindowControl wControl,
java.lang.String groupType,
boolean showIsDefaultOption)
- Creates this controller.
- Parameters:
ureq - The user request.wControl - The window control.groupType - This group's type.showIsDefaultOption - Decides whether the "only visible within course"
checkbox is shown.
setValues
public void setValues(BGContext context)
- Set the name and description of the context in this form
- Parameters:
context -
isDefaultContext
public boolean isDefaultContext()
- Returns:
- boolean true if this is now a default context
getDescription
public java.lang.String getDescription()
- Returns:
- the context description as string
getName
public java.lang.String getName()
- Returns:
- String context name
getType
public java.lang.String getType()
- Returns:
- String the group context type