package org.caramba.annotations;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* Use this annotation specifying the name of the panel to be created implicitly.
* Can only be used when the Class (which contains the annotated field) has a {@link @ImplicitComponentRegistration} annotation.
*
* @author Pieter Degraeuwe
*/
@Target({ElementType.FIELD})
@Retention(RetentionPolicy.RUNTIME)
public @interface PanelName {
/**
* The name of the panel as it exists in the CarambaConfig (created by caramba-config.xml or other CarambaConfig implementations)
*
* @return
*/
String value();
}
|