Package com.gitblit.models.NavLink

Examples of com.gitblit.models.NavLink.ExternalNavLink


    navLinks.add(new PageNavLink("gb.compare", ComparePage.class, params, true));

    // conditional links
    // per-repository extra navlinks
    if (JGitUtils.getPagesBranch(r) != null) {
      ExternalNavLink pagesLink = new ExternalNavLink("gb.pages", PagesServlet.asLink(
          getRequest().getRelativePathPrefixToContextRoot(), getRepositoryName(), null), true);
      navLinks.add(pagesLink);
    }

    UserModel user = UserModel.ANONYMOUS;
View Full Code Here


        if (navLink.hiddenPhone) {
          WicketUtils.setCssClass(item, "hidden-phone");
        }
        if (navLink instanceof ExternalNavLink) {
          // other link
          ExternalNavLink link = (ExternalNavLink) navLink;
          Component c = new LinkPanel("link", null, linkText, link.url);
          c.setRenderBodyOnly(true);
          item.add(c);
        } else if (navLink instanceof DropDownPageMenuNavLink) {
          // drop down menu
View Full Code Here

TOP

Related Classes of com.gitblit.models.NavLink.ExternalNavLink

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.