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/10/26 02:01:29 UTC
svn commit: r588423 -
/portals/jetspeed-2/branches/JETSPEED-2.1.3/jetspeed-api/src/java/org/apache/jetspeed/layout/PortletPlacementContext.java
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