001/* 002 * (C) Copyright 2006-2007 Nuxeo SAS <http://nuxeo.com> and others 003 * 004 * All rights reserved. This program and the accompanying materials 005 * are made available under the terms of the Eclipse Public License v1.0 006 * which accompanies this distribution, and is available at 007 * http://www.eclipse.org/legal/epl-v10.html 008 * 009 * Contributors: 010 * Jean-Marc Orliaguet, Chalmers 011 * 012 * $Id$ 013 */ 014 015package org.nuxeo.theme.properties; 016 017import java.lang.annotation.ElementType; 018import java.lang.annotation.Retention; 019import java.lang.annotation.RetentionPolicy; 020import java.lang.annotation.Target; 021 022@Target({ ElementType.FIELD }) 023@Retention(RetentionPolicy.RUNTIME) 024public @interface FieldInfo { 025 026 String type() default "string"; 027 028 String label() default ""; 029 030 String description() default ""; 031 032 boolean required() default false; 033 034 String source() default ""; 035 036}