Examples of LabelAt


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

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

        }
       
        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
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.