Mercurial > dive4elements > river
diff artifacts/src/main/java/org/dive4elements/river/exports/ChartGenerator.java @ 5867:59ff03ff48f1
River artifacts: Renamed FLYSArtifact(Collection) to D4EArtifact(Collection).
author | Sascha L. Teichmann <teichmann@intevation.de> |
---|---|
date | Sun, 28 Apr 2013 15:23:01 +0200 |
parents | 73da40528cf2 |
children | af13ceeba52a |
line wrap: on
line diff
--- a/artifacts/src/main/java/org/dive4elements/river/exports/ChartGenerator.java Sun Apr 28 15:14:30 2013 +0200 +++ b/artifacts/src/main/java/org/dive4elements/river/exports/ChartGenerator.java Sun Apr 28 15:23:01 2013 +0200 @@ -17,9 +17,9 @@ import org.dive4elements.artifacts.PreferredLocale; import org.dive4elements.artifacts.common.utils.XMLUtils; import org.dive4elements.river.artifacts.access.RangeAccess; -import org.dive4elements.river.artifacts.FLYSArtifact; +import org.dive4elements.river.artifacts.D4EArtifact; import org.dive4elements.river.artifacts.resources.Resources; -import org.dive4elements.river.collections.FLYSArtifactCollection; +import org.dive4elements.river.collections.D4EArtifactCollection; import org.dive4elements.river.jfree.Bounds; import org.dive4elements.river.jfree.CollisionFreeXYTextAnnotation; import org.dive4elements.river.jfree.DoubleBounds; @@ -123,7 +123,7 @@ /** The CallContext object.*/ protected CallContext context; - protected FLYSArtifactCollection collection; + protected D4EArtifactCollection collection; /** The artifact that is used to decorate the chart with meta information.*/ protected Artifact master; @@ -719,7 +719,7 @@ /** Sets the collection. */ @Override - public void setCollection(FLYSArtifactCollection collection) { + public void setCollection(D4EArtifactCollection collection) { this.collection = collection; } @@ -1422,7 +1422,7 @@ protected String getRiverName() { - FLYSArtifact flys = (FLYSArtifact) master; + D4EArtifact flys = (D4EArtifact) master; River river = RiverUtils.getRiver(flys); return (river != null) ? river.getName() : ""; @@ -1430,7 +1430,7 @@ protected double[] getRange() { - FLYSArtifact flys = (FLYSArtifact) master; + D4EArtifact flys = (D4EArtifact) master; RangeAccess rangeAccess = new RangeAccess(flys, null); return rangeAccess.getKmRange();