comparison flys-artifacts/src/main/java/de/intevation/flys/artifacts/WMSDBArtifact.java @ 1876:dd467951335c

Added support for labels in Mapserver layers and options to modify its style. flys-artifacts/trunk@3234 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Fri, 11 Nov 2011 09:43:36 +0000
parents e372934f0c42
children 71139016cd0f
comparison
equal deleted inserted replaced
1875:4fb81eb8b45b 1876:dd467951335c
137 facet.setData(getDataString()); 137 facet.setData(getDataString());
138 facet.setFilter(getFilter()); 138 facet.setFilter(getFilter());
139 facet.setGeometryType(getGeometryType()); 139 facet.setGeometryType(getGeometryType());
140 facet.setConnection(getConnection()); 140 facet.setConnection(getConnection());
141 facet.setConnectionType(getConnectionType()); 141 facet.setConnectionType(getConnectionType());
142 facet.setLabelItem(getLabelItem());
142 143
143 facets.add(facet); 144 facets.add(facet);
144 145
145 return null; 146 return null;
146 } 147 }
214 215
215 protected String getConnectionType() { 216 protected String getConnectionType() {
216 return FLYSUtils.isUsingOracle() ? "oraclespatial" : "postgis"; 217 return FLYSUtils.isUsingOracle() ? "oraclespatial" : "postgis";
217 } 218 }
218 219
220 protected String getLabelItem() {
221 return null;
222 }
223
219 protected abstract String getFacetType(); 224 protected abstract String getFacetType();
220 225
221 protected abstract String getTitle(CallMeta meta); 226 protected abstract String getTitle(CallMeta meta);
222 227
223 protected abstract String getUrl(); 228 protected abstract String getUrl();

http://dive4elements.wald.intevation.org