Examples of OLATResourceableListeningWrapperController


Examples of org.olat.core.util.controller.OLATResourceableListeningWrapperController

   *
   * create a wikiMaincontroller which disposes itself when the associated olatresourceable is disposed.
   */
  public Controller createWikiMainControllerDisposeOnOres(UserRequest ureq, WindowControl wControl, OLATResourceable ores, WikiSecurityCallback securityCallback, String initialPageName) {
    Controller controller = new WikiMainController(ureq, wControl, ores, securityCallback, initialPageName);
    OLATResourceableListeningWrapperController dwc = new OLATResourceableListeningWrapperController(ureq, wControl, ores, controller, ureq.getIdentity());
    return dwc;
  }
View Full Code Here

Examples of org.olat.core.util.controller.OLATResourceableListeningWrapperController

   * @return A main layout controller
   * @return the resource listening wrapper
   */
  public OLATResourceableListeningWrapperController createMainLayoutResourceableListeningWrapperController(OLATResourceable res, UserRequest ureq, WindowControl wControl, VFSContainer rootContainer, boolean showMenu, boolean activateFirstPage, String initialUri) {
    MainLayout3ColumnsController layoutCtr = createMainLayoutController(ureq, wControl, rootContainer, showMenu, activateFirstPage, initialUri, res);
    return new OLATResourceableListeningWrapperController(ureq, wControl, res, layoutCtr, ureq.getIdentity());
  }
View Full Code Here

Examples of org.olat.core.util.controller.OLATResourceableListeningWrapperController

      GenericMainController glc = createLockedMessageController(ureq, wControl);
      glc.init(ureq);
      return glc;
    }else{
      Controller controller = new IQDisplayController(resolver, type, secCallback, ureq, wControl);
      OLATResourceableListeningWrapperController dwc = new OLATResourceableListeningWrapperController(ureq, wControl, res, controller, ureq.getIdentity());
      return dwc;
    }
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.