Examples of addDisposableChildController()


Examples of org.olat.core.commons.fullWebApp.LayoutMain3ColsPreviewController.addDisposableChildController()

   * @return A main layout preview controller
   */
  public LayoutMain3ColsPreviewController createMainLayoutPreviewController(UserRequest ureq, WindowControl wControl, VFSContainer rootContainer, boolean showMenu) {
    CPDisplayController cpCtr = new CPDisplayController(ureq, wControl, rootContainer, showMenu, true, null, null);   
    LayoutMain3ColsPreviewController layoutCtr = new LayoutMain3ColsPreviewController(ureq, wControl, cpCtr.getMenuComponent(), null, cpCtr.getInitialComponent(), rootContainer.getName());
    layoutCtr.addDisposableChildController(cpCtr); // cascade disposing requests
    return layoutCtr;
  }
   
}
View Full Code Here

Examples of org.olat.core.gui.control.generic.layout.MainLayout3ColumnsController.addDisposableChildController()

   * @return A main layout controller
   */
  public MainLayout3ColumnsController createMainLayoutController(UserRequest ureq, WindowControl wControl, VFSContainer rootContainer, boolean showMenu, boolean activateFirstPage, String initialUri, OLATResourceable ores) {
    CPDisplayController cpCtr = new CPDisplayController(ureq, wControl, rootContainer, showMenu, activateFirstPage, initialUri, ores);   
    MainLayout3ColumnsController layoutCtr = new LayoutMain3ColsController(ureq, wControl, cpCtr.getMenuComponent(), null, cpCtr.getInitialComponent(), rootContainer.getName());
    layoutCtr.addDisposableChildController(cpCtr); // cascade disposing requests
    return layoutCtr;
  }
 
  /**
   * Creates a main layout controller. The layout uses one or two columns
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.