Package org.apache.isis.applib.annotation

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


        final Properties properties = pcwmp.metadataProperties("labelAt");
        return properties != null ? new LabelAtFacetOnPropertyFromProperties(properties, holder) : null;
    }

    private static LabelAtFacetOnPropertyAnnotation createFromAnnotationIfPossible(final ProcessMethodContext processMethodContext) {
        final LabelAt annotation = Annotations.getAnnotation(processMethodContext.getMethod(), LabelAt.class);
        return (annotation != null) ? new LabelAtFacetOnPropertyAnnotation(annotation.value(), processMethodContext.getFacetHolder()) : null;
    }
View Full Code Here


        }
       
        final Annotation[] parameterAnnotations = Annotations.getParameterAnnotations(processParameterContext.getMethod())[processParameterContext.getParamNum()];
        for (final Annotation parameterAnnotation : parameterAnnotations) {
            if (parameterAnnotation instanceof LabelAt) {
                final LabelAt annotation = (LabelAt) parameterAnnotation;
                FacetUtil.addFacet(create(annotation, processParameterContext.getFacetHolder()));
                return;
            }
        }
    }
View Full Code Here

TOP

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

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.