use of org.olat.core.gui.control.generic.closablewrapper.CloseableCalloutWindowController in project OpenOLAT by OpenOLAT.
the class LandingPagesAdminController method openChooser.
private void openChooser(UserRequest ureq, RuleWrapper row, FormLink link) {
removeAsListenerAndDispose(chooserCtrl);
removeAsListenerAndDispose(chooserCalloutCtrl);
chooserCtrl = new ChooserController(ureq, getWindowControl(), row);
listenTo(chooserCtrl);
chooserCalloutCtrl = new CloseableCalloutWindowController(ureq, getWindowControl(), chooserCtrl.getInitialComponent(), link.getFormDispatchId(), "", true, "");
listenTo(chooserCalloutCtrl);
chooserCalloutCtrl.activate();
}
use of org.olat.core.gui.control.generic.closablewrapper.CloseableCalloutWindowController in project OpenOLAT by OpenOLAT.
the class FlexiTableElementImpl method customizeCallout.
protected void customizeCallout(UserRequest ureq) {
Choice choice = getColumnListAndTheirVisibility();
callout = new CloseableCalloutWindowController(ureq, wControl, choice, customButton, "Customize", true, "o_sel_flexi_custom_callout");
callout.activate();
callout.addControllerListener(this);
}
use of org.olat.core.gui.control.generic.closablewrapper.CloseableCalloutWindowController in project OpenOLAT by OpenOLAT.
the class FlexiTableElementImpl method extendedFilterCallout.
private void extendedFilterCallout(UserRequest ureq) {
extendedFilterCtrl = new ExtendedFilterController(ureq, wControl, extendedFilters);
extendedFilterCtrl.addControllerListener(this);
callout = new CloseableCalloutWindowController(ureq, wControl, extendedFilterCtrl.getInitialComponent(), extendedFilterButton, "Filter", true, "o_sel_flexi_filter_callout");
callout.activate();
callout.addControllerListener(this);
}
use of org.olat.core.gui.control.generic.closablewrapper.CloseableCalloutWindowController in project OpenOLAT by OpenOLAT.
the class EditorMainController method doOpenStatusOverview.
private void doOpenStatusOverview(UserRequest ureq) {
removeAsListenerAndDispose(statusCtr);
statusCtr = new EditorStatusController(ureq, getWindowControl());
listenTo(statusCtr);
euce.getCourseEditorEnv().validateCourse();
StatusDescription[] courseStatus = euce.getCourseEditorEnv().getCourseStatus();
statusCtr.updateStatus(cetm, courseStatus);
calloutCtrl = new CloseableCalloutWindowController(ureq, getWindowControl(), statusCtr.getInitialComponent(), statusLink, "", true, null);
listenTo(calloutCtrl);
calloutCtrl.activate();
}
use of org.olat.core.gui.control.generic.closablewrapper.CloseableCalloutWindowController in project OpenOLAT by OpenOLAT.
the class GTAAvailableTaskController method doDescription.
private void doDescription(UserRequest ureq, AvailableTask row) {
removeAsListenerAndDispose(descriptionCalloutCtrl);
VelocityContainer descriptionVC = createVelocityContainer("description_callout");
descriptionVC.contextPut("description", row.getTaskDef().getDescription());
descriptionCalloutCtrl = new CloseableCalloutWindowController(ureq, getWindowControl(), descriptionVC, row.getDescriptionLink().getFormDispatchId(), "", true, "");
listenTo(descriptionCalloutCtrl);
descriptionCalloutCtrl.activate();
}
Aggregations