Package org.apache.isis.core.progmodel.facets.members.disabled

Examples of org.apache.isis.core.progmodel.facets.members.disabled.DisabledFacet


       
        identifier = Identifier.actionIdentifier(contributeeType.getCorrespondingClass().getName(), memberName, memberParameterNames);
    }

    private DisabledFacet disabledFacet() {
        final DisabledFacet originalFacet = facetHolder.getFacet(DisabledFacet.class);
        if( originalFacet != null &&
            originalFacet.when() == When.ALWAYS &&
            originalFacet.where() == Where.ANYWHERE) {
            return originalFacet;
        }
        // ensure that the contributed association is always disabled
        return new DisabledFacetImpl(When.ALWAYS, Where.ANYWHERE, "Contributed property", this);
    }
View Full Code Here

TOP

Related Classes of org.apache.isis.core.progmodel.facets.members.disabled.DisabledFacet

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.