Package org.apache.isis.applib.annotation

Examples of org.apache.isis.applib.annotation.ActionInteraction


            final FacetHolder holder = processMethodContext.getFacetHolder();

            //
            // Set up ActionInteractionFacet, which will act as the hiding/disabling/validating advisor
            //
            final ActionInteraction actionInteraction =Annotations.getAnnotation(actionMethod, ActionInteraction.class);
            final Class<? extends ActionInteractionEvent<?>> actionInteractionEventType;

            final ActionInteractionFacetAbstract actionInteractionFacet;
            if(actionInteraction != null) {
                actionInteractionEventType = actionInteraction.value();
                actionInteractionFacet = new ActionInteractionFacetAnnotation(actionInteractionEventType, holder, servicesInjector, getSpecificationLoader());
            } else {
                actionInteractionEventType = ActionInteractionEvent.Default.class;
                actionInteractionFacet = new ActionInteractionFacetDefault(actionInteractionEventType, holder, servicesInjector, getSpecificationLoader());
            }
View Full Code Here

TOP

Related Classes of org.apache.isis.applib.annotation.ActionInteraction

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.