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

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


  public void setContentController(boolean autoDisposeOnWindowClose, Controller contentController) {
    if (this.contentController != null) throw new AssertException("can only set contentController once!");
    this.contentController = contentController;
    this.autoDisposeOnWindowClose = autoDisposeOnWindowClose;
   
    currentGuiStack = new GuiStackSimpleImpl(contentController.getInitialComponent());
    contentPanel.setContent(currentGuiStack.getPanel());   
//  REVIEW:12-2007:CodeCleanup
    //contentPanel.setContent(contentController.getInitialComponent());
  }
View Full Code Here


    // 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);     
    }
    return gsh;
View Full Code Here

TOP

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

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.