click-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sa...@apache.org
Subject svn commit: r954799 - /click/trunk/click/framework/src/org/apache/click/ajax/AjaxBehavior.java
Date Tue, 15 Jun 2010 10:38:55 GMT
Author: sabob
Date: Tue Jun 15 10:38:55 2010
New Revision: 954799

URL: http://svn.apache.org/viewvc?rev=954799&view=rev
Log:
added abstract method to allow subclasses to specify @Override annotation

Modified:
    click/trunk/click/framework/src/org/apache/click/ajax/AjaxBehavior.java

Modified: click/trunk/click/framework/src/org/apache/click/ajax/AjaxBehavior.java
URL: http://svn.apache.org/viewvc/click/trunk/click/framework/src/org/apache/click/ajax/AjaxBehavior.java?rev=954799&r1=954798&r2=954799&view=diff
==============================================================================
--- click/trunk/click/framework/src/org/apache/click/ajax/AjaxBehavior.java (original)
+++ click/trunk/click/framework/src/org/apache/click/ajax/AjaxBehavior.java Tue Jun 15 10:38:55
2010
@@ -22,6 +22,7 @@ import java.io.Serializable;
 import org.apache.click.Behavior;
 import org.apache.click.Context;
 import org.apache.click.Control;
+import org.apache.click.Partial;
 
 /**
  * Provides an abstract implementation of the Behavior interface.
@@ -41,6 +42,14 @@ public abstract class AjaxBehavior imple
     // Behavior Methods--------------------------------------------------------
 
     /**
+     * @see org.apache.click.Behavior#onAction(org.apache.click.Control)
+     *
+     * @param source the control the behavior is attached to
+     * @return
+     */
+    public abstract Partial onAction(Control source);
+
+    /**
      * TODO: javadoc
      *
      * @param context



Mime
View raw message