comparison flys-client/src/main/java/de/intevation/flys/client/client/ui/DatacageWindow.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 51ed89b754ae
comparison
equal deleted inserted replaced
1441:0271f6747f80 1442:4a6814be92ba
37 extends Window 37 extends Window
38 implements DatacageHandler, 38 implements DatacageHandler,
39 DatacageDoubleClickHandler, 39 DatacageDoubleClickHandler,
40 HasRedrawRequestHandlers 40 HasRedrawRequestHandlers
41 { 41 {
42 /** i18ner. */
42 protected FLYSConstants messages = 43 protected FLYSConstants messages =
43 GWT.create(FLYSConstants.class); 44 GWT.create(FLYSConstants.class);
44 45
46 /** Service to create/clone artifacts. */
45 protected LoadArtifactServiceAsync loadService = 47 protected LoadArtifactServiceAsync loadService =
46 GWT.create(LoadArtifactService.class); 48 GWT.create(LoadArtifactService.class);
47 49
48 protected CollectionView view; 50 protected CollectionView view;
49 51
181 factory, 183 factory,
182 locale, 184 locale,
183 new AsyncCallback<Artifact>() { 185 new AsyncCallback<Artifact>() {
184 public void onFailure(Throwable caught) { 186 public void onFailure(Throwable caught) {
185 decreateInProgress(); 187 decreateInProgress();
188 GWT.log("Create-artifact failed: " + caught.getMessage());
186 SC.warn(caught.getMessage()); 189 SC.warn(caught.getMessage());
187 } 190 }
188 191
189 public void onSuccess(Artifact artifact) { 192 public void onSuccess(Artifact artifact) {
190 decreateInProgress(); 193 decreateInProgress();

http://dive4elements.wald.intevation.org