[jboss-cvs] jboss-seam/examples/wiki/src/main/org/jboss/seam/wiki/preferences/annotations ...

Christian Bauer christian at hibernate.org
Sat Dec 29 21:33:21 EST 2007


  User: cbauer  
  Date: 07/12/29 21:33:21

  Added:       examples/wiki/src/main/org/jboss/seam/wiki/preferences/annotations  
                        PreferenceProperty.java Preferences.java
  Log:
  Complete overhaul of the preferences system
  
  Revision  Changes    Path
  1.1      date: 2007/12/30 02:33:21;  author: cbauer;  state: Exp;jboss-seam/examples/wiki/src/main/org/jboss/seam/wiki/preferences/annotations/PreferenceProperty.java
  
  Index: PreferenceProperty.java
  ===================================================================
  package org.jboss.seam.wiki.preferences.annotations;
  
  import org.jboss.seam.wiki.preferences.PreferenceVisibility;
  
  import java.lang.annotation.ElementType;
  import java.lang.annotation.Retention;
  import java.lang.annotation.RetentionPolicy;
  import java.lang.annotation.Target;
  
  
  @Target({ElementType.TYPE, ElementType.METHOD, ElementType.FIELD})
  @Retention(RetentionPolicy.RUNTIME)
  public @interface PreferenceProperty {
      String description();
      PreferenceVisibility[] visibility() default PreferenceVisibility.SYSTEM;
      String editorIncludeName() default "";
      String templateComponentName() default "";
  }
  
  
  1.1      date: 2007/12/30 02:33:21;  author: cbauer;  state: Exp;jboss-seam/examples/wiki/src/main/org/jboss/seam/wiki/preferences/annotations/Preferences.java
  
  Index: Preferences.java
  ===================================================================
  package org.jboss.seam.wiki.preferences.annotations;
  
  import java.lang.annotation.ElementType;
  import java.lang.annotation.Retention;
  import java.lang.annotation.RetentionPolicy;
  import java.lang.annotation.Target;
  
  
  @Target({ElementType.TYPE, ElementType.METHOD, ElementType.FIELD})
  @Retention(RetentionPolicy.RUNTIME)
  public @interface Preferences {
      String description();
      String name() default "";
  }
  
  



More information about the jboss-cvs-commits mailing list