portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From smi...@apache.org
Subject svn commit: r588423 - /portals/jetspeed-2/branches/JETSPEED-2.1.3/jetspeed-api/src/java/org/apache/jetspeed/layout/PortletPlacementContext.java
Date Fri, 26 Oct 2007 00:01:29 GMT
Author: smilek
Date: Thu Oct 25 17:01:28 2007
New Revision: 588423

URL: http://svn.apache.org/viewvc?rev=588423&view=rev
Log:
added new moveAbsolute signature to indicate whether fragment is being added or just moved

Modified:
    portals/jetspeed-2/branches/JETSPEED-2.1.3/jetspeed-api/src/java/org/apache/jetspeed/layout/PortletPlacementContext.java

Modified: portals/jetspeed-2/branches/JETSPEED-2.1.3/jetspeed-api/src/java/org/apache/jetspeed/layout/PortletPlacementContext.java
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/branches/JETSPEED-2.1.3/jetspeed-api/src/java/org/apache/jetspeed/layout/PortletPlacementContext.java?rev=588423&r1=588422&r2=588423&view=diff
==============================================================================
--- portals/jetspeed-2/branches/JETSPEED-2.1.3/jetspeed-api/src/java/org/apache/jetspeed/layout/PortletPlacementContext.java
(original)
+++ portals/jetspeed-2/branches/JETSPEED-2.1.3/jetspeed-api/src/java/org/apache/jetspeed/layout/PortletPlacementContext.java
Thu Oct 25 17:01:28 2007
@@ -38,8 +38,19 @@
 	 * @return new coordinate location of the portlet
 	 * @throws PortletPlacementException
 	 */
-	public Coordinate moveAbsolute(Fragment fragment, Coordinate coordinate) throws PortletPlacementException;
-    
+	public Coordinate moveAbsolute(Fragment fragment, Coordinate coordinate ) throws PortletPlacementException;
+
+	/**
+     * Move a portlet fragment to a new absolute position as specified in the Coordinate
parameter.
+     * 
+	 * @param fragment The fragment to be moved.
+	 * @param coordinate The specification of the new absolute coordinate
+	 * @param addFragment When true, the fragment is being added (i.e. it is not being moved
within the column)
+	 * @return new coordinate location of the portlet
+	 * @throws PortletPlacementException
+	 */
+	public Coordinate moveAbsolute(Fragment fragment, Coordinate coordinate, boolean addFragment)
throws PortletPlacementException;
+	
 	/**
      * Move a portlet relative to its current position UP one row.
      * 



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


Mime
View raw message