comparison flys-client/src/main/java/de/intevation/flys/client/client/ui/chart/ManualPointsEditor.java @ 2905:51ed89b754ae

FLYS client: Removed trailing whitespace. flys-client/trunk@4671 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Fri, 15 Jun 2012 09:35:37 +0000
parents cef4c624c68c
children 60c375173263
comparison
equal deleted inserted replaced
2904:e740c43e6f5b 2905:51ed89b754ae
137 protected void init() { 137 protected void init() {
138 setTitle(MSG.addpoints()); 138 setTitle(MSG.addpoints());
139 setCanDragReposition(true); 139 setCanDragReposition(true);
140 setCanDragResize(true); 140 setCanDragResize(true);
141 141
142 // If no manualpoints artifact found, create it now. 142 // If no manualpoints artifact found, create it now.
143 if(findManualPointsUUID() == null) { 143 if(findManualPointsUUID() == null) {
144 addArtifactCreateUI(); 144 addArtifactCreateUI();
145 } 145 }
146 else { 146 else {
147 createUI(); 147 createUI();
287 listGrid.addRecordClickHandler(new RecordClickHandler() { 287 listGrid.addRecordClickHandler(new RecordClickHandler() {
288 public void onRecordClick(final RecordClickEvent event) { 288 public void onRecordClick(final RecordClickEvent event) {
289 // Just handle remove-clicks 289 // Just handle remove-clicks
290 if(!event.getField().getName().equals(removeField.getName())) { 290 if(!event.getField().getName().equals(removeField.getName())) {
291 return; 291 return;
292 } 292 }
293 event.getViewer().removeData(event.getRecord()); 293 event.getViewer().removeData(event.getRecord());
294 } 294 }
295 }); 295 });
296 296
297 // Find the artifacts uuid. 297 // Find the artifacts uuid.
439 setHeight(470); 439 setHeight(470);
440 centerInPage(); 440 centerInPage();
441 441
442 Config config = Config.getInstance(); 442 Config config = Config.getInstance();
443 String locale = config.getLocale(); 443 String locale = config.getLocale();
444 444
445 loadArtifactService.load( 445 loadArtifactService.load(
446 this.collection, 446 this.collection,
447 new Recommendation("manualpoints", ""), 447 new Recommendation("manualpoints", ""),
448 "manualpoints", 448 "manualpoints",
449 locale, 449 locale,

http://dive4elements.wald.intevation.org