Mercurial > dive4elements > river
changeset 2162:df70f14af981
Fix compilation, use StickyAxisAnnotations in AnnotationFacet.
flys-artifacts/trunk@3748 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Felix Wolfsteller <felix.wolfsteller@intevation.de> |
---|---|
date | Mon, 23 Jan 2012 11:06:06 +0000 |
parents | c68f4f227c09 |
children | 105097966111 |
files | flys-artifacts/ChangeLog flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/AnnotationFacet.java |
diffstat | 2 files changed, 9 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/flys-artifacts/ChangeLog Mon Jan 23 10:44:34 2012 +0000 +++ b/flys-artifacts/ChangeLog Mon Jan 23 11:06:06 2012 +0000 @@ -1,3 +1,10 @@ +2012-01-23 Felix Wolfsteller <felix.wolfsteller@intevation.de> + + Fix compilation. + + * src/main/java/de/intevation/flys/artifacts/model/AnnotationFacet.java: + Use StickyAxisAnnotations instead of XYTextAnnotations. + 2012-01-23 Felix Wolfsteller <felix.wolfsteller@intevation.de> Some unification of Annotation handling.
--- a/flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/AnnotationFacet.java Mon Jan 23 10:44:34 2012 +0000 +++ b/flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/AnnotationFacet.java Mon Jan 23 11:06:06 2012 +0000 @@ -6,8 +6,6 @@ import org.apache.log4j.Logger; -import org.jfree.chart.annotations.XYTextAnnotation; - import de.intevation.artifacts.Artifact; import de.intevation.artifacts.CallContext; @@ -70,8 +68,8 @@ FastAnnotations fas = LocationProvider.getAnnotations(riverName); - List<XYTextAnnotation> xy = - new ArrayList<XYTextAnnotation>(fas.size()); + List<StickyAxisAnnotation> xy = + new ArrayList<StickyAxisAnnotation>(fas.size()); for (Iterator<FastAnnotations.Annotation> iter = fas.filter(FastAnnotations.IS_POINT); iter.hasNext();) {