Mercurial > dive4elements > river
view flys-artifacts/src/main/java/de/intevation/flys/artifacts/WaterLineArtifact.java @ 4204:9f9843491ac4
Only create the GaugeTree and RiverInfoPanel once
This fixes resizing issues when changing the river. SmartGWT is not able to
recalculate the height and width if a GWT widget is inserted later. Every
attempt to call a recalculation manually did fail.
Fix for flys/issue925 (W-INFO / Pegel-Info-Modul / Zeile Gewässer-INFOS)
author | Björn Ricks <bjoern.ricks@intevation.de> |
---|---|
date | Mon, 22 Oct 2012 15:29:56 +0200 |
parents | 31168ac9c7e7 |
children | 6153c50f78cf |
line wrap: on
line source
package de.intevation.flys.artifacts; import de.intevation.flys.artifacts.geom.Lines; import de.intevation.flys.model.FastCrossSectionLine; /** * Interface, Artifact can create WaterLines (Water against Cross-Profile). */ public interface WaterLineArtifact { /** Get points that define a line of a (water)facet against a cross- * section. */ public Lines.LineData getWaterLines(int facetIdx, FastCrossSectionLine csl, double d, double w); } // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :