Examples of LinkAndLabel


Examples of org.apache.isis.viewer.wicket.ui.components.widgets.cssmenu.CssMenuLinkFactory.LinkAndLabel

        final Consent visibility = noAction.isVisible(session, adapter);
        if (visibility.isVetoed()) {
            return null;
        }

        final LinkAndLabel linkAndLabel = cssMenuLinkFactory.newLink(adapterMemento, noAction, PageAbstract.ID_MENU_LINK);

        final Link<?> link = linkAndLabel.getLink();
        final String actionLabel = linkAndLabel.getLabel();

        final Consent usability = noAction.isUsable(session, adapter);
        final String reasonDisabledIfAny = usability.getReason();

        return parentMenuItem.newSubMenuItem(actionLabel).link(link).enabled(reasonDisabledIfAny);
View Full Code Here

Examples of org.apache.isis.viewer.wicket.ui.components.widgets.cssmenu.CssMenuLinkFactory.LinkAndLabel

        final Consent visibility = noAction.isVisible(session, adapter);
        if (visibility.isVetoed()) {
            return null;
        }

        final LinkAndLabel linkAndLabel =
            cssMenuLinkFactory.newLink(adapterMemento, noAction, PageAbstract.ID_MENU_LINK);

        final Link<?> link = linkAndLabel.getLink();
        final String actionLabel = linkAndLabel.getLabel();

        final Consent usability = noAction.isUsable(session, adapter);
        final String reasonDisabledIfAny = usability.getReason();

        return parentMenuItem.newSubMenuItem(actionLabel).link(link).enabled(reasonDisabledIfAny);
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.