comparison flys-client/src/main/java/de/intevation/flys/client/client/ui/DatacageWindow.java @ 864:c0e13cf826d7

Cosmetics, doc. flys-client/trunk@2671 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Thu, 08 Sep 2011 06:56:17 +0000
parents 9ecd58f619a4
children 7f72239e56c8
comparison
equal deleted inserted replaced
863:9bb8b7a751ec 864:c0e13cf826d7
53 setCanDragResize(true); 53 setCanDragResize(true);
54 54
55 centerInPage(); 55 centerInPage();
56 } 56 }
57 57
58
58 @Override 59 @Override
59 public void toLoad(ToLoad toLoad) { 60 public void toLoad(ToLoad toLoad) {
60 destroy(); 61 destroy();
61 List<Recommendation> recs = toLoad.toRecommendations(); 62 List<Recommendation> recs = toLoad.toRecommendations();
62 view.loadRecommendedArtifacts( 63 view.loadRecommendedArtifacts(
63 recs.toArray(new Recommendation[recs.size()])); 64 recs.toArray(new Recommendation[recs.size()]));
64 } 65 }
65 66
67
66 protected String findRiver(Artifact artifact) { 68 protected String findRiver(Artifact artifact) {
67
68 ArtifactDescription adescr = artifact.getArtifactDescription(); 69 ArtifactDescription adescr = artifact.getArtifactDescription();
69 DataList [] data = adescr.getOldData(); 70 DataList [] data = adescr.getOldData();
70 71
71 if (data != null && data.length > 0) { 72 if (data != null && data.length > 0) {
72 for (int i = 0; i < data.length; i++) { 73 for (int i = 0; i < data.length; i++) {

http://dive4elements.wald.intevation.org