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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]