Mercurial > dive4elements > river
comparison flys-artifacts/src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java @ 2325:1fcaeced48f2
#485 Fixed broken renaming of chart themes.
flys-artifacts/trunk@4009 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Thu, 09 Feb 2012 15:59:49 +0000 |
parents | 588db6f2e05a |
children | a71fc8f2030c |
comparison
equal
deleted
inserted
replaced
2324:867ebe191799 | 2325:1fcaeced48f2 |
---|---|
460 continue; | 460 continue; |
461 } | 461 } |
462 String uuid = theme.getArtifact(); | 462 String uuid = theme.getArtifact(); |
463 Artifact artifact = getArtifact(uuid, context); | 463 Artifact artifact = getArtifact(uuid, context); |
464 FLYSArtifact flys = (FLYSArtifact) artifact; | 464 FLYSArtifact flys = (FLYSArtifact) artifact; |
465 ArtifactAndFacet artifactAndFacet = new ArtifactAndFacet(artifact, | 465 |
466 ArtifactAndFacet artifactAndFacet = new ArtifactAndFacet( | |
467 artifact, | |
466 flys.getNativeFacet(theme)); | 468 flys.getNativeFacet(theme)); |
469 | |
470 // XXX HELP ME PLEASE | |
471 artifactAndFacet.setFacetDescription(theme.getDescription()); | |
467 | 472 |
468 // Show blackboard to facet. | 473 // Show blackboard to facet. |
469 artifactAndFacet.register(context); | 474 artifactAndFacet.register(context); |
470 | 475 |
471 // Add to themes. | 476 // Add to themes. |