Package org.olat.core.gui.control.navigation

Examples of org.olat.core.gui.control.navigation.DefaultNavElement


  public boolean isKeepState() {
    return true;
  }

  public void reset() {
    curNavElem = new DefaultNavElement(origNavElem);
  }
View Full Code Here


   * @param loc
   */
  public Site(Locale loc, String repositorySoftKey) {
    this.repositorySoftKey = repositorySoftKey;
    Translator trans = Util.createPackageTranslator(Site.class, loc);
    origNavElem = new DefaultNavElement(trans.translate("site.title"), trans.translate("site.title.alt"), "site_demo_icon");     
    curNavElem = new DefaultNavElement(origNavElem);
  }
View Full Code Here

 
  /**
   * @see org.olat.navigation.SiteInstance#reset()
   */
  public void reset() {
    curNavElem = new DefaultNavElement(origNavElem);
  }
View Full Code Here

  /**
   * @param loc
   */
  public DemoSite(Locale loc) {
    Translator trans = new PackageTranslator(PACKAGE, loc);
    origNavElem = new DefaultNavElement(trans.translate("site.title"), trans.translate("site.title.alt"), "site_demo_icon");     
    curNavElem = new DefaultNavElement(origNavElem);
  }
View Full Code Here

 
  /**
   * @see org.olat.navigation.SiteInstance#reset()
   */
  public void reset() {
    curNavElem = new DefaultNavElement(origNavElem);
  }
View Full Code Here

  private NavElement curNavElem;
  /**
   *
   */
  public GUIDemoSite(Locale loc) {
    origNavElem = new DefaultNavElement("gui_demo", "gui demo", "o_site_guidemo");
    curNavElem = new DefaultNavElement(origNavElem);
  }
View Full Code Here

 
  /**
   * @see org.olat.navigation.SiteInstance#reset()
   */
  public void reset() {
    curNavElem = new DefaultNavElement(origNavElem);
  }
View Full Code Here

  /**
   *
   */
  public GuestHomeSite(Locale loc) { 
    Translator trans = new PackageTranslator(PACKAGE, loc);
    origNavElem = new DefaultNavElement(trans.translate("topnav.guesthome"), trans.translate("topnav.guesthome.alt"), "o_site_home");   
    curNavElem = new DefaultNavElement(origNavElem);
  }
View Full Code Here

  public boolean isKeepState() {
    return true;
  }
 
  public void reset() {
    curNavElem = new DefaultNavElement(origNavElem);
  }
View Full Code Here

  /**
   *
   */
  public HomeSite(Locale loc) {
    Translator trans = new PackageTranslator(PACKAGE, loc);
    origNavElem = new DefaultNavElement(trans.translate("topnav.home"), trans.translate("topnav.home.alt"), "o_site_home");   
    origNavElem.setAccessKey("h".charAt(0));
    curNavElem = new DefaultNavElement(origNavElem);
}
View Full Code Here

TOP

Related Classes of org.olat.core.gui.control.navigation.DefaultNavElement

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.