use of org.olat.commons.calendar.ui.events.CalendarGUISettingEvent in project openolat by klemens.
the class CalendarPersonalConfigurationController method doToogleVisibility.
private void doToogleVisibility(UserRequest ureq, CalendarPersonalConfigurationRow row) {
KalendarRenderWrapper calendarWrapper = row.getWrapper();
calendarWrapper.setVisible(!calendarWrapper.isVisible());
calendarManager.saveCalendarConfigForIdentity(calendarWrapper, getIdentity());
enableDisableIcons(row.getVisibleLink(), calendarWrapper.isVisible());
fireEvent(ureq, new CalendarGUISettingEvent(calendarWrapper));
}
Aggregations