Package org.olat.core.gui.control.guistack

Examples of org.olat.core.gui.control.guistack.GuiStack


 
  public void setContentController(Controller contentController) {
    if (this.contentController != null) throw new AssertException("can only set contentController once!");
    this.contentController = contentController;

    GuiStack gsh = getWindowControl().getWindowBackOffice().createGuiStack(contentController.getInitialComponent());   
    setGuiStack(gsh);
  }
View Full Code Here


   */
  public GuiStack createGuiStack(Component initialComponent) {
    // only needed for a on-screen mode change = only for demo purposes.
    // normally the following code is appropriate:

    GuiStack gsh;
    if (winmgrImpl.isForScreenReader()) {
      gsh = new GuiStackSimpleImpl(initialComponent);
    } else {
      gsh = new GuiStackNiceImpl(this, initialComponent);     
    }
View Full Code Here

   
   
    contentCtrl = baseFullWebappControllerParts.getContentController(ureq, getWindowControl());
    if (contentCtrl != null) {
      listenTo(contentCtrl);
      GuiStack gs = getWindowControl().getWindowBackOffice().createGuiStack(contentCtrl.getInitialComponent());
      setGuiStack(gs);
      main.setContent(contentCtrl.getInitialComponent());
    }
    if (sites != null) {
      // ------ activate now main
View Full Code Here

  // FROM FULLCHIEFCONTROLLER

  private void activateSite(SiteInstance s, UserRequest ureq, String viewIdentifier) {
    BornSiteInstance bs = siteToBornSite.get(s);
    GuiStack gs;
    Controller resC;
    //PB//WindowControl site_wControl;
    if (bs != null && s != curSite) {
      // single - click -> fetch guistack from cache
      gs = bs.getGuiStackHandle();
View Full Code Here

        // activate previous chosen static site -> this site has already been
        // constructed and is thus in the cache
        SiteInstance si = prevSite;
        BornSiteInstance bs = siteToBornSite.get(si);
        // bs != null since clicked previously
        GuiStack gsh = bs.getGuiStackHandle();
        doActivateSite(si, gsh);
      } // else just remove the dtabs
      delt.dispose();//dispose tab and controllers in tab
    }
  }
View Full Code Here

TOP

Related Classes of org.olat.core.gui.control.guistack.GuiStack

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.