Mercurial > dive4elements > river
comparison flys-artifacts/src/main/java/de/intevation/flys/artifacts/states/AreaCreationState.java @ 2018:3f1a63da2cf4
Prepare ability to paint areas in longitudinal section diagrams, too (next to CrossSection diagrams).
flys-artifacts/trunk@3473 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Felix Wolfsteller <felix.wolfsteller@intevation.de> |
---|---|
date | Tue, 20 Dec 2011 06:37:41 +0000 |
parents | 7f99845e9499 |
children | 3c3693e9c538 |
comparison
equal
deleted
inserted
replaced
2017:e384d78ff78b | 2018:3f1a63da2cf4 |
---|---|
48 Object old | 48 Object old |
49 ) { | 49 ) { |
50 logger.debug("AreaCreationState.compute"); | 50 logger.debug("AreaCreationState.compute"); |
51 | 51 |
52 if (facets != null) { | 52 if (facets != null) { |
53 facets.add(new AreaFacet(0, | 53 AreaArtifact aArt = (AreaArtifact) areaArtifact; |
54 ((AreaArtifact) areaArtifact).getAreaName())); | 54 |
55 facets.add(new AreaFacet(0, aArt.getFacetName(), aArt.getAreaName())); | |
55 } | 56 } |
56 | 57 |
57 // TODO use compute to exploit caching strategies. | 58 // TODO use compute to exploit caching strategies. |
58 | 59 |
59 return null; | 60 return null; |