Package org.olat.commons.calendar.ui

Examples of org.olat.commons.calendar.ui.WeeklyCalendarController


        }
      }
    }
    calendars.add(calRenderWrapper);
   
    WeeklyCalendarController calendarController = new WeeklyCalendarController(
        ureq, wControl, calendars, WeeklyCalendarController.CALLER_COLLAB);

    return calendarController;
  }
View Full Code Here


      CourseCalendarSubscription calendarSubscription, OLATResourceable course) {
    super(wControl);
    this.ores = course;
    calendars = myCal.getCalendars();
    courseKalendarWrapper = myCal.getCourseKalendarWrapper();
    calendarController = new WeeklyCalendarController(ureq, wControl, calendars, WeeklyCalendarController.CALLER_COURSE,
        calendarSubscription);
    calendarController.setEnableRemoveFromPersonalCalendar(false);
    setInitialComponent(calendarController.getInitialComponent());
  }
View Full Code Here

      else
        calendarWrapper.setAccess(KalendarRenderWrapper.ACCESS_READ_ONLY);
      List calendars = new ArrayList();
      calendars.add(calendarWrapper);
      removeAsListenerAndDispose(calendarController);
      calendarController = new WeeklyCalendarController(ureq, getWindowControl(), calendars,
          WeeklyCalendarController.CALLER_PROFILE);
      listenTo(calendarController);
      myContent.put("userinfo", calendarController.getInitialComponent());
    } else if (menuCommand.equals(CMD_FOLDER)) {
View Full Code Here

    super(wControl);
    this.ores = course;
    List calendars = getListOfCalendarWrappers(ureq);
    CourseCalendarSubscription calendarSubscription = new CourseCalendarSubscription(
        courseKalendarWrapper.getKalendar(), ureq.getUserSession().getGuiPreferences());
    calendarController = new WeeklyCalendarController(
        ureq, wControl, calendars, WeeklyCalendarController.CALLER_COURSE, calendarSubscription);
    setInitialComponent(calendarController.getInitialComponent());
  }
View Full Code Here

    userSession.getSingleUserEventCenter().registerFor(this, ureq.getIdentity(), OresHelper.lookupType(CalendarManager.class));
    CoordinatorManager.getCoordinator().getEventBus().registerFor(this, ureq.getIdentity(), OresHelper.lookupType(CalendarManager.class));
   
    List<KalendarRenderWrapper> calendars = getListOfCalendarWrappers(ureq, windowControl);
    List importedCalendars = getListOfImportedCalendarWrappers(ureq);
    calendarController = new WeeklyCalendarController(ureq, windowControl, calendars, importedCalendars, WeeklyCalendarController.CALLER_HOME);
    calendarController.addControllerListener(this);
    setInitialComponent(calendarController.getInitialComponent());
  }
View Full Code Here

TOP

Related Classes of org.olat.commons.calendar.ui.WeeklyCalendarController

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.