comparison flys-client/src/main/java/de/intevation/flys/client/client/ui/DatacageTwinPanel.java @ 1442:4a6814be92ba

Cosmetics, doc. flys-client/trunk@3438 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Fri, 16 Dec 2011 13:26:19 +0000
parents bc06a671ef60
children 0b79630e3bcb
comparison
equal deleted inserted replaced
1441:0271f6747f80 1442:4a6814be92ba
57 protected User user; 57 protected User user;
58 58
59 /** ListGrid that displays user-selected pairs to build differences with. */ 59 /** ListGrid that displays user-selected pairs to build differences with. */
60 protected ListGrid differencesList; 60 protected ListGrid differencesList;
61 61
62 /* 62 /**
63 * List to track previously selected but now removed pairs. (Needed to 63 * List to track previously selected but now removed pairs. (Needed to
64 * be able to identify artifacts that can be removed from the collection. 64 * be able to identify artifacts that can be removed from the collection.
65 */ 65 */
66 protected List<RecommendationPairRecord> removedPairs = 66 protected List<RecommendationPairRecord> removedPairs =
67 new ArrayList<RecommendationPairRecord>(); 67 new ArrayList<RecommendationPairRecord>();
300 if (!r.isAlreadyLoaded()) { 300 if (!r.isAlreadyLoaded()) {
301 // Check whether one of those is a dike or similar. 301 // Check whether one of those is a dike or similar.
302 // TODO differentiate and merge: new clones, new, old. 302 // TODO differentiate and merge: new clones, new, old.
303 Recommendation firstR = r.getFirst(); 303 Recommendation firstR = r.getFirst();
304 if(firstR.getIDs() != null) { 304 if(firstR.getIDs() != null) {
305 GWT.log("First IDs: " + firstR.getIDs() + " factory: " + firstR.getFactory()); 305 GWT.log("First IDs: " + firstR.getIDs() + " factory: "
306 + firstR.getFactory());
306 } 307 }
307 if(firstR.getIDs() != null) { 308 if(firstR.getIDs() != null) {
308 // These do not get cloned but loaded ("spawned"). 309 // These do not get cloned but loaded ("spawned").
309 firstR.setFactory("staticwkms"); 310 firstR.setFactory("staticwkms");
310 } 311 }
311 else { 312 else {
312 firstR.setFactory("waterlevel"); 313 firstR.setFactory("waterlevel");
313 } 314 }
314 Recommendation secondR = r.getSecond(); 315 Recommendation secondR = r.getSecond();
315 if(secondR.getIDs() != null) { 316 if(secondR.getIDs() != null) {
316 GWT.log("Second IDs: " + secondR.getIDs() + " factory: " + secondR.getFactory()); 317 GWT.log("Second IDs: " + secondR.getIDs() + " factory: "
318 + secondR.getFactory());
317 } 319 }
318 if (secondR.getIDs() != null) { 320 if (secondR.getIDs() != null) {
319 // These do not get cloned but loaded ("spawned"). 321 // These do not get cloned but loaded ("spawned").
320 secondR.setFactory("staticwkms"); 322 secondR.setFactory("staticwkms");
321 } 323 }

http://dive4elements.wald.intevation.org