comparison flys-client/src/main/java/de/intevation/flys/client/client/ui/DatacageWindow.java @ 827:bd56dc762e7f

Datacage: Re-added the outs parameter to the meta data service. flys-client/trunk@2524 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Mon, 22 Aug 2011 14:38:35 +0000
parents 2f65c742803f
children 9101b4d64666
comparison
equal deleted inserted replaced
826:2f65c742803f 827:bd56dc762e7f
60 GWT.create(FLYSConstants.class); 60 GWT.create(FLYSConstants.class);
61 61
62 62
63 protected Artifact artifact; 63 protected Artifact artifact;
64 protected User user; 64 protected User user;
65 protected String outs;
65 66
66 protected TreeGrid treeGrid; 67 protected TreeGrid treeGrid;
67 protected Tree tree; 68 protected Tree tree;
68 69
69 protected Layout layout; 70 protected Layout layout;
70 71
71 protected Map<String, ToLoad> toLoad; 72 protected Map<String, ToLoad> toLoad;
72 73
73 74
74 public DatacageWindow(Artifact artifact, User user) { 75 public DatacageWindow(Artifact artifact, User user) {
76 this(artifact, user, null);
77 }
78
79 public DatacageWindow(Artifact artifact, User user, String outs) {
75 this.artifact = artifact; 80 this.artifact = artifact;
76 this.user = user; 81 this.user = user;
82 this.outs = outs;
77 83
78 setWidth(300); 84 setWidth(300);
79 setHeight(500); 85 setHeight(500);
80 86
81 layout = new VLayout(); 87 layout = new VLayout();
204 210
205 metaDataService.getMetaData( 211 metaDataService.getMetaData(
206 url, locale, 212 url, locale,
207 artifactId, 213 artifactId,
208 userId, 214 userId,
215 outs,
209 new AsyncCallback<DataCageTree>() { 216 new AsyncCallback<DataCageTree>() {
210 public void onFailure(Throwable caught) { 217 public void onFailure(Throwable caught) {
211 GWT.log("Could not load meta data."); 218 GWT.log("Could not load meta data.");
212 SC.warn(caught.getMessage()); 219 SC.warn(caught.getMessage());
213 } 220 }

http://dive4elements.wald.intevation.org