antonio 2004/02/11 01:27:55
Modified: src/blocks/woody/java/org/apache/cocoon/woody/event/impl JavaClassWidgetListenerBuilder.java JavaScriptWidgetListenerBuilder.java src/blocks/woody/java/org/apache/cocoon/woody/event ProcessingPhase.java ProcessingPhaseEvent.java DeferredValueChangedEvent.java ActionEvent.java ValueChangedEvent.java FormHandler.java ActionListener.java ValueChangedListener.java AbstractFormHandler.java Log: Adding @version to files + Add license to 1 file. Revision Changes Path 1.3 +1 -0 cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/event/impl/JavaClassWidgetListenerBuilder.java Index: JavaClassWidgetListenerBuilder.java =================================================================== RCS file: /home/cvs//cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/event/impl/JavaClassWidgetListenerBuilder.java,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- JavaClassWidgetListenerBuilder.java 6 Feb 2004 14:43:14 -0000 1.2 +++ JavaClassWidgetListenerBuilder.java 11 Feb 2004 09:27:55 -0000 1.3 @@ -65,6 +65,7 @@ * </pre> * * @author <a href="http://www.apache.org/~sylvain/">Sylvain Wallez</a> + * @version CVS $Id$ */ public class JavaClassWidgetListenerBuilder implements WidgetListenerBuilder { 1.5 +1 -0 cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/event/impl/JavaScriptWidgetListenerBuilder.java Index: JavaScriptWidgetListenerBuilder.java =================================================================== RCS file: /home/cvs//cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/event/impl/JavaScriptWidgetListenerBuilder.java,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- JavaScriptWidgetListenerBuilder.java 6 Feb 2004 14:43:14 -0000 1.4 +++ JavaScriptWidgetListenerBuilder.java 11 Feb 2004 09:27:55 -0000 1.5 @@ -72,6 +72,7 @@ * variable. * * @author <a href="http://www.apache.org/~sylvain/">Sylvain Wallez</a> + * @version CVS $Id$ */ public class JavaScriptWidgetListenerBuilder implements WidgetListenerBuilder { 1.2 +1 -0 cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/event/ProcessingPhase.java Index: ProcessingPhase.java =================================================================== RCS file: /home/cvs//cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/event/ProcessingPhase.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- ProcessingPhase.java 24 Sep 2003 20:47:05 -0000 1.1 +++ ProcessingPhase.java 11 Feb 2004 09:27:55 -0000 1.2 @@ -60,6 +60,7 @@ * Type-safe enumeration of the various form processing phases. * * @author <a href="http://www.apache.org/~sylvain/">Sylvain Wallez</a> + * @version CVS $Id$ */ public class ProcessingPhase extends ValuedEnum { 1.3 +1 -0 cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/event/ProcessingPhaseEvent.java Index: ProcessingPhaseEvent.java =================================================================== RCS file: /home/cvs//cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/event/ProcessingPhaseEvent.java,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- ProcessingPhaseEvent.java 15 Nov 2003 04:21:30 -0000 1.2 +++ ProcessingPhaseEvent.java 11 Feb 2004 09:27:55 -0000 1.3 @@ -56,6 +56,7 @@ * Event raised when a form processing phase is finished. * * @author <a href="http://www.apache.org/~sylvain/">Sylvain Wallez</a> + * @version CVS $Id$ */ public class ProcessingPhaseEvent extends WidgetEvent { 1.2 +1 -0 cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/event/DeferredValueChangedEvent.java Index: DeferredValueChangedEvent.java =================================================================== RCS file: /home/cvs//cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/event/DeferredValueChangedEvent.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- DeferredValueChangedEvent.java 24 Sep 2003 20:47:05 -0000 1.1 +++ DeferredValueChangedEvent.java 11 Feb 2004 09:27:55 -0000 1.2 @@ -60,6 +60,7 @@ * value, thus avoiding unnecessary validation warnings when a user clicks an action. * * @author <a href="http://www.apache.org/~sylvain/">Sylvain Wallez</a> + * @version CVS $Id$ */ public class DeferredValueChangedEvent extends ValueChangedEvent { 1.5 +2 -0 cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/event/ActionEvent.java Index: ActionEvent.java =================================================================== RCS file: /home/cvs//cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/event/ActionEvent.java,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- ActionEvent.java 24 Sep 2003 20:47:05 -0000 1.4 +++ ActionEvent.java 11 Feb 2004 09:27:55 -0000 1.5 @@ -55,6 +55,8 @@ /** * Currently this event originates from a [EMAIL PROTECTED] org.apache.cocoon.woody.formmodel.Action Button} * widget. + * + * @version CVS $Id$ */ public class ActionEvent extends WidgetEvent { String actionCommand; 1.3 +1 -0 cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/event/ValueChangedEvent.java Index: ValueChangedEvent.java =================================================================== RCS file: /home/cvs//cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/event/ValueChangedEvent.java,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- ValueChangedEvent.java 25 Sep 2003 17:37:30 -0000 1.2 +++ ValueChangedEvent.java 11 Feb 2004 09:27:55 -0000 1.3 @@ -56,6 +56,7 @@ * Event raised when a field value changes. * * @author <a href="http://www.apache.org/~sylvain/">Sylvain Wallez</a> + * @version CVS $Id$ */ public class ValueChangedEvent extends WidgetEvent { 1.2 +2 -0 cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/event/FormHandler.java Index: FormHandler.java =================================================================== RCS file: /home/cvs//cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/event/FormHandler.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- FormHandler.java 31 Oct 2003 12:22:37 -0000 1.1 +++ FormHandler.java 11 Feb 2004 09:27:55 -0000 1.2 @@ -61,6 +61,8 @@ * handled by one class (which could of course again delegate to other classes), and when * you want the event handler to have access to objects it would not be able to get access * to if they were part of the form definition. + * + * @version CVS $Id$ */ public interface FormHandler { 1.2 +1 -0 cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/event/ActionListener.java Index: ActionListener.java =================================================================== RCS file: /home/cvs//cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/event/ActionListener.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- ActionListener.java 24 Sep 2003 20:47:05 -0000 1.1 +++ ActionListener.java 11 Feb 2004 09:27:55 -0000 1.2 @@ -54,6 +54,7 @@ * Listeners for [EMAIL PROTECTED] ActionEvent}s * * @author <a href="http://www.apache.org/~sylvain/">Sylvain Wallez</a> + * @version CVS $Id$ */ public interface ActionListener extends WidgetListener { 1.2 +1 -0 cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/event/ValueChangedListener.java Index: ValueChangedListener.java =================================================================== RCS file: /home/cvs//cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/event/ValueChangedListener.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- ValueChangedListener.java 24 Sep 2003 20:47:05 -0000 1.1 +++ ValueChangedListener.java 11 Feb 2004 09:27:55 -0000 1.2 @@ -54,6 +54,7 @@ * Listener invoked when a field value changes. * * @author <a href="http://www.apache.org/~sylvain/">Sylvain Wallez</a> + * @version CVS $Id$ */ public interface ValueChangedListener extends WidgetListener { 1.2 +52 -0 cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/event/AbstractFormHandler.java Index: AbstractFormHandler.java =================================================================== RCS file: /home/cvs//cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/event/AbstractFormHandler.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- AbstractFormHandler.java 31 Oct 2003 12:22:37 -0000 1.1 +++ AbstractFormHandler.java 11 Feb 2004 09:27:55 -0000 1.2 @@ -1,9 +1,61 @@ +/* + + ============================================================================ + The Apache Software License, Version 1.1 + ============================================================================ + + Copyright (C) 1999-2003 The Apache Software Foundation. All rights reserved. + + Redistribution and use in source and binary forms, with or without modifica- + tion, are permitted provided that the following conditions are met: + + 1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + + 2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + + 3. The end-user documentation included with the redistribution, if any, must + include the following acknowledgment: "This product includes software + developed by the Apache Software Foundation (http://www.apache.org/)." + Alternately, this acknowledgment may appear in the software itself, if + and wherever such third-party acknowledgments normally appear. + + 4. The names "Apache Cocoon" and "Apache Software Foundation" must not be + used to endorse or promote products derived from this software without + prior written permission. For written permission, please contact + [EMAIL PROTECTED] + + 5. Products derived from this software may not be called "Apache", nor may + "Apache" appear in their name, without prior written permission of the + Apache Software Foundation. + + THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES, + INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND + FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE + APACHE SOFTWARE FOUNDATION OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLU- + DING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS + OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON + ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF + THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + This software consists of voluntary contributions made by many individuals + on behalf of the Apache Software Foundation and was originally created by + Stefano Mazzocchi <[EMAIL PROTECTED]>. For more information on the Apache + Software Foundation, please see <http://www.apache.org/>. + + */ package org.apache.cocoon.woody.event; /** * Abstract implementation of [EMAIL PROTECTED] FormHandler}, which checks the type * of the WidgetEvent and calls the more specific [EMAIL PROTECTED] #handleActionEvent} * or [EMAIL PROTECTED] #handleValueChangedEvent} methods. + * + * @version CVS $Id$ */ public abstract class AbstractFormHandler implements FormHandler {