Examples of LayoutMain3ColsController


Examples of org.olat.core.commons.fullWebApp.LayoutMain3ColsController

    }

    //
    Component toolContent = toolCtr != null ? toolCtr.getInitialComponent() : null;
   
    columnLayoutCtr = new LayoutMain3ColsController(ureq, getWindowControl(), olatMenuTree, toolContent, content, className);
    listenTo(columnLayoutCtr); // auto dispose later
    putInitialPanel(columnLayoutCtr.getInitialComponent());
  }
View Full Code Here

Examples of org.olat.core.commons.fullWebApp.LayoutMain3ColsController

    // Add translation tool start controller to bread crumb
    startCtr = new TranslationToolStartCrumbController(ureq, control, customizingMode);
    listenTo(startCtr);
    breadCrumbLayoutCtr.activateFirstCrumbController(startCtr);
    // Our view is generated by the main and the bread crumb layouer
    mainLayoutCtr = new LayoutMain3ColsController(ureq, getWindowControl(), null, null, breadCrumbLayoutCtr.getInitialComponent(), null);
    listenTo(mainLayoutCtr);
    putInitialPanel(mainLayoutCtr.getInitialComponent());
  }
View Full Code Here

Examples of org.olat.core.commons.fullWebApp.LayoutMain3ColsController

        panel.setContent(null);
        // pop up in new browser window
        ControllerCreator undockControllerCreator = new ControllerCreator() {
          public Controller createController(UserRequest lureq,WindowControl lwControl) {
            delegWControl.setDelegate(lwControl);
            LayoutMain3ColsController layoutCtr = new LayoutMain3ColsController(lureq, delegWControl, null, null, controller.getInitialComponent(), null);
            layoutCtr.addDisposableChildController(controller); // cleanup on layout controller dispose
            return layoutCtr;
          }
        };
       
        ControllerCreator newWindowContent;
View Full Code Here

Examples of org.olat.core.commons.fullWebApp.LayoutMain3ColsController

    // Add translation tool start controller to bread crumb
    startCtr = new ContextHelpTOCCrumbController(ureq, control, newLocale);
    listenTo(startCtr);
    breadCrumbLayoutCtr.activateFirstCrumbController(startCtr);
    // Our view is generated by the main and the bread crumb layouer
    mainLayoutCtr = new LayoutMain3ColsController(ureq, getWindowControl(), null, null, breadCrumbLayoutCtr.getInitialComponent(), null);
    listenTo(mainLayoutCtr);
    putInitialPanel(mainLayoutCtr.getInitialComponent());

    activatePageFromURL(uriParts, ureq, startCtr);
   
View Full Code Here

Examples of org.olat.core.commons.fullWebApp.LayoutMain3ColsController

        public Controller createController(UserRequest lureq, WindowControl lwControl) {
          ControllerCreator cHelpMainControllerCreator = new ControllerCreator() {
            public Controller createController(UserRequest lureq, WindowControl lwControl) {
              // create the context help controller and wrapp it using the layout controller
              ContextHelpMainController helpCtr =  new ContextHelpMainController(lureq, lwControl);
              LayoutMain3ColsController layoutCtr =  new LayoutMain3ColsController(lureq, lwControl, null, null, helpCtr.getInitialComponent(), null);
              layoutCtr.addDisposableChildController(helpCtr);
              return layoutCtr;
            }
          };
          ContextHelpLayoutControllerCreator cHelpPopupLayoutCreator = new ContextHelpLayoutControllerCreator(cHelpMainControllerCreator);
          return new BaseFullWebappPopupBrowserWindow(lureq, lwControl, cHelpPopupLayoutCreator.getFullWebappParts());
View Full Code Here

Examples of org.olat.core.commons.fullWebApp.LayoutMain3ColsController

        LayoutMain3ColsBackController ctr = new LayoutMain3ColsBackController(ureq, getWindowControl(), (showMenu ? menuTree : null), null, myContent, "scorm" + resourceId);
        ctr.activate();
        columnLayoutCtr = ctr;
      }
    } else {
      LayoutMain3ColsController ctr = new LayoutMain3ColsController(ureq, getWindowControl(), (showMenu ? menuTree : null), null, myContent, "scorm" + resourceId);
      columnLayoutCtr = ctr;     
      putInitialPanel(columnLayoutCtr.getInitialComponent());
    }
    listenTo(columnLayoutCtr);
   
View Full Code Here

Examples of org.olat.core.commons.fullWebApp.LayoutMain3ColsController

  public static PopupBrowserWindow getPopupableForumController(UserRequest ureq, WindowControl wControl, final Forum forum, final ForumCallback forumCallback, final TitleInfo titleInfo) {   
    ControllerCreator ctrlCreator = new ControllerCreator() {
      public Controller createController(UserRequest lureq, WindowControl lwControl) {
        Controller forumWrapperController = getTitledForumController(lureq, lwControl, forum,  forumCallback, titleInfo);
        // use on column layout
        LayoutMain3ColsController layoutCtr = new LayoutMain3ColsController(lureq, lwControl, null, null, forumWrapperController.getInitialComponent(), null);
        layoutCtr.addDisposableChildController(forumWrapperController); // dispose content on layout dispose
        return layoutCtr;
      }         
    };
    //wrap the content controller into a full header layout
    ControllerCreator layoutCtrlr = BaseFullWebappPopupLayoutFactory.createAuthMinimalPopupLayout(ureq, ctrlCreator);
View Full Code Here

Examples of org.olat.core.commons.fullWebApp.LayoutMain3ColsController

      } else if (source == showOtherUsers) {
        //open new window with a list of online users
        ControllerCreator ctrlCreator = new ControllerCreator() {
          public Controller createController(UserRequest lureq, WindowControl lwControl) {
            ConnectedClientsListController clientsListCtr = new ConnectedClientsListController(lureq, lwControl);
            LayoutMain3ColsController mainLayoutCtr = new LayoutMain3ColsController(lureq, lwControl, null, null, clientsListCtr.getInitialComponent(), null);
            mainLayoutCtr.addDisposableChildController(clientsListCtr);
            return mainLayoutCtr;
          }         
        };
        //wrap the content controller into a full header layout
        ControllerCreator layoutCtrlr = BaseFullWebappPopupLayoutFactory.createAuthMinimalPopupLayout(ureq, ctrlCreator);
View Full Code Here

Examples of org.olat.core.commons.fullWebApp.LayoutMain3ColsController

      Controller messageCtr = MessageUIFactory.createErrorMessage(ureq, wControl, null, text);
      listenTo(messageCtr);//gets disposed as this controller gets disposed.
      content = messageCtr.getInitialComponent();
    }
    //Content goes to a 3 cols layout without left and right column
    LayoutMain3ColsController layoutCtr = new LayoutMain3ColsController(ureq, getWindowControl(), null, null, content, null);
    listenTo(layoutCtr);
    putInitialPanel(layoutCtr.getInitialComponent());
   
  }
View Full Code Here

Examples of org.olat.core.commons.fullWebApp.LayoutMain3ColsController

    RepositoryEntry repoEntry = RepositoryManager.getInstance().lookupRepositoryEntry(res, false);
    boolean isAdmin = ureq.getUserSession().getRoles().isOLATAdmin();
    boolean isOwner = RepositoryManager.getInstance().isOwnerOfRepositoryEntry(ureq.getIdentity(), repoEntry)
    FeedSecurityCallback callback = new FeedResourceSecurityCallback(isAdmin, isOwner);
    Controller blogCtr = BlogUIFactory.getInstance(ureq.getLocale()).createMainController(res, ureq, wControl, callback);
    LayoutMain3ColsController layoutCtr = new LayoutMain3ColsController(ureq, wControl, null, null, blogCtr.getInitialComponent(), null);
    layoutCtr.addDisposableChildController(blogCtr);
    return layoutCtr;
  }
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.