Example #1
0
 public void onResponseReceived(Request request, Response response) {
   if (200 == response.getStatusCode()) {
     addTreeItems(response);
     if (treeItem.getText().equals(constants.rootItemDescription()))
       treeItem.setState(true, true);
   } else {
     GWT.log("ResourceTree - Couldn't retrieve JSON for request : " + request.toString(), null);
   }
 }
Example #2
0
 public void onError(Request request, Throwable exception) {
   GWT.log("ResourceGrids  - on error for request : " + request.toString(), null);
 }