You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by sk...@apache.org on 2008/03/25 21:37:49 UTC
svn commit: r640973 - in /myfaces/myfaces-build-tools/branches/skitching:
api/ api/src/main/java/javax/faces/component/ myfaces-builder-annotations/
Author: skitching
Date: Tue Mar 25 13:37:47 2008
New Revision: 640973
URL: http://svn.apache.org/viewvc?rev=640973&view=rev
Log:
Add some annotations for use by the myfaces-builder-plugin
Added:
myfaces/myfaces-build-tools/branches/skitching/myfaces-builder-annotations/
Modified:
myfaces/myfaces-build-tools/branches/skitching/api/pom.xml
myfaces/myfaces-build-tools/branches/skitching/api/src/main/java/javax/faces/component/ActionSource.java
myfaces/myfaces-build-tools/branches/skitching/api/src/main/java/javax/faces/component/EditableValueHolder.java
myfaces/myfaces-build-tools/branches/skitching/api/src/main/java/javax/faces/component/UIColumn.java
myfaces/myfaces-build-tools/branches/skitching/api/src/main/java/javax/faces/component/UIComponent.java
myfaces/myfaces-build-tools/branches/skitching/api/src/main/java/javax/faces/component/ValueHolder.java
Modified: myfaces/myfaces-build-tools/branches/skitching/api/pom.xml
URL: http://svn.apache.org/viewvc/myfaces/myfaces-build-tools/branches/skitching/api/pom.xml?rev=640973&r1=640972&r2=640973&view=diff
==============================================================================
--- myfaces/myfaces-build-tools/branches/skitching/api/pom.xml (original)
+++ myfaces/myfaces-build-tools/branches/skitching/api/pom.xml Tue Mar 25 13:37:47 2008
@@ -23,13 +23,14 @@
<groupId>org.apache.myfaces.buildtools</groupId>
<artifactId>myfaces-builder-plugin</artifactId>
<version>1.0.0-SNAPSHOT</version>
- <executions>
- <execution>
+ <executions>
+ <execution>
<goals>
+ <goal>build-metadata</goal>
<goal>make-config</goal>
</goals>
- </execution>
- </executions>
+ </execution>
+ </executions>
</plugin>
<plugin>
Modified: myfaces/myfaces-build-tools/branches/skitching/api/src/main/java/javax/faces/component/ActionSource.java
URL: http://svn.apache.org/viewvc/myfaces/myfaces-build-tools/branches/skitching/api/src/main/java/javax/faces/component/ActionSource.java?rev=640973&r1=640972&r2=640973&view=diff
==============================================================================
--- myfaces/myfaces-build-tools/branches/skitching/api/src/main/java/javax/faces/component/ActionSource.java (original)
+++ myfaces/myfaces-build-tools/branches/skitching/api/src/main/java/javax/faces/component/ActionSource.java Tue Mar 25 13:37:47 2008
@@ -23,17 +23,35 @@
*
* @author Manfred Geiler (latest modification by $Author$)
* @version $Revision$ $Date$
+ *
+ * @mfp.component
*/
public interface ActionSource
{
+ /**
+ * sk: A method to be invoked when this component is "executed" by the user.
+ *
+ * @mfp.property
+ */
public javax.faces.el.MethodBinding getAction();
public void setAction(javax.faces.el.MethodBinding action);
+ /**
+ * sk: A listener method to be invoked when this component is "executed" by the user.
+ *
+ * @mfp.property
+ */
public javax.faces.el.MethodBinding getActionListener();
public void setActionListener(javax.faces.el.MethodBinding actionListener);
+ /**
+ * sk: makes action and listener associated with this component run before the
+ * applyValues phase of any other component.
+ *
+ * @mfp.property
+ */
public boolean isImmediate();
public void setImmediate(boolean immediate);
Modified: myfaces/myfaces-build-tools/branches/skitching/api/src/main/java/javax/faces/component/EditableValueHolder.java
URL: http://svn.apache.org/viewvc/myfaces/myfaces-build-tools/branches/skitching/api/src/main/java/javax/faces/component/EditableValueHolder.java?rev=640973&r1=640972&r2=640973&view=diff
==============================================================================
--- myfaces/myfaces-build-tools/branches/skitching/api/src/main/java/javax/faces/component/EditableValueHolder.java (original)
+++ myfaces/myfaces-build-tools/branches/skitching/api/src/main/java/javax/faces/component/EditableValueHolder.java Tue Mar 25 13:37:47 2008
@@ -59,6 +59,8 @@
*
* @author Manfred Geiler (latest modification by $Author$)
* @version $Revision$ $Date$
+ *
+ * @mfp.component
*/
public interface EditableValueHolder
extends ValueHolder
@@ -139,7 +141,9 @@
* string for a text input field) then some special non-null
* value must be set for the "submitted value"; validation
* for "required" fields must then check for that.
- */
+ *
+ * @mfp.property
+ */
public boolean isRequired();
/**
@@ -155,6 +159,8 @@
* will call renderResponse, causing the rendering phase to begin
* immediately (including possible navigation) without performing
* validation on any following components.
+ *
+ * @mfp.property
*/
public boolean isImmediate();
@@ -167,6 +173,8 @@
* associated with this component.
* <p>
* This validator is executed after all validators in the validator list.
+ *
+ * @mfp.property
*/
public MethodBinding getValidator();
@@ -179,6 +187,8 @@
* associated with this component.
* <p>
* This listeners is executed after all listeners in the list.
+ *
+ * @mfp.property
*/
public MethodBinding getValueChangeListener();
Modified: myfaces/myfaces-build-tools/branches/skitching/api/src/main/java/javax/faces/component/UIColumn.java
URL: http://svn.apache.org/viewvc/myfaces/myfaces-build-tools/branches/skitching/api/src/main/java/javax/faces/component/UIColumn.java?rev=640973&r1=640972&r2=640973&view=diff
==============================================================================
--- myfaces/myfaces-build-tools/branches/skitching/api/src/main/java/javax/faces/component/UIColumn.java (original)
+++ myfaces/myfaces-build-tools/branches/skitching/api/src/main/java/javax/faces/component/UIColumn.java Tue Mar 25 13:37:47 2008
@@ -25,6 +25,8 @@
*
* @author Manfred Geiler (latest modification by $Author$)
* @version $Revision$ $Date$
+ *
+ * @mfp.component name="column" defaultRendererType="RT_COLUMN"
*/
public class UIColumn
extends UIComponentBase
Modified: myfaces/myfaces-build-tools/branches/skitching/api/src/main/java/javax/faces/component/UIComponent.java
URL: http://svn.apache.org/viewvc/myfaces/myfaces-build-tools/branches/skitching/api/src/main/java/javax/faces/component/UIComponent.java?rev=640973&r1=640972&r2=640973&view=diff
==============================================================================
--- myfaces/myfaces-build-tools/branches/skitching/api/src/main/java/javax/faces/component/UIComponent.java (original)
+++ myfaces/myfaces-build-tools/branches/skitching/api/src/main/java/javax/faces/component/UIComponent.java Tue Mar 25 13:37:47 2008
@@ -25,6 +25,8 @@
*
* @author Manfred Geiler (latest modification by $Author$)
* @version $Revision$ $Date$
+ *
+ * @mfp.component
*/
public abstract class UIComponent
implements StateHolder
@@ -44,6 +46,9 @@
public abstract java.lang.String getFamily();
+ /**
+ * @mfp.property
+ */
public abstract java.lang.String getId();
public abstract void setId(java.lang.String id);
@@ -59,6 +64,9 @@
public abstract boolean isRendered();
+ /**
+ * @mfp.property
+ */
public abstract void setRendered(boolean rendered);
public abstract java.lang.String getRendererType();
Modified: myfaces/myfaces-build-tools/branches/skitching/api/src/main/java/javax/faces/component/ValueHolder.java
URL: http://svn.apache.org/viewvc/myfaces/myfaces-build-tools/branches/skitching/api/src/main/java/javax/faces/component/ValueHolder.java?rev=640973&r1=640972&r2=640973&view=diff
==============================================================================
--- myfaces/myfaces-build-tools/branches/skitching/api/src/main/java/javax/faces/component/ValueHolder.java (original)
+++ myfaces/myfaces-build-tools/branches/skitching/api/src/main/java/javax/faces/component/ValueHolder.java Tue Mar 25 13:37:47 2008
@@ -25,15 +25,23 @@
*
* @author Manfred Geiler (latest modification by $Author$)
* @version $Revision$ $Date$
+ *
+ * @mfp.component
*/
public interface ValueHolder
{
public Object getLocalValue();
+ /**
+ * @mfp.property
+ */
public Object getValue();
public void setValue(Object value);
+ /**
+ * @mfp.property
+ */
public Converter getConverter();
public void setConverter(Converter converter);