comparison flys-artifacts/src/main/java/de/intevation/flys/artifacts/states/SQRelation.java @ 3099:ef0dd585b5e0

Display measurements in SQ relation charts. flys-artifacts/trunk@4698 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Tue, 19 Jun 2012 10:26:26 +0000
parents 4a76da133144
children b31397addf2f
comparison
equal deleted inserted replaced
3098:1d79c85bd8c2 3099:ef0dd585b5e0
76 protected void createFacets( 76 protected void createFacets(
77 List<Facet> container, 77 List<Facet> container,
78 SQResult[] sqr, 78 SQResult[] sqr,
79 String hash 79 String hash
80 ) { 80 ) {
81 String stateId = getID();
82
81 // TODO Create facets for each parameter type (A-F) 83 // TODO Create facets for each parameter type (A-F)
82 container.add(new SQMeasurementFacet(0, SQ_A_MEASUREMENT, "TODO")); 84 container.add(new SQMeasurementFacet(
85 0,
86 SQ_A_MEASUREMENT,
87 "Measurement TODO",
88 hash,
89 stateId
90 ));
91
83 container.add(new SQCurveFacet(0, SQ_A_CURVE, "TODO")); 92 container.add(new SQCurveFacet(0, SQ_A_CURVE, "TODO"));
84 93
85 for (int i = 0, C = sqr[0].getOutliersCount(); i < C; i++) { 94 for (int i = 0, C = sqr[0].getOutliersCount(); i < C; i++) {
86 container.add(new SQOutlierFacet( 95 container.add(new SQOutlierFacet(
87 0, 96 0,
88 i, 97 i,
89 SQ_A_OUTLIER, 98 SQ_A_OUTLIER,
90 "OUTLIER AT" + i, 99 "OUTLIER AT" + i,
91 getID(), 100 hash,
92 hash 101 stateId
93 )); 102 ));
94 } 103 }
95 } 104 }
96 } 105 }
97 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf-8 : 106 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf-8 :

http://dive4elements.wald.intevation.org