comparison artifacts/src/main/java/org/dive4elements/river/artifacts/model/FlowVelocityFacet.java @ 7894:42076d94977e facet-metadata

Added metadata to facets.
author Raimund Renkert <rrenkert@intevation.de>
date Wed, 21 May 2014 11:43:10 +0200
parents af13ceeba52a
children e4606eae8ea5
comparison
equal deleted inserted replaced
7893:56e7e6c18c26 7894:42076d94977e
38 ComputeType type, 38 ComputeType type,
39 String stateId, 39 String stateId,
40 String hash 40 String hash
41 ) { 41 ) {
42 super(idx, name, description, type, hash, stateId); 42 super(idx, name, description, type, hash, stateId);
43 this.metaData.put("X", "chart.longitudinal.section.xaxis.label");
44 this.metaData.put("Y", "chart.flow_velocity.section.yaxis.label");
43 } 45 }
44 46
45 47
46 public Object getData(Artifact artifact, CallContext context) { 48 public Object getData(Artifact artifact, CallContext context) {
47 logger.debug("Get data for flow velocity at index: " + index); 49 logger.debug("Get data for flow velocity at index: " + index);

http://dive4elements.wald.intevation.org