01: package org.caramba.annotations;
02:
03: import java.lang.annotation.ElementType;
04: import java.lang.annotation.Retention;
05: import java.lang.annotation.RetentionPolicy;
06: import java.lang.annotation.Target;
07:
08: /**
09: * Use this annotation specifying the name of the panel to be created implicitly.
10: * Can only be used when the Class (which contains the annotated field) has a {@link @ImplicitComponentRegistration} annotation.
11: *
12: * @author Pieter Degraeuwe
13: */
14: @Target({ElementType.FIELD})
15: @Retention(RetentionPolicy.RUNTIME)
16: public @interface PanelName {
17: /**
18: * The name of the panel as it exists in the CarambaConfig (created by caramba-config.xml or other CarambaConfig implementations)
19: *
20: * @return
21: */
22: String value();
23: }
|