org.deegree.portal.portlet.modules.map.actions.portlets
Class CRSChooserPortletPerform
java.lang.Object
org.deegree.portal.portlet.modules.actions.AbstractPortletPerform
org.deegree.portal.portlet.modules.actions.IGeoPortalPortletPerform
org.deegree.portal.portlet.modules.map.actions.portlets.CRSChooserPortletPerform
public class CRSChooserPortletPerform
- extends IGeoPortalPortletPerform
This Perform class takes care of changing the WMC's bounding box based on a scale paramter. The parameter is passed
in the request. The paramter name is defined by the static member NEW_SCALE_VALUE
- Version:
- $Revision: 18195 $, $Date: 2009-06-18 17:55:39 +0200 (Do, 18. Jun 2009) $
- Author:
- Ugo Taddei, last edited by: $Author: mschneider $
Fields inherited from class org.deegree.portal.portlet.modules.actions.AbstractPortletPerform |
AVAILABLE_WMC, CURRENT_WMC, CURRENT_WMC_NAME, INIT_MAPPORTLETID, INIT_WMC, PARAM_MAPACTION, PARAM_MAPPORTLET, PARAM_MODE, parameter, portlet, request, SESSION_CURRENTFILAYER, SESSION_HOME, SESSION_VIEWCONTEXT |
Constructor Summary |
CRSChooserPortletPerform(javax.servlet.http.HttpServletRequest request,
org.apache.jetspeed.portal.Portlet portlet,
javax.servlet.ServletContext sc)
private constructor |
Method Summary |
(package private) void |
doCRSChange()
Changes the CRS of the current ViewContext. |
(package private) void |
readInitParameter()
TODO reads the init parameters of the portlet and build the scale list |
Methods inherited from class org.deegree.portal.portlet.modules.actions.IGeoPortalPortletPerform |
getCurrentMapContextName, getCurrentMapContextName, getCurrentViewContext, getCurrentViewContext, getNamedViewContext, getNamedViewContext, setBoundingBox, setBoundingBox, setBoundingBoxFromBBOXParam, setCurrentMapContext, setCurrentMapContext, setCurrentMapContextName, setCurrentMapContextName, setLayers, setMode, setNameContext, setNameContext, updateContext |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
REQUESTED_CRS
public static final String REQUESTED_CRS
- See Also:
- Constant Field Values
AVAILABLE_CRS
public static final String AVAILABLE_CRS
- See Also:
- Constant Field Values
AVAILABLE_CRS_NAMES
public static final String AVAILABLE_CRS_NAMES
- See Also:
- Constant Field Values
CRSChooserPortletPerform
CRSChooserPortletPerform(javax.servlet.http.HttpServletRequest request,
org.apache.jetspeed.portal.Portlet portlet,
javax.servlet.ServletContext sc)
- private constructor
- Parameters:
request
- portlet
- sc
-
readInitParameter
void readInitParameter()
throws PortalException
- TODO reads the init parameters of the portlet and build the scale list
- Throws:
PortalException
doCRSChange
void doCRSChange()
throws PortalException
- Changes the CRS of the current ViewContext. The CRS value is in the parameter under the 'REQUESTED_CRS' key.
- Throws:
PortalException
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org