Package org.olat.core.gui.control.generic.layout

Examples of org.olat.core.gui.control.generic.layout.GenericMainController


   
    //two cases:
    // -- VERY RARE CASE -- 1) qti is open in an editor session right now on the screen (or session on the way to timeout)
    // -- 99% of cases   -- 2) qti is ready to be run as test/survey
    if (CoordinatorManager.getCoordinator().getLocker().isLocked(res, null)){
      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


  }

  private GenericMainController createLockedMessageController(UserRequest ureq, WindowControl wControl) {
    //
    //wrap simple message into mainLayout
    GenericMainController glc = new GenericMainController(ureq, wControl) {
   
      private MessageController contentCtr;
      private Panel empty;
      private LayoutMain3ColsController columnLayoutCtr;
View Full Code Here

TOP

Related Classes of org.olat.core.gui.control.generic.layout.GenericMainController

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.