Package org.olat.commons.calendar.ui.events

Examples of org.olat.commons.calendar.ui.events.KalendarGUIAddEvent


    if (source == configVC) {
      String command = event.getCommand();
      if (command.equals(CMD_ADD)) {
        // add new event to calendar
        String calendarID = ureq.getParameter(PARAM_ID);
        fireEvent(ureq, new KalendarGUIAddEvent(calendarID, new Date()));
      } else if (command.equals(CMD_TOGGLE_DISPLAY)) {
        String calendarID = ureq.getParameter(PARAM_ID);
        KalendarRenderWrapper calendarWrapper = findKalendarRenderWrapper(calendarID);
        KalendarConfig config = calendarWrapper.getKalendarConfig();
        config.setVis(!config.isVis());
View Full Code Here


      for (Iterator iter = getKalendars().iterator(); iter.hasNext();) {
        calendarWrapper = (KalendarRenderWrapper)iter.next();
        if (calendarWrapper.getAccess() == KalendarRenderWrapper.ACCESS_READ_WRITE) break;
      }
      setDirty(true);
      fireEvent(ureq, new KalendarGUIAddEvent(calendarWrapper.getKalendar().getCalendarID(), timeDate));
    }
  }
View Full Code Here

    if (source == configVC) {
      String command = event.getCommand();
      if (command.equals(CMD_ADD)) {
        // add new event to calendar
        String calendarID = ureq.getParameter(PARAM_ID);
        fireEvent(ureq, new KalendarGUIAddEvent(calendarID, new Date()));
      } else if (command.equals(CMD_TOGGLE_DISPLAY)) {
        String calendarID = ureq.getParameter(PARAM_ID);
        KalendarRenderWrapper calendarWrapper = findKalendarRenderWrapper(calendarID);
        KalendarConfig config = calendarWrapper.getKalendarConfig();
        config.setVis(!config.isVis());
View Full Code Here

TOP

Related Classes of org.olat.commons.calendar.ui.events.KalendarGUIAddEvent

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.