From 7c3ec4efc47cdf3666360287541527f07e487f08 Mon Sep 17 00:00:00 2001 From: Giancarlo Panichi Date: Tue, 26 Jul 2016 11:09:50 +0000 Subject: [PATCH] refs 4172: Dataminer interface enhancements https://support.d4science.org/issues/4172 Updated SelectAreaDialog in DataMiner git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/data-miner-manager@130816 82a268e6-3cf1-43bd-a215-b396298e98cf --- .../server/smservice/wps/WPS2SM.java | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/main/java/org/gcube/portlets/user/dataminermanager/server/smservice/wps/WPS2SM.java b/src/main/java/org/gcube/portlets/user/dataminermanager/server/smservice/wps/WPS2SM.java index 290d0cc..df48ff3 100644 --- a/src/main/java/org/gcube/portlets/user/dataminermanager/server/smservice/wps/WPS2SM.java +++ b/src/main/java/org/gcube/portlets/user/dataminermanager/server/smservice/wps/WPS2SM.java @@ -191,49 +191,49 @@ public class WPS2SM { String defaultValue) { if (title.contains("[WKT_POINT]")) { - //title.replace("[WKT_POINT]", ""); + title=title.replace("[WKT_POINT]", ""); return new WKTParameter(id, title, WKTGeometryType.Point, defaultValue); } else { if (title.contains("[WKT_LINESTRING]")) { - //title.replace("[WKT_LINESTRING]", ""); + title=title.replace("[WKT_LINESTRING]", ""); return new WKTParameter(id, title, WKTGeometryType.LineString, defaultValue); } else { if (title.contains("[WKT_POLYGON]")) { - //title.replace("[WKT_POLYGON]", ""); + title=title.replace("[WKT_POLYGON]", ""); return new WKTParameter(id, title, WKTGeometryType.Polygon, defaultValue); } else { if (title.contains("[WKT_CIRCLE]")) { - //title.replace("[WKT_CIRCLE]", ""); + title=title.replace("[WKT_CIRCLE]", ""); return new WKTParameter(id, title, WKTGeometryType.Circle, defaultValue); } else { if (title.contains("[WKT_TRIANGLE]")) { - //title.replace("[WKT_TRIANGLE]", ""); + title=title.replace("[WKT_TRIANGLE]", ""); return new WKTParameter(id, title, WKTGeometryType.Triangle, defaultValue); } else { if (title.contains("[WKT_SQUARE]")) { - //title.replace("[WKT_SQUARE]", ""); + title=title.replace("[WKT_SQUARE]", ""); return new WKTParameter(id, title, WKTGeometryType.Square, defaultValue); } else { if (title.contains("[WKT_PENTAGON]")) { - //title.replace("[WKT_PENTAGON]", ""); + title=title.replace("[WKT_PENTAGON]", ""); return new WKTParameter(id, title, WKTGeometryType.Pentagon, defaultValue); } else { if (title.contains("[WKT_HEXAGON]")) { - //title.replace("[WKT_HEXAGON]", ""); + title=title.replace("[WKT_HEXAGON]", ""); return new WKTParameter(id, title, WKTGeometryType.Hexagon, defaultValue); } else { if (title.contains("[WKT_BOX]")) { - //title.replace("[WKT_BOX]", ""); + title=title.replace("[WKT_BOX]", ""); return new WKTParameter(id, title, WKTGeometryType.Box, defaultValue);