tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mindbri...@apache.org
Subject cvs commit: jakarta-tapestry/contrib/src/org/apache/tapestry/contrib/tree/simple NullSessionStateManager.java TreeNode.java SimpleSessionStateManager.java SimpleNodeRenderFactory.java TreePath.java SimpleTreeStateModel.java SimpleTreeModel.java FullTreeSessionStateManager.java SimpleTreeDataModel.java
Date Fri, 28 Nov 2003 18:41:00 GMT
mindbridge    2003/11/28 10:41:00

  Modified:    contrib/src/org/apache/tapestry/contrib/tree/model
                        TreeRowObject.java ITreeSessionStateManager.java
                        ITreeDataModel.java ITreeModelSource.java
                        ITreeNodeManager.java ISessionStoreManager.java
                        ITreeModel.java ITreeStateListener.java
                        IMutableTreeNode.java ITreeStateModel.java
                        ITreeNode.java TreeStateEvent.java
               contrib/src/org/apache/tapestry/contrib/tree/components/table
                        TreeTableNodeViewDelegator.java TreeTable.java
                        TreeTableDataView.java TreeTableColumn.java
                        TreeTableValueRenderSource.java
               contrib/src/org/apache/tapestry/contrib/tree/components
                        TreeDataView.java TreeNodeView.java
                        INodeRenderFactory.java TreeView.java Tree.java
                        ITreeComponent.java
               contrib/src/org/apache/tapestry/contrib/tree/simple
                        NullSessionStateManager.java TreeNode.java
                        SimpleSessionStateManager.java
                        SimpleNodeRenderFactory.java TreePath.java
                        SimpleTreeStateModel.java SimpleTreeModel.java
                        FullTreeSessionStateManager.java
                        SimpleTreeDataModel.java
  Log:
  Fixing licenses and javadocs
  
  Revision  Changes    Path
  1.2       +55 -17    jakarta-tapestry/contrib/src/org/apache/tapestry/contrib/tree/model/TreeRowObject.java
  
  Index: TreeRowObject.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tapestry/contrib/src/org/apache/tapestry/contrib/tree/model/TreeRowObject.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- TreeRowObject.java	31 Oct 2003 08:16:26 -0000	1.1
  +++ TreeRowObject.java	28 Nov 2003 18:40:56 -0000	1.2
  @@ -1,21 +1,68 @@
  +/* ====================================================================
  + * The Apache Software License, Version 1.1
  + *
  + * Copyright (c) 2000-2003 The Apache Software Foundation.  All rights
  + * reserved.
  + *
  + * Redistribution and use in source and binary forms, with or without
  + * modification, 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://apache.org/)."
  + *    Alternately, this acknowledgment may appear in the software itself,
  + *    if and wherever such third-party acknowledgments normally appear.
  + *
  + * 4. The names "Apache" and "Apache Software Foundation", "Tapestry"
  + *    must not be used to endorse or promote products derived from this
  + *    software without prior written permission. For written
  + *    permission, please contact apache@apache.org.
  + *
  + * 5. Products derived from this software may not be called "Apache"
  + *    or "Tapestry", nor may "Apache" or "Tapestry" 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 TAPESTRY CONTRIBUTOR COMMUNITY
  + * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
  + * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 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.  For more
  + * information on the Apache Software Foundation, please see
  + * <http://www.apache.org/>.
  + *
  + */
   package org.apache.tapestry.contrib.tree.model;
   
   /**
  - * All right reserved.
  - * Copyright (c) by Rushmore Digital Ltd.
  - * 
  - * Created on Sep 9, 2003
  - * 
    * @author ceco
  + * @version $Id$
    */
   public class TreeRowObject {
   	private Object m_objTreeNode = null;
   	private Object m_objTreeNodeUID = null;
   	private int m_nTreeRowDepth;
   
  -	/**
  -	 * 
  -	 */
   	public TreeRowObject(Object objTreeNode, Object objTreeNodeUID, int nTreeRowDepth) {
   		super();
   		m_objTreeNode = objTreeNode;
  @@ -23,23 +70,14 @@
   		m_nTreeRowDepth = nTreeRowDepth;
   	}
   
  -	/**
  -	 * @return
  -	 */
   	public Object getTreeNode() {
   		return m_objTreeNode;
   	}
   
  -	/**
  -	 * @return
  -	 */
   	public Object getTreeNodeUID() {
   		return m_objTreeNodeUID;
   	}
   
  -	/**
  -	 * @return
  -	 */
   	public int getTreeRowDepth() {
   		return m_nTreeRowDepth;
   	}
  
  
  
  1.2       +1 -5      jakarta-tapestry/contrib/src/org/apache/tapestry/contrib/tree/model/ITreeSessionStateManager.java
  
  Index: ITreeSessionStateManager.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tapestry/contrib/src/org/apache/tapestry/contrib/tree/model/ITreeSessionStateManager.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- ITreeSessionStateManager.java	31 Oct 2003 08:16:26 -0000	1.1
  +++ ITreeSessionStateManager.java	28 Nov 2003 18:40:56 -0000	1.2
  @@ -57,12 +57,8 @@
   
   
   /**
  - * All right reserved.
  - * Copyright (c) by Rushmore Digital Ltd.
  - * Created on Sep 24, 2002
  - *
    * @author ceco
  - *
  + * @version $Id$
    */
   public interface ITreeSessionStateManager {
   	Object getSessionState(ITreeModel objModel);
  
  
  
  1.2       +1 -1      jakarta-tapestry/contrib/src/org/apache/tapestry/contrib/tree/model/ITreeDataModel.java
  
  Index: ITreeDataModel.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tapestry/contrib/src/org/apache/tapestry/contrib/tree/model/ITreeDataModel.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- ITreeDataModel.java	31 Oct 2003 08:16:26 -0000	1.1
  +++ ITreeDataModel.java	28 Nov 2003 18:40:56 -0000	1.2
  @@ -59,8 +59,8 @@
   /**
    * The interface that defines a suitable data model for a <code>TreeView component</code>. 
    * 
  - * @version 1.00 30/7/02
    * @author ceco
  + * @version $Id$
    */
   public interface ITreeDataModel
   {
  
  
  
  1.2       +4 -0      jakarta-tapestry/contrib/src/org/apache/tapestry/contrib/tree/model/ITreeModelSource.java
  
  Index: ITreeModelSource.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tapestry/contrib/src/org/apache/tapestry/contrib/tree/model/ITreeModelSource.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- ITreeModelSource.java	31 Oct 2003 08:16:26 -0000	1.1
  +++ ITreeModelSource.java	28 Nov 2003 18:40:56 -0000	1.2
  @@ -57,6 +57,10 @@
   
   import org.apache.tapestry.IComponent;
   
  +/**
  + * @author ceco
  + * @version $Id$
  + */
   public interface ITreeModelSource extends IComponent
   {
       final static String TREE_MODEL_SOURCE_ATTRIBUTE = "org.apache.tapestry.contrib.tree.model.ITreeModelSource";
  
  
  
  1.2       +1 -5      jakarta-tapestry/contrib/src/org/apache/tapestry/contrib/tree/model/ITreeNodeManager.java
  
  Index: ITreeNodeManager.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tapestry/contrib/src/org/apache/tapestry/contrib/tree/model/ITreeNodeManager.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- ITreeNodeManager.java	31 Oct 2003 08:16:26 -0000	1.1
  +++ ITreeNodeManager.java	28 Nov 2003 18:40:56 -0000	1.2
  @@ -58,12 +58,8 @@
   import org.apache.tapestry.contrib.tree.components.ITreeComponent;
   
   /**
  - * All right reserved.
  - * Copyright (c) by Rushmore Digital Ltd.
  - * Created on Sep 25, 2002
  - *
    * @author ceco
  - *
  + * @version $Id$
    */
   public interface ITreeNodeManager {
   	IRender getRenderer(Object objUniqueKey, ITreeComponent objTreeComponent);
  
  
  
  1.2       +1 -0      jakarta-tapestry/contrib/src/org/apache/tapestry/contrib/tree/model/ISessionStoreManager.java
  
  Index: ISessionStoreManager.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tapestry/contrib/src/org/apache/tapestry/contrib/tree/model/ISessionStoreManager.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- ISessionStoreManager.java	31 Oct 2003 08:16:26 -0000	1.1
  +++ ISessionStoreManager.java	28 Nov 2003 18:40:56 -0000	1.2
  @@ -58,6 +58,7 @@
   
   /**
    * @author ceco
  + * @version $Id$
    */
   
   public interface ISessionStoreManager {
  
  
  
  1.2       +1 -0      jakarta-tapestry/contrib/src/org/apache/tapestry/contrib/tree/model/ITreeModel.java
  
  Index: ITreeModel.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tapestry/contrib/src/org/apache/tapestry/contrib/tree/model/ITreeModel.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- ITreeModel.java	31 Oct 2003 08:16:26 -0000	1.1
  +++ ITreeModel.java	28 Nov 2003 18:40:56 -0000	1.2
  @@ -56,6 +56,7 @@
   
   /**
    * @author ceco
  + * @version $Id$
    */
   public interface ITreeModel {
   	ITreeDataModel getTreeDataModel();
  
  
  
  1.2       +1 -5      jakarta-tapestry/contrib/src/org/apache/tapestry/contrib/tree/model/ITreeStateListener.java
  
  Index: ITreeStateListener.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tapestry/contrib/src/org/apache/tapestry/contrib/tree/model/ITreeStateListener.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- ITreeStateListener.java	31 Oct 2003 08:16:26 -0000	1.1
  +++ ITreeStateListener.java	28 Nov 2003 18:40:56 -0000	1.2
  @@ -55,12 +55,8 @@
   package org.apache.tapestry.contrib.tree.model;
   
   /**
  - * All right reserved.
  - * Copyright (c) by Rushmore Digital Ltd.
  - * Created on Sep 25, 2002
  - *
    * @author ceco
  - *
  + * @version $Id$
    */
   public interface ITreeStateListener {
   	void treeStateChanged(TreeStateEvent objEvent);
  
  
  
  1.2       +2 -2      jakarta-tapestry/contrib/src/org/apache/tapestry/contrib/tree/model/IMutableTreeNode.java
  
  Index: IMutableTreeNode.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tapestry/contrib/src/org/apache/tapestry/contrib/tree/model/IMutableTreeNode.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- IMutableTreeNode.java	31 Oct 2003 08:16:26 -0000	1.1
  +++ IMutableTreeNode.java	28 Nov 2003 18:40:56 -0000	1.2
  @@ -61,11 +61,11 @@
    * by adding or removing child nodes, or by changing the contents
    * of a user object stored in the node.
    *
  - * @see DefaultMutableTreeNode
  + * @see javax.swing.tree.DefaultMutableTreeNode
    * @see javax.swing.JTree
    *
  - * @version 1.0 30/07/02
    * @author ceco
  + * @version $Id$
    */
   
   public interface IMutableTreeNode extends ITreeNode
  
  
  
  1.2       +1 -0      jakarta-tapestry/contrib/src/org/apache/tapestry/contrib/tree/model/ITreeStateModel.java
  
  Index: ITreeStateModel.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tapestry/contrib/src/org/apache/tapestry/contrib/tree/model/ITreeStateModel.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- ITreeStateModel.java	31 Oct 2003 08:16:26 -0000	1.1
  +++ ITreeStateModel.java	28 Nov 2003 18:40:56 -0000	1.2
  @@ -58,6 +58,7 @@
   
   /**
    * @author ceco
  + * @version $Id$
    */
   
   public interface ITreeStateModel {
  
  
  
  1.2       +2 -13     jakarta-tapestry/contrib/src/org/apache/tapestry/contrib/tree/model/ITreeNode.java
  
  Index: ITreeNode.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tapestry/contrib/src/org/apache/tapestry/contrib/tree/model/ITreeNode.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- ITreeNode.java	31 Oct 2003 08:16:26 -0000	1.1
  +++ ITreeNode.java	28 Nov 2003 18:40:56 -0000	1.2
  @@ -58,19 +58,8 @@
   import java.util.Collection;
   
   /**
  - * Defines the requirements for an object that can be used as a
  - * tree node in a JTree.
  - *
  - * <p>
  - *
  - * For further information and examples of using tree nodes,
  - * see <a
  - href="http://java.sun.com/docs/books/tutorial/uiswing/components/tree.html">How to Use TreeView Nodes</a>
  - * in <em>The Java Tutorial.</em>
  - *
  - * @version 1.19 12/03/01
  - * @author Rob Davis
  - * @author Scott Violet
  + * @author ceco
  + * @version $Id$
    */
   
   public interface ITreeNode extends Serializable
  
  
  
  1.2       +5 -13     jakarta-tapestry/contrib/src/org/apache/tapestry/contrib/tree/model/TreeStateEvent.java
  
  Index: TreeStateEvent.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tapestry/contrib/src/org/apache/tapestry/contrib/tree/model/TreeStateEvent.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- TreeStateEvent.java	31 Oct 2003 08:16:26 -0000	1.1
  +++ TreeStateEvent.java	28 Nov 2003 18:40:56 -0000	1.2
  @@ -55,12 +55,8 @@
   package org.apache.tapestry.contrib.tree.model;
   
   /**
  - * All right reserved.
  - * Copyright (c) by Rushmore Digital Ltd.
  - * Created on Sep 26, 2002
  - *
    * @author ceco
  - *
  + * @version $Id$
    */
   public class TreeStateEvent {
   	public static final int SELECTED_NODE_CHANGED 	= 1;
  @@ -70,6 +66,7 @@
   	private int m_nEventType;
   	private transient ITreeStateModel m_objTreeStateModel = null;
   	private transient Object m_objNodeUID = null;
  +
   	/**
   	 * Constructor for TreeStateEvent.
   	 */
  @@ -87,21 +84,16 @@
   	public int getEventType() {
   		return m_nEventType;
   	}
  -	public boolean isEvent(int nEventType){
  +
  +    public boolean isEvent(int nEventType){
   		return (getEventType() & nEventType) > 0;
   	}
  -	/**
  -	 * @return
  -	 */
  +
   	public Object getNodeUID() {
   		return m_objNodeUID;
   	}
   
  -	/**
  -	 * @return
  -	 */
   	public ITreeStateModel getTreeStateModel() {
   		return m_objTreeStateModel;
   	}
  -
   }
  
  
  
  1.2       +55 -5     jakarta-tapestry/contrib/src/org/apache/tapestry/contrib/tree/components/table/TreeTableNodeViewDelegator.java
  
  Index: TreeTableNodeViewDelegator.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tapestry/contrib/src/org/apache/tapestry/contrib/tree/components/table/TreeTableNodeViewDelegator.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- TreeTableNodeViewDelegator.java	31 Oct 2003 08:15:11 -0000	1.1
  +++ TreeTableNodeViewDelegator.java	28 Nov 2003 18:40:58 -0000	1.2
  @@ -1,3 +1,57 @@
  +/* ====================================================================
  + * The Apache Software License, Version 1.1
  + *
  + * Copyright (c) 2000-2003 The Apache Software Foundation.  All rights
  + * reserved.
  + *
  + * Redistribution and use in source and binary forms, with or without
  + * modification, 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://apache.org/)."
  + *    Alternately, this acknowledgment may appear in the software itself,
  + *    if and wherever such third-party acknowledgments normally appear.
  + *
  + * 4. The names "Apache" and "Apache Software Foundation", "Tapestry"
  + *    must not be used to endorse or promote products derived from this
  + *    software without prior written permission. For written
  + *    permission, please contact apache@apache.org.
  + *
  + * 5. Products derived from this software may not be called "Apache"
  + *    or "Tapestry", nor may "Apache" or "Tapestry" 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 TAPESTRY CONTRIBUTOR COMMUNITY
  + * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
  + * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 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.  For more
  + * information on the Apache Software Foundation, please see
  + * <http://www.apache.org/>.
  + *
  + */
   package org.apache.tapestry.contrib.tree.components.table;
   
   import org.apache.tapestry.BaseComponent;
  @@ -7,12 +61,8 @@
   import org.apache.tapestry.contrib.table.model.ITableRendererListener;
   
   /**
  - * All right reserved.
  - * Copyright (c) by Rushmore Digital Ltd.
  - * 
  - * Created on Sep 2, 2003
  - * 
    * @author ceco
  + * @version $Id$
    */
   public class TreeTableNodeViewDelegator extends BaseComponent implements ITableRendererListener{
   
  
  
  
  1.2       +55 -5     jakarta-tapestry/contrib/src/org/apache/tapestry/contrib/tree/components/table/TreeTable.java
  
  Index: TreeTable.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tapestry/contrib/src/org/apache/tapestry/contrib/tree/components/table/TreeTable.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- TreeTable.java	31 Oct 2003 08:15:11 -0000	1.1
  +++ TreeTable.java	28 Nov 2003 18:40:58 -0000	1.2
  @@ -1,3 +1,57 @@
  +/* ====================================================================
  + * The Apache Software License, Version 1.1
  + *
  + * Copyright (c) 2000-2003 The Apache Software Foundation.  All rights
  + * reserved.
  + *
  + * Redistribution and use in source and binary forms, with or without
  + * modification, 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://apache.org/)."
  + *    Alternately, this acknowledgment may appear in the software itself,
  + *    if and wherever such third-party acknowledgments normally appear.
  + *
  + * 4. The names "Apache" and "Apache Software Foundation", "Tapestry"
  + *    must not be used to endorse or promote products derived from this
  + *    software without prior written permission. For written
  + *    permission, please contact apache@apache.org.
  + *
  + * 5. Products derived from this software may not be called "Apache"
  + *    or "Tapestry", nor may "Apache" or "Tapestry" 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 TAPESTRY CONTRIBUTOR COMMUNITY
  + * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
  + * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 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.  For more
  + * information on the Apache Software Foundation, please see
  + * <http://www.apache.org/>.
  + *
  + */
   package org.apache.tapestry.contrib.tree.components.table;
   
   import org.apache.tapestry.BaseComponent;
  @@ -8,12 +62,8 @@
   import org.apache.tapestry.util.ComponentAddress;
   
   /**
  - * All right reserved.
  - * Copyright (c) by Rushmore Digital Ltd.
  - * 
  - * Created on Sep 2, 2003
  - * 
    * @author ceco
  + * @version $Id$
    */
   public class TreeTable extends BaseComponent implements ITreeComponent{
   
  
  
  
  1.2       +55 -10    jakarta-tapestry/contrib/src/org/apache/tapestry/contrib/tree/components/table/TreeTableDataView.java
  
  Index: TreeTableDataView.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tapestry/contrib/src/org/apache/tapestry/contrib/tree/components/table/TreeTableDataView.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- TreeTableDataView.java	31 Oct 2003 08:15:11 -0000	1.1
  +++ TreeTableDataView.java	28 Nov 2003 18:40:58 -0000	1.2
  @@ -1,3 +1,57 @@
  +/* ====================================================================
  + * The Apache Software License, Version 1.1
  + *
  + * Copyright (c) 2000-2003 The Apache Software Foundation.  All rights
  + * reserved.
  + *
  + * Redistribution and use in source and binary forms, with or without
  + * modification, 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://apache.org/)."
  + *    Alternately, this acknowledgment may appear in the software itself,
  + *    if and wherever such third-party acknowledgments normally appear.
  + *
  + * 4. The names "Apache" and "Apache Software Foundation", "Tapestry"
  + *    must not be used to endorse or promote products derived from this
  + *    software without prior written permission. For written
  + *    permission, please contact apache@apache.org.
  + *
  + * 5. Products derived from this software may not be called "Apache"
  + *    or "Tapestry", nor may "Apache" or "Tapestry" 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 TAPESTRY CONTRIBUTOR COMMUNITY
  + * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
  + * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 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.  For more
  + * information on the Apache Software Foundation, please see
  + * <http://www.apache.org/>.
  + *
  + */
   package org.apache.tapestry.contrib.tree.components.table;
   
   import java.util.ArrayList;
  @@ -24,7 +78,7 @@
   import org.apache.tapestry.IRequestCycle;
   
   /**
  - * @version $Revision$
  + * @version $Id$
    */
   public class TreeTableDataView extends BaseComponent implements ITreeRowSource, PageDetachListener{
       private int m_nTreeDeep = -1;
  @@ -115,9 +169,6 @@
           return m_nTreeDeep;
       }
   
  -	/**
  -	 * @return
  -	 */
   /*	public ITableModel getTableModel() {
   		if(m_objTableModel == null){
   			m_objTableModel = createTableModel();
  @@ -209,16 +260,10 @@
   	}
   
   
  -	/**
  -	 * @return
  -	 */
   	public TreeRowObject getTreeRowObject() {
   		return m_objTreeRowObject;
   	}
   
  -	/**
  -	 * @param object
  -	 */
   	public void setTreeRowObject(TreeRowObject object) {
   		m_objTreeRowObject = object;
   	}
  
  
  
  1.2       +55 -5     jakarta-tapestry/contrib/src/org/apache/tapestry/contrib/tree/components/table/TreeTableColumn.java
  
  Index: TreeTableColumn.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tapestry/contrib/src/org/apache/tapestry/contrib/tree/components/table/TreeTableColumn.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- TreeTableColumn.java	31 Oct 2003 08:15:11 -0000	1.1
  +++ TreeTableColumn.java	28 Nov 2003 18:40:58 -0000	1.2
  @@ -1,3 +1,57 @@
  +/* ====================================================================
  + * The Apache Software License, Version 1.1
  + *
  + * Copyright (c) 2000-2003 The Apache Software Foundation.  All rights
  + * reserved.
  + *
  + * Redistribution and use in source and binary forms, with or without
  + * modification, 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://apache.org/)."
  + *    Alternately, this acknowledgment may appear in the software itself,
  + *    if and wherever such third-party acknowledgments normally appear.
  + *
  + * 4. The names "Apache" and "Apache Software Foundation", "Tapestry"
  + *    must not be used to endorse or promote products derived from this
  + *    software without prior written permission. For written
  + *    permission, please contact apache@apache.org.
  + *
  + * 5. Products derived from this software may not be called "Apache"
  + *    or "Tapestry", nor may "Apache" or "Tapestry" 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 TAPESTRY CONTRIBUTOR COMMUNITY
  + * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
  + * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 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.  For more
  + * information on the Apache Software Foundation, please see
  + * <http://www.apache.org/>.
  + *
  + */
   package org.apache.tapestry.contrib.tree.components.table;
   
   import org.apache.tapestry.IRender;
  @@ -7,12 +61,8 @@
   import org.apache.tapestry.util.ComponentAddress;
   
   /**
  - * All right reserved.
  - * Copyright (c) by Rushmore Digital Ltd.
  - * 
  - * Created on Sep 8, 2003
  - * 
    * @author ceco
  + * @version $Id$
    */
   public class TreeTableColumn extends SimpleTableColumn {
   
  
  
  
  1.2       +55 -5     jakarta-tapestry/contrib/src/org/apache/tapestry/contrib/tree/components/table/TreeTableValueRenderSource.java
  
  Index: TreeTableValueRenderSource.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tapestry/contrib/src/org/apache/tapestry/contrib/tree/components/table/TreeTableValueRenderSource.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- TreeTableValueRenderSource.java	31 Oct 2003 08:15:11 -0000	1.1
  +++ TreeTableValueRenderSource.java	28 Nov 2003 18:40:58 -0000	1.2
  @@ -1,3 +1,57 @@
  +/* ====================================================================
  + * The Apache Software License, Version 1.1
  + *
  + * Copyright (c) 2000-2003 The Apache Software Foundation.  All rights
  + * reserved.
  + *
  + * Redistribution and use in source and binary forms, with or without
  + * modification, 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://apache.org/)."
  + *    Alternately, this acknowledgment may appear in the software itself,
  + *    if and wherever such third-party acknowledgments normally appear.
  + *
  + * 4. The names "Apache" and "Apache Software Foundation", "Tapestry"
  + *    must not be used to endorse or promote products derived from this
  + *    software without prior written permission. For written
  + *    permission, please contact apache@apache.org.
  + *
  + * 5. Products derived from this software may not be called "Apache"
  + *    or "Tapestry", nor may "Apache" or "Tapestry" 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 TAPESTRY CONTRIBUTOR COMMUNITY
  + * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
  + * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 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.  For more
  + * information on the Apache Software Foundation, please see
  + * <http://www.apache.org/>.
  + *
  + */
   package org.apache.tapestry.contrib.tree.components.table;
   
   import org.apache.tapestry.IRender;
  @@ -9,12 +63,8 @@
   import org.apache.tapestry.util.ComponentAddress;
   
   /**
  - * All right reserved.
  - * Copyright (c) by Rushmore Digital Ltd.
  - * 
  - * Created on Sep 8, 2003
  - * 
    * @author ceco
  + * @version $Id$
    */
   public class TreeTableValueRenderSource implements ITableRendererSource
   {
  
  
  
  1.2       +1 -11     jakarta-tapestry/contrib/src/org/apache/tapestry/contrib/tree/components/TreeDataView.java
  
  Index: TreeDataView.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tapestry/contrib/src/org/apache/tapestry/contrib/tree/components/TreeDataView.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- TreeDataView.java	31 Oct 2003 08:16:11 -0000	1.1
  +++ TreeDataView.java	28 Nov 2003 18:40:58 -0000	1.2
  @@ -67,7 +67,7 @@
   import org.apache.tapestry.IRequestCycle;
   
   /**
  - * @version $Revision$
  + * @version $Id$
    */
   public class TreeDataView extends BaseComponent implements ITreeRowSource{
       private IBinding m_objTreeViewBinding;
  @@ -143,10 +143,6 @@
           }
       }
   
  -    /**
  -     * Returns the treeDeep.
  -     * @return int
  -     */
       public int getTreeDeep() {
           return m_nTreeDeep;
       }
  @@ -157,16 +153,10 @@
   		return getTreeRowObject();
   	}
   
  -	/**
  -	 * @return
  -	 */
   	public TreeRowObject getTreeRowObject() {
   		return m_objTreeRowObject;
   	}
   
  -	/**
  -	 * @param object
  -	 */
   	public void setTreeRowObject(TreeRowObject object) {
   		m_objTreeRowObject = object;
   	}
  
  
  
  1.2       +4 -12     jakarta-tapestry/contrib/src/org/apache/tapestry/contrib/tree/components/TreeNodeView.java
  
  Index: TreeNodeView.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tapestry/contrib/src/org/apache/tapestry/contrib/tree/components/TreeNodeView.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- TreeNodeView.java	31 Oct 2003 08:16:11 -0000	1.1
  +++ TreeNodeView.java	28 Nov 2003 18:40:58 -0000	1.2
  @@ -76,6 +76,9 @@
   import org.apache.tapestry.spec.ComponentSpecification;
   import org.apache.tapestry.util.ComponentAddress;
   
  +/**
  + * @version $Id$
  + **/
   public class TreeNodeView extends BaseComponent implements PageDetachListener{
       private static final Log LOG = LogFactory.getLog(TreeNodeView.class);
   
  @@ -179,18 +182,11 @@
   		}
   		
   	}
  -    /**
  -     * @see
  -     * org.apache.tapestry.event.PageDetachListener#pageDetached(PageEvent)
  -     */
  +
       public void pageDetached(PageEvent arg0) {
           initialize();
       }
   
  -    /**
  -     * @see org.apache.tapestry.IComponent#finishLoad(IPageLoader,
  -     * ComponentSpecification)
  -     */
       public void finishLoad(IRequestCycle objCycle, IPageLoader arg0, ComponentSpecification arg1)
       {
           super.finishLoad(objCycle, arg0, arg1);
  @@ -200,10 +196,6 @@
           m_objCloseNodeImage = getAsset("_closeNodeImage");
       }
   
  -    /**
  -     * Returns the nodeOpen.
  -     * @return boolean
  -     */
       public boolean isNodeOpen() {
           if(m_objNodeState == null){
   			ITreeRowSource objTreeRowSource = getTreeRowSource();
  
  
  
  1.2       +1 -1      jakarta-tapestry/contrib/src/org/apache/tapestry/contrib/tree/components/INodeRenderFactory.java
  
  Index: INodeRenderFactory.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tapestry/contrib/src/org/apache/tapestry/contrib/tree/components/INodeRenderFactory.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- INodeRenderFactory.java	31 Oct 2003 08:16:11 -0000	1.1
  +++ INodeRenderFactory.java	28 Nov 2003 18:40:59 -0000	1.2
  @@ -60,7 +60,7 @@
   
   /**
    * @author ceco
  - *
  + * @version $Id$
    */
   public interface INodeRenderFactory 
   {
  
  
  
  1.2       +5 -2      jakarta-tapestry/contrib/src/org/apache/tapestry/contrib/tree/components/TreeView.java
  
  Index: TreeView.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tapestry/contrib/src/org/apache/tapestry/contrib/tree/components/TreeView.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- TreeView.java	31 Oct 2003 08:16:11 -0000	1.1
  +++ TreeView.java	28 Nov 2003 18:40:59 -0000	1.2
  @@ -72,6 +72,9 @@
   import org.apache.tapestry.event.PageRenderListener;
   import org.apache.tapestry.util.ComponentAddress;
   
  +/**
  + * @version $Id$
  + */
   public class TreeView extends BaseComponent
       implements PageDetachListener, PageRenderListener, ITreeModelSource {
   
  @@ -176,7 +179,7 @@
   
       /**
        * Sets the SessionStoreManagerBinding.
  -     * @param SessionStoreManagerBinding The SessionStoreManagerBinding to set
  +     * @param sessionStoreManagerBinding The SessionStoreManagerBinding to set
        */
       public void setSessionStoreManagerBinding(IBinding
                                                 sessionStoreManagerBinding) {
  @@ -246,7 +249,7 @@
       }
   
       /**
  -     * @see org.apache.tapestry.contrib.components.ITreeComponent#resetState()
  +     * @see ITreeComponent#resetState()
        */
       public void resetState() {
           if (LOG.isDebugEnabled()) {
  
  
  
  1.2       +1 -8      jakarta-tapestry/contrib/src/org/apache/tapestry/contrib/tree/components/Tree.java
  
  Index: Tree.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tapestry/contrib/src/org/apache/tapestry/contrib/tree/components/Tree.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- Tree.java	31 Oct 2003 08:16:11 -0000	1.1
  +++ Tree.java	28 Nov 2003 18:40:59 -0000	1.2
  @@ -60,18 +60,11 @@
   import org.apache.tapestry.util.ComponentAddress;
   
   /**
  - * All right reserved.
  - * Copyright (c) by Rushmore Digital Ltd.
  - * 
  - * Created on Sep 2, 2003
  - * 
    * @author ceco
  + * @version $Id$
    */
   public class Tree extends BaseComponent implements ITreeComponent{
   
  -	/**
  -	 * 
  -	 */
   	public Tree() {
   		super();
   	}
  
  
  
  1.2       +1 -5      jakarta-tapestry/contrib/src/org/apache/tapestry/contrib/tree/components/ITreeComponent.java
  
  Index: ITreeComponent.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tapestry/contrib/src/org/apache/tapestry/contrib/tree/components/ITreeComponent.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- ITreeComponent.java	31 Oct 2003 08:16:11 -0000	1.1
  +++ ITreeComponent.java	28 Nov 2003 18:40:59 -0000	1.2
  @@ -59,12 +59,8 @@
   import org.apache.tapestry.util.ComponentAddress;
   
   /**
  - * All right reserved.
  - * Copyright (c) by Rushmore Digital Ltd.
  - * Created on Sep 25, 2002
  - *
    * @author ceco
  - *
  + * @version $Id$
    */
   public interface ITreeComponent {
   	ComponentAddress getComponentPath();
  
  
  
  1.2       +55 -5     jakarta-tapestry/contrib/src/org/apache/tapestry/contrib/tree/simple/NullSessionStateManager.java
  
  Index: NullSessionStateManager.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tapestry/contrib/src/org/apache/tapestry/contrib/tree/simple/NullSessionStateManager.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- NullSessionStateManager.java	31 Oct 2003 08:16:38 -0000	1.1
  +++ NullSessionStateManager.java	28 Nov 2003 18:41:00 -0000	1.2
  @@ -1,15 +1,65 @@
  +/* ====================================================================
  + * The Apache Software License, Version 1.1
  + *
  + * Copyright (c) 2000-2003 The Apache Software Foundation.  All rights
  + * reserved.
  + *
  + * Redistribution and use in source and binary forms, with or without
  + * modification, 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://apache.org/)."
  + *    Alternately, this acknowledgment may appear in the software itself,
  + *    if and wherever such third-party acknowledgments normally appear.
  + *
  + * 4. The names "Apache" and "Apache Software Foundation", "Tapestry"
  + *    must not be used to endorse or promote products derived from this
  + *    software without prior written permission. For written
  + *    permission, please contact apache@apache.org.
  + *
  + * 5. Products derived from this software may not be called "Apache"
  + *    or "Tapestry", nor may "Apache" or "Tapestry" 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 TAPESTRY CONTRIBUTOR COMMUNITY
  + * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
  + * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 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.  For more
  + * information on the Apache Software Foundation, please see
  + * <http://www.apache.org/>.
  + *
  + */
   package org.apache.tapestry.contrib.tree.simple;
   
   import org.apache.tapestry.contrib.tree.model.ITreeModel;
   import org.apache.tapestry.contrib.tree.model.ITreeSessionStateManager;
   
   /**
  - * All right reserved.
  - * Copyright (c) by Rushmore Digital Ltd.
  - * Created on Sep 27, 2002
  - *
    * @author ceco
  - *
  + * @version $Id$
    */
   public class NullSessionStateManager implements ITreeSessionStateManager {
   
  
  
  
  1.2       +55 -30    jakarta-tapestry/contrib/src/org/apache/tapestry/contrib/tree/simple/TreeNode.java
  
  Index: TreeNode.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tapestry/contrib/src/org/apache/tapestry/contrib/tree/simple/TreeNode.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- TreeNode.java	31 Oct 2003 08:16:38 -0000	1.1
  +++ TreeNode.java	28 Nov 2003 18:41:00 -0000	1.2
  @@ -1,3 +1,57 @@
  +/* ====================================================================
  + * The Apache Software License, Version 1.1
  + *
  + * Copyright (c) 2000-2003 The Apache Software Foundation.  All rights
  + * reserved.
  + *
  + * Redistribution and use in source and binary forms, with or without
  + * modification, 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://apache.org/)."
  + *    Alternately, this acknowledgment may appear in the software itself,
  + *    if and wherever such third-party acknowledgments normally appear.
  + *
  + * 4. The names "Apache" and "Apache Software Foundation", "Tapestry"
  + *    must not be used to endorse or promote products derived from this
  + *    software without prior written permission. For written
  + *    permission, please contact apache@apache.org.
  + *
  + * 5. Products derived from this software may not be called "Apache"
  + *    or "Tapestry", nor may "Apache" or "Tapestry" 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 TAPESTRY CONTRIBUTOR COMMUNITY
  + * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
  + * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 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.  For more
  + * information on the Apache Software Foundation, please see
  + * <http://www.apache.org/>.
  + *
  + */
   package org.apache.tapestry.contrib.tree.simple;
   
   import java.util.Collection;
  @@ -10,6 +64,7 @@
   
   /**
    * @author ceco
  + * @version $Id$
    */
   public class TreeNode implements IMutableTreeNode {
   
  @@ -29,75 +84,45 @@
   	}
   
   
  -	/**
  -	 * @see com.rushmore.components.tree.ITreeNode#getChildCount()
  -	 */
   	public int getChildCount() {
   		return m_setChildren.size();
   	}
   
  -	/**
  -	 * @see com.rushmore.components.tree.ITreeNode#getParent()
  -	 */
   	public ITreeNode getParent() {
   		return m_objParentNode;
   	}
   
  -	/**
  -	 * @see com.rushmore.components.tree.ITreeNode#getAllowsChildren()
  -	 */
   	public boolean getAllowsChildren() {
   		return true;
   	}
   
  -	/**
  -	 * @see com.rushmore.components.tree.ITreeNode#isLeaf()
  -	 */
   	public boolean isLeaf() {
   		return m_setChildren.size() == 0 ? true:false;
   	}
   
  -	/**
  -	 * @see com.rushmore.components.tree.ITreeNode#children()
  -	 */
   	public Collection children() {
   		return m_setChildren;
   	}
   
   
  -	/**
  -	 * @see com.rushmore.components.tree.IMutableTreeNode#insert(IMutableTreeNode, int)
  -	 */
   	public void insert(IMutableTreeNode child) {
   		child.setParent(this);
   		m_setChildren.add(child);
   	}
   
  -	/**
  -	 * @see com.rushmore.components.tree.IMutableTreeNode#remove(IMutableTreeNode)
  -	 */
   	public void remove(IMutableTreeNode node) {
   		m_setChildren.remove(node);
   	}
   
  -	/**
  -	 * @see com.rushmore.components.tree.IMutableTreeNode#removeFromParent()
  -	 */
   	public void removeFromParent() {
   		m_objParentNode.remove(this);
   		m_objParentNode = null;
   	}
   
  -	/**
  -	 * @see com.rushmore.components.tree.IMutableTreeNode#setParent(IMutableTreeNode)
  -	 */
   	public void setParent(IMutableTreeNode newParent) {
   		m_objParentNode = newParent;
   	}
   
  -	/**
  -	 * @see com.rushmore.components.tree.IMutableTreeNode#insert(Collection)
  -	 */
   	public void insert(Collection colChildren){
   		for (Iterator iter = colChildren.iterator(); iter.hasNext();) {
   			IMutableTreeNode element = (IMutableTreeNode) iter.next();
  
  
  
  1.2       +57 -7     jakarta-tapestry/contrib/src/org/apache/tapestry/contrib/tree/simple/SimpleSessionStateManager.java
  
  Index: SimpleSessionStateManager.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tapestry/contrib/src/org/apache/tapestry/contrib/tree/simple/SimpleSessionStateManager.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- SimpleSessionStateManager.java	31 Oct 2003 08:16:38 -0000	1.1
  +++ SimpleSessionStateManager.java	28 Nov 2003 18:41:00 -0000	1.2
  @@ -1,14 +1,64 @@
  +/* ====================================================================
  + * The Apache Software License, Version 1.1
  + *
  + * Copyright (c) 2000-2003 The Apache Software Foundation.  All rights
  + * reserved.
  + *
  + * Redistribution and use in source and binary forms, with or without
  + * modification, 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://apache.org/)."
  + *    Alternately, this acknowledgment may appear in the software itself,
  + *    if and wherever such third-party acknowledgments normally appear.
  + *
  + * 4. The names "Apache" and "Apache Software Foundation", "Tapestry"
  + *    must not be used to endorse or promote products derived from this
  + *    software without prior written permission. For written
  + *    permission, please contact apache@apache.org.
  + *
  + * 5. Products derived from this software may not be called "Apache"
  + *    or "Tapestry", nor may "Apache" or "Tapestry" 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 TAPESTRY CONTRIBUTOR COMMUNITY
  + * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
  + * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 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.  For more
  + * information on the Apache Software Foundation, please see
  + * <http://www.apache.org/>.
  + *
  + */
   package org.apache.tapestry.contrib.tree.simple;
   
   import org.apache.tapestry.contrib.tree.model.*;
   
   /**
  - * All right reserved.
  - * Copyright (c) by Rushmore Digital Ltd.
  - * Created on Sep 24, 2002
  - *
    * @author ceco
  - *
  + * @version $Id$
    */
   public class SimpleSessionStateManager implements ITreeSessionStateManager {
   
  @@ -20,14 +70,14 @@
   	}
   
   	/**
  -	 * @see com.rushmore.components.tree.ITreeSessionStateManager#getSessionState(ITreeModel)
  +	 * @see ITreeSessionStateManager#getSessionState(ITreeModel)
   	 */
   	public Object getSessionState(ITreeModel objModel) {
   		return objModel;
   	}
   
   	/**
  -	 * @see com.rushmore.components.tree.ITreeSessionStateManager#getModel(Object)
  +	 * @see ITreeSessionStateManager#getModel(Object)
   	 */
   	public ITreeModel getModel(Object objSessionState) {
   		return (ITreeModel)objSessionState;
  
  
  
  1.2       +57 -3     jakarta-tapestry/contrib/src/org/apache/tapestry/contrib/tree/simple/SimpleNodeRenderFactory.java
  
  Index: SimpleNodeRenderFactory.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tapestry/contrib/src/org/apache/tapestry/contrib/tree/simple/SimpleNodeRenderFactory.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- SimpleNodeRenderFactory.java	31 Oct 2003 08:16:38 -0000	1.1
  +++ SimpleNodeRenderFactory.java	28 Nov 2003 18:41:00 -0000	1.2
  @@ -1,3 +1,57 @@
  +/* ====================================================================
  + * The Apache Software License, Version 1.1
  + *
  + * Copyright (c) 2000-2003 The Apache Software Foundation.  All rights
  + * reserved.
  + *
  + * Redistribution and use in source and binary forms, with or without
  + * modification, 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://apache.org/)."
  + *    Alternately, this acknowledgment may appear in the software itself,
  + *    if and wherever such third-party acknowledgments normally appear.
  + *
  + * 4. The names "Apache" and "Apache Software Foundation", "Tapestry"
  + *    must not be used to endorse or promote products derived from this
  + *    software without prior written permission. For written
  + *    permission, please contact apache@apache.org.
  + *
  + * 5. Products derived from this software may not be called "Apache"
  + *    or "Tapestry", nor may "Apache" or "Tapestry" 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 TAPESTRY CONTRIBUTOR COMMUNITY
  + * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
  + * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 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.  For more
  + * information on the Apache Software Foundation, please see
  + * <http://www.apache.org/>.
  + *
  + */
   package org.apache.tapestry.contrib.tree.simple;
   
   import org.apache.tapestry.IRender;
  @@ -8,8 +62,8 @@
   
   /**
    * @author ceco
  + * @version $Id$
    */
  -
   public class SimpleNodeRenderFactory implements INodeRenderFactory {
   
   	/**
  @@ -20,7 +74,7 @@
   	}
   
   	/**
  -	 * @see org.apache.tapestry.contrib.tree.model.INodeRenderFactory#getRender(ITreeNode, ITreeModel, IRequestCycle)
  +	 * @see INodeRenderFactory#getRender
   	 */
   	public IRender getRenderByID(
   		Object objUniqueKey,
  @@ -32,7 +86,7 @@
   	}
   
   	/**
  -	 * @see org.apache.tapestry.contrib.tree.model.INodeRenderFactory#getRender(Object, IRequestCycle)
  +	 * @see INodeRenderFactory#getRender
   	 */
   	public IRender getRender(Object objValue, ITreeModelSource objTreeModelSource, IRequestCycle objCycle) {
   		return new RenderString(objValue.toString());
  
  
  
  1.2       +58 -5     jakarta-tapestry/contrib/src/org/apache/tapestry/contrib/tree/simple/TreePath.java
  
  Index: TreePath.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tapestry/contrib/src/org/apache/tapestry/contrib/tree/simple/TreePath.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- TreePath.java	31 Oct 2003 08:16:38 -0000	1.1
  +++ TreePath.java	28 Nov 2003 18:41:00 -0000	1.2
  @@ -1,13 +1,66 @@
  +/* ====================================================================
  + * The Apache Software License, Version 1.1
  + *
  + * Copyright (c) 2000-2003 The Apache Software Foundation.  All rights
  + * reserved.
  + *
  + * Redistribution and use in source and binary forms, with or without
  + * modification, 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://apache.org/)."
  + *    Alternately, this acknowledgment may appear in the software itself,
  + *    if and wherever such third-party acknowledgments normally appear.
  + *
  + * 4. The names "Apache" and "Apache Software Foundation", "Tapestry"
  + *    must not be used to endorse or promote products derived from this
  + *    software without prior written permission. For written
  + *    permission, please contact apache@apache.org.
  + *
  + * 5. Products derived from this software may not be called "Apache"
  + *    or "Tapestry", nor may "Apache" or "Tapestry" 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 TAPESTRY CONTRIBUTOR COMMUNITY
  + * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
  + * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 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.  For more
  + * information on the Apache Software Foundation, please see
  + * <http://www.apache.org/>.
  + *
  + */
   package org.apache.tapestry.contrib.tree.simple;
   
   import java.io.*;
   import java.util.Vector;
   
  -/*
  -* @version 1.00 30/07/03
  -* @author ceco
  -*/
  -
  +/**
  + * @author ceco
  + * @version $Id$
  + */
   public class TreePath extends Object implements Serializable {
   	private TreePath parentPath;
   	transient private Object lastPathComponent;
  
  
  
  1.2       +55 -5     jakarta-tapestry/contrib/src/org/apache/tapestry/contrib/tree/simple/SimpleTreeStateModel.java
  
  Index: SimpleTreeStateModel.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tapestry/contrib/src/org/apache/tapestry/contrib/tree/simple/SimpleTreeStateModel.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- SimpleTreeStateModel.java	31 Oct 2003 08:16:38 -0000	1.1
  +++ SimpleTreeStateModel.java	28 Nov 2003 18:41:00 -0000	1.2
  @@ -1,3 +1,57 @@
  +/* ====================================================================
  + * The Apache Software License, Version 1.1
  + *
  + * Copyright (c) 2000-2003 The Apache Software Foundation.  All rights
  + * reserved.
  + *
  + * Redistribution and use in source and binary forms, with or without
  + * modification, 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://apache.org/)."
  + *    Alternately, this acknowledgment may appear in the software itself,
  + *    if and wherever such third-party acknowledgments normally appear.
  + *
  + * 4. The names "Apache" and "Apache Software Foundation", "Tapestry"
  + *    must not be used to endorse or promote products derived from this
  + *    software without prior written permission. For written
  + *    permission, please contact apache@apache.org.
  + *
  + * 5. Products derived from this software may not be called "Apache"
  + *    or "Tapestry", nor may "Apache" or "Tapestry" 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 TAPESTRY CONTRIBUTOR COMMUNITY
  + * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
  + * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 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.  For more
  + * information on the Apache Software Foundation, please see
  + * <http://www.apache.org/>.
  + *
  + */
   package org.apache.tapestry.contrib.tree.simple;
   
   import java.io.Serializable;
  @@ -7,12 +61,8 @@
   import org.apache.tapestry.contrib.tree.model.ITreeStateModel;
   
   /**
  - * All right reserved.
  - * Copyright (c) by Rushmore Digital Ltd.
  - * Created on Sep 25, 2002
  - *
    * @author ceco
  - *
  + * @version $Id$
    */
   public class SimpleTreeStateModel implements ITreeStateModel, Serializable{
   
  
  
  
  1.2       +55 -5     jakarta-tapestry/contrib/src/org/apache/tapestry/contrib/tree/simple/SimpleTreeModel.java
  
  Index: SimpleTreeModel.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tapestry/contrib/src/org/apache/tapestry/contrib/tree/simple/SimpleTreeModel.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- SimpleTreeModel.java	31 Oct 2003 08:16:38 -0000	1.1
  +++ SimpleTreeModel.java	28 Nov 2003 18:41:00 -0000	1.2
  @@ -1,3 +1,57 @@
  +/* ====================================================================
  + * The Apache Software License, Version 1.1
  + *
  + * Copyright (c) 2000-2003 The Apache Software Foundation.  All rights
  + * reserved.
  + *
  + * Redistribution and use in source and binary forms, with or without
  + * modification, 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://apache.org/)."
  + *    Alternately, this acknowledgment may appear in the software itself,
  + *    if and wherever such third-party acknowledgments normally appear.
  + *
  + * 4. The names "Apache" and "Apache Software Foundation", "Tapestry"
  + *    must not be used to endorse or promote products derived from this
  + *    software without prior written permission. For written
  + *    permission, please contact apache@apache.org.
  + *
  + * 5. Products derived from this software may not be called "Apache"
  + *    or "Tapestry", nor may "Apache" or "Tapestry" 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 TAPESTRY CONTRIBUTOR COMMUNITY
  + * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
  + * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 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.  For more
  + * information on the Apache Software Foundation, please see
  + * <http://www.apache.org/>.
  + *
  + */
   package org.apache.tapestry.contrib.tree.simple;
   
   import java.io.Serializable;
  @@ -7,12 +61,8 @@
   import org.apache.tapestry.contrib.tree.model.ITreeStateModel;
   
   /**
  - * All right reserved.
  - * Copyright (c) by Rushmore Digital Ltd.
  - * Created on Sep 25, 2002
  - *
    * @author ceco
  - *
  + * @version $Id$
    */
   public class SimpleTreeModel implements ITreeModel, Serializable{
   
  
  
  
  1.2       +55 -5     jakarta-tapestry/contrib/src/org/apache/tapestry/contrib/tree/simple/FullTreeSessionStateManager.java
  
  Index: FullTreeSessionStateManager.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tapestry/contrib/src/org/apache/tapestry/contrib/tree/simple/FullTreeSessionStateManager.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- FullTreeSessionStateManager.java	31 Oct 2003 08:16:38 -0000	1.1
  +++ FullTreeSessionStateManager.java	28 Nov 2003 18:41:00 -0000	1.2
  @@ -1,15 +1,65 @@
  +/* ====================================================================
  + * The Apache Software License, Version 1.1
  + *
  + * Copyright (c) 2000-2003 The Apache Software Foundation.  All rights
  + * reserved.
  + *
  + * Redistribution and use in source and binary forms, with or without
  + * modification, 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://apache.org/)."
  + *    Alternately, this acknowledgment may appear in the software itself,
  + *    if and wherever such third-party acknowledgments normally appear.
  + *
  + * 4. The names "Apache" and "Apache Software Foundation", "Tapestry"
  + *    must not be used to endorse or promote products derived from this
  + *    software without prior written permission. For written
  + *    permission, please contact apache@apache.org.
  + *
  + * 5. Products derived from this software may not be called "Apache"
  + *    or "Tapestry", nor may "Apache" or "Tapestry" 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 TAPESTRY CONTRIBUTOR COMMUNITY
  + * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
  + * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 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.  For more
  + * information on the Apache Software Foundation, please see
  + * <http://www.apache.org/>.
  + *
  + */
   package org.apache.tapestry.contrib.tree.simple;
   
   import org.apache.tapestry.contrib.tree.model.ITreeModel;
   import org.apache.tapestry.contrib.tree.model.ITreeSessionStateManager;
   
   /**
  - * All right reserved.
  - * Copyright (c) by Rushmore Digital Ltd.
  - * Created on Sep 25, 2002
  - *
    * @author ceco
  - *
  + * @version $Id$
    */
   public class FullTreeSessionStateManager implements ITreeSessionStateManager {
   
  
  
  
  1.2       +56 -6     jakarta-tapestry/contrib/src/org/apache/tapestry/contrib/tree/simple/SimpleTreeDataModel.java
  
  Index: SimpleTreeDataModel.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tapestry/contrib/src/org/apache/tapestry/contrib/tree/simple/SimpleTreeDataModel.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- SimpleTreeDataModel.java	31 Oct 2003 08:16:38 -0000	1.1
  +++ SimpleTreeDataModel.java	28 Nov 2003 18:41:00 -0000	1.2
  @@ -1,3 +1,57 @@
  +/* ====================================================================
  + * The Apache Software License, Version 1.1
  + *
  + * Copyright (c) 2000-2003 The Apache Software Foundation.  All rights
  + * reserved.
  + *
  + * Redistribution and use in source and binary forms, with or without
  + * modification, 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://apache.org/)."
  + *    Alternately, this acknowledgment may appear in the software itself,
  + *    if and wherever such third-party acknowledgments normally appear.
  + *
  + * 4. The names "Apache" and "Apache Software Foundation", "Tapestry"
  + *    must not be used to endorse or promote products derived from this
  + *    software without prior written permission. For written
  + *    permission, please contact apache@apache.org.
  + *
  + * 5. Products derived from this software may not be called "Apache"
  + *    or "Tapestry", nor may "Apache" or "Tapestry" 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 TAPESTRY CONTRIBUTOR COMMUNITY
  + * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
  + * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 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.  For more
  + * information on the Apache Software Foundation, please see
  + * <http://www.apache.org/>.
  + *
  + */
   package org.apache.tapestry.contrib.tree.simple;
   
   import java.io.Serializable;
  @@ -7,12 +61,8 @@
   import org.apache.tapestry.contrib.tree.model.ITreeNode;
   
   /**
  - * All right reserved.
  - * Copyright (c) by Rushmore Digital Ltd.
  - * Created on Sep 25, 2002
  - *
    * @author ceco
  - *
  + * @version $Id$
    */
   public class SimpleTreeDataModel implements ITreeDataModel, Serializable {
   
  @@ -85,7 +135,7 @@
   	}
   
   	/**
  -	 * @see org.apache.tapestry.contrib.tree.model.ITreeDataModel#getParentID(Object)
  +	 * @see org.apache.tapestry.contrib.tree.model.ITreeDataModel#getParentUniqueKey
   	 */
   	public Object getParentUniqueKey(Object objChildUniqueKey) {
   		TreePath objChildPath = (TreePath)objChildUniqueKey;
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org


Mime
View raw message