public void callback(DataSet result) { try { dataSet = result; afterLoad(); afterDataSetLookup(result); createVisualization(); getView().showVisualization(); // Set the id of the container panel so that the displayer can be easily located // by testing tools for instance. String id = getDisplayerId(); if (!StringUtils.isBlank(id)) { getView().setId(id); } // Draw done afterDraw(); } catch (Exception e) { // Give feedback on any initialization error showError(new ClientRuntimeError(e)); } } public void notFound() {
public void callback(DataSet result) { try { dataSet = result; afterLoad(); afterDataSetLookup(result); createVisualization(); getView().showVisualization(); // Set the id of the container panel so that the displayer can be easily located // by testing tools for instance. String id = getDisplayerId(); if (!StringUtils.isBlank(id)) { getView().setId(id); } // Draw done afterDraw(); } catch (Exception e) { // Give feedback on any initialization error showError(new ClientRuntimeError(e)); } } public void notFound() {