Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/artifacts/model/FlowVelocityFilterFacet.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 | a56fe3bc6700 |
children | e4606eae8ea5 |
comparison
equal
deleted
inserted
replaced
7893:56e7e6c18c26 | 7894:42076d94977e |
---|---|
42 ComputeType type, | 42 ComputeType type, |
43 String stateId, | 43 String stateId, |
44 String hash | 44 String hash |
45 ) { | 45 ) { |
46 super(idx, name, description, type, hash, stateId); | 46 super(idx, name, description, type, hash, stateId); |
47 this.metaData.put("X", "chart.longitudinal.section.xaxis.label"); | |
48 this.metaData.put("Y", "chart.flow_velocity.section.yaxis.label"); | |
47 } | 49 } |
48 | 50 |
49 | 51 |
50 public Object getData(Artifact artifact, CallContext context) { | 52 public Object getData(Artifact artifact, CallContext context) { |
51 logger.debug("Get data for flow velocity at index: " + index); | 53 logger.debug("Get data for flow velocity at index: " + index); |