[jboss-cvs] jboss-portal/core/src/main/org/jboss/portlet/event/node ...

Julien Viet julien at jboss.com
Sun Jul 30 17:45:19 EDT 2006


  User: julien  
  Date: 06/07/30 17:45:19

  Modified:    core/src/main/org/jboss/portlet/event/node    
                        PortalNodeEvent.java WindowActionEvent.java
                        WindowEvent.java WindowRenderEvent.java
  Log:
  - make PortalEvent an abstract class
  - move parameter from WindowEvent to WindowActionEvent and WindowRenderEvent
  
  Revision  Changes    Path
  1.5       +1 -0      jboss-portal/core/src/main/org/jboss/portlet/event/node/PortalNodeEvent.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: PortalNodeEvent.java
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-portal/core/src/main/org/jboss/portlet/event/node/PortalNodeEvent.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -b -r1.4 -r1.5
  --- PortalNodeEvent.java	15 Feb 2006 10:28:13 -0000	1.4
  +++ PortalNodeEvent.java	30 Jul 2006 21:45:18 -0000	1.5
  @@ -29,6 +29,7 @@
   public abstract class PortalNodeEvent
   {
   
  +   /** The portal node. */
      protected final PortalNode node;
   
      public PortalNodeEvent(PortalNode node)
  
  
  
  1.3       +19 -2     jboss-portal/core/src/main/org/jboss/portlet/event/node/WindowActionEvent.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: WindowActionEvent.java
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-portal/core/src/main/org/jboss/portlet/event/node/WindowActionEvent.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -b -r1.2 -r1.3
  --- WindowActionEvent.java	6 Jan 2006 23:48:32 -0000	1.2
  +++ WindowActionEvent.java	30 Jul 2006 21:45:18 -0000	1.3
  @@ -23,14 +23,31 @@
   
   import org.jboss.portlet.PortalNode;
   
  +import java.util.Map;
  +
   /**
    * @author <a href="mailto:julien at jboss.org">Julien Viet</a>
  - * @version $Revision: 1.2 $
  + * @version $Revision: 1.3 $
    */
   public class WindowActionEvent extends WindowEvent
   {
  +
  +   /** . */
  +   protected Map parameters;
  +
      public WindowActionEvent(PortalNode node) 
      {
         super(node);
      }
  +
  +   public Map getParameters()
  +   {
  +      return parameters;
  +   }
  +
  +   public void setParameters(Map parameters)
  +   {
  +      this.parameters = parameters;
  +   }
  +
   }
  
  
  
  1.7       +0 -15     jboss-portal/core/src/main/org/jboss/portlet/event/node/WindowEvent.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: WindowEvent.java
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-portal/core/src/main/org/jboss/portlet/event/node/WindowEvent.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -b -r1.6 -r1.7
  --- WindowEvent.java	9 Jul 2006 12:04:15 -0000	1.6
  +++ WindowEvent.java	30 Jul 2006 21:45:18 -0000	1.7
  @@ -25,8 +25,6 @@
   import org.jboss.portal.portlet.WindowState;
   import org.jboss.portlet.PortalNode;
   
  -import java.util.Map;
  -
   /**
    * @author <a href="mailto:julien at jboss.org">Julien Viet</a>
    */
  @@ -34,9 +32,6 @@
   {
   
      /** . */
  -   protected Map parameters;
  -
  -   /** . */
      protected Mode mode;
   
      /** . */
  @@ -53,16 +48,6 @@
         }
      }
   
  -   public Map getParameters()
  -   {
  -      return parameters;
  -   }
  -
  -   public void setParameters(Map parameters)
  -   {
  -      this.parameters = parameters;
  -   }
  -
      public Mode getMode()
      {
         return mode;
  
  
  
  1.3       +18 -1     jboss-portal/core/src/main/org/jboss/portlet/event/node/WindowRenderEvent.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: WindowRenderEvent.java
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-portal/core/src/main/org/jboss/portlet/event/node/WindowRenderEvent.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -b -r1.2 -r1.3
  --- WindowRenderEvent.java	6 Jan 2006 23:48:32 -0000	1.2
  +++ WindowRenderEvent.java	30 Jul 2006 21:45:18 -0000	1.3
  @@ -24,14 +24,31 @@
   import org.jboss.portlet.PortalNode;
   import org.jboss.portlet.event.node.WindowEvent;
   
  +import java.util.Map;
  +
   /**
    * @author <a href="mailto:julien at jboss.org">Julien Viet</a>
  - * @version $Revision: 1.2 $
  + * @version $Revision: 1.3 $
    */
   public class WindowRenderEvent extends WindowEvent
   {
  +
  +   /** . */
  +   protected Map parameters;
  +
      public WindowRenderEvent(PortalNode node)
      {
         super(node);
      }
  +
  +   public Map getParameters()
  +   {
  +      return parameters;
  +   }
  +
  +   public void setParameters(Map parameters)
  +   {
  +      this.parameters = parameters;
  +   }
  +
   }
  
  
  



More information about the jboss-cvs-commits mailing list