comparison flys-artifacts/src/main/java/de/intevation/flys/artifacts/states/StaticWQKmsState.java @ 5799:5a2c7d24fd29

StaticWQKmsState: Also spawn RelativePoint and CrossSectionFacet .
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Wed, 24 Apr 2013 08:22:31 +0200
parents d626ae185305
children
comparison
equal deleted inserted replaced
5798:febeb4bb10a5 5799:5a2c7d24fd29
10 import de.intevation.artifactdatabase.state.Facet; 10 import de.intevation.artifactdatabase.state.Facet;
11 11
12 import de.intevation.flys.artifacts.FLYSArtifact; 12 import de.intevation.flys.artifacts.FLYSArtifact;
13 import de.intevation.flys.artifacts.StaticWQKmsArtifact; 13 import de.intevation.flys.artifacts.StaticWQKmsArtifact;
14 14
15 import de.intevation.flys.artifacts.model.CrossSectionWaterLineFacet;
15 import de.intevation.flys.artifacts.model.FacetTypes; 16 import de.intevation.flys.artifacts.model.FacetTypes;
17 import de.intevation.flys.artifacts.model.RelativePointFacet;
16 import de.intevation.flys.artifacts.model.WQKms; 18 import de.intevation.flys.artifacts.model.WQKms;
17 import de.intevation.flys.artifacts.model.WQKmsFacet; 19 import de.intevation.flys.artifacts.model.WQKmsFacet;
18 20
19 /** 21 /**
20 * Only state of WQKmsArtifact. 22 * Only state of WQKmsArtifact.
80 metaLocale, 82 metaLocale,
81 wkmsName, 83 wkmsName,
82 wkmsName)*/); 84 wkmsName)*/);
83 facets.add(qfacet); 85 facets.add(qfacet);
84 86
87 Facet rpFacet = new RelativePointFacet(wkmsName);
88 facets.add(rpFacet);
89
85 wkmsName = "W (" + wkmsName + ")"; 90 wkmsName = "W (" + wkmsName + ")";
91
92 Facet csFacet = new CrossSectionWaterLineFacet(0,
93 wkmsName);
94 facets.add(csFacet);
86 95
87 Facet wfacet = new WQKmsFacet( 96 Facet wfacet = new WQKmsFacet(
88 STATIC_WQKMS_W, 97 STATIC_WQKMS_W,
89 wkmsName 98 wkmsName
90 /* 99 /*

http://dive4elements.wald.intevation.org