You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-dev@portals.apache.org by sm...@apache.org on 2007/12/08 10:31:43 UTC

svn commit: r602383 - /portals/jetspeed-2/trunk/jetspeed-api/src/main/java/org/apache/jetspeed/layout/PortletPlacementContext.java

Author: smilek
Date: Sat Dec  8 01:31:42 2007
New Revision: 602383

URL: http://svn.apache.org/viewvc?rev=602383&view=rev
Log:
The following revision comments are from branches/JETSPEED-2.1.3 revisions which were not individually checked-in to trunk
=== ---------------------------------------------------------------- ===
[ from branches/JETSPEED-2.1.3 r588423 ] | smilek | 2007-10-25 18:01:28 -0600 (Thu, 25 Oct 2007) | 1 line

added new moveAbsolute signature to indicate whether fragment is being added or just moved
=== ---------------------------------------------------------------- ===

Modified:
    portals/jetspeed-2/trunk/jetspeed-api/src/main/java/org/apache/jetspeed/layout/PortletPlacementContext.java

Modified: portals/jetspeed-2/trunk/jetspeed-api/src/main/java/org/apache/jetspeed/layout/PortletPlacementContext.java
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/trunk/jetspeed-api/src/main/java/org/apache/jetspeed/layout/PortletPlacementContext.java?rev=602383&r1=602382&r2=602383&view=diff
==============================================================================
--- portals/jetspeed-2/trunk/jetspeed-api/src/main/java/org/apache/jetspeed/layout/PortletPlacementContext.java (original)
+++ portals/jetspeed-2/trunk/jetspeed-api/src/main/java/org/apache/jetspeed/layout/PortletPlacementContext.java Sat Dec  8 01:31:42 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