Revision: 9346
Author: [email protected]
Date: Thu Dec 2 07:47:53 2010
Log: Improve the docs on @UiField
Review by: [email protected]
http://code.google.com/p/google-web-toolkit/source/detail?r=9346
Modified:
/trunk/user/src/com/google/gwt/uibinder/client/UiField.java
=======================================
--- /trunk/user/src/com/google/gwt/uibinder/client/UiField.java Tue Jul 20
08:04:29 2010
+++ /trunk/user/src/com/google/gwt/uibinder/client/UiField.java Thu Dec 2
07:47:53 2010
@@ -30,5 +30,10 @@
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.FIELD)
public @interface UiField {
+ /**
+ * If true, the field must be filled before {...@link
UiBinder#createAndBindUi} is called.
+ * If false, {...@link UiBinder#createAndBindUi} will fill the field,
usually
+ * by calling {...@link com.google.gwt.core.client.GWT#create}.
+ */
boolean provided() default false;
}
--
http://groups.google.com/group/Google-Web-Toolkit-Contributors