Mercurial > dive4elements > river
comparison flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/MainValuesWFacet.java @ 4235:89083b82b8cd
Doc and cosmetic change for MainValuesWFacet.
author | Felix Wolfsteller <felix.wolfsteller@intevation.de> |
---|---|
date | Wed, 24 Oct 2012 10:43:29 +0200 |
parents | 35a6c9a49a76 |
children | e8a4d2fd25cc |
comparison
equal
deleted
inserted
replaced
4234:e972d8ea8555 | 4235:89083b82b8cd |
---|---|
72 } | 72 } |
73 } | 73 } |
74 | 74 |
75 | 75 |
76 /** | 76 /** |
77 * Returns the data this facet requires. | 77 * Returns the data this facet provides. |
78 * | 78 * |
79 * @param artifact the owner artifact. | 79 * @param artifact the owner artifact. |
80 * @param context the CallContext (ignored). | 80 * @param context the CallContext (ignored). |
81 * | 81 * |
82 * @return the data. | 82 * @return the data. |
83 */ | 83 */ |
84 @Override | 84 @Override |
85 public Object getData(Artifact artifact, CallContext context) { | 85 public Object getData(Artifact artifact, CallContext context) { |
86 MainValuesArtifact mvArtifact = (MainValuesArtifact) artifact; | 86 MainValuesArtifact mvArtifact = (MainValuesArtifact) artifact; |
87 | 87 |
88 List<NamedDouble> ws = mvArtifact.getMainValuesW(isAtGauge); | 88 List<NamedDouble> ws = mvArtifact.getMainValuesW(isAtGauge); |
89 List<StickyAxisAnnotation> xy = new ArrayList<StickyAxisAnnotation>(); | 89 List<StickyAxisAnnotation> xy = new ArrayList<StickyAxisAnnotation>(); |
90 | 90 |
91 // Find whether a duration curve is on the blackboard. | 91 // Find whether a duration curve is on the blackboard. |
92 WQDay wqdays = null; | 92 WQDay wqdays = null; |
93 List<DataProvider> providers = context. | 93 List<DataProvider> providers = context. |