Examples of hideIfEmpty()


Examples of com.gitblit.wicket.panels.FederationProposalsPanel.hideIfEmpty()

    add(new FederationTokensPanel("federationTokensPanel", showFederation)
        .setVisible(showFederation));
    FederationProposalsPanel proposalsPanel = new FederationProposalsPanel(
        "federationProposalsPanel");
    if (showFederation) {
      proposalsPanel.hideIfEmpty();
    } else {
      proposalsPanel.setVisible(false);
    }

    boolean showRegistrations = app().settings().getBoolean(Keys.web.showFederationRegistrations, false);
View Full Code Here

Examples of com.gitblit.wicket.panels.FederationRegistrationsPanel.hideIfEmpty()

    boolean showRegistrations = app().settings().getBoolean(Keys.web.showFederationRegistrations, false);
    FederationRegistrationsPanel registrationsPanel = new FederationRegistrationsPanel(
        "federationRegistrationsPanel");
    if (showAdmin || showRegistrations) {
      registrationsPanel.hideIfEmpty();
    } else {
      registrationsPanel.setVisible(false);
    }
    add(proposalsPanel);
    add(registrationsPanel);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.