/** * Create the default loading indicator using the loading image in the specified {@link * Resources}. * * @param resources the resources * @return a widget loading indicator */ private static Widget createDefaultLoadingIndicator(final Resources resources) { final ImageResource loadingImg = resources.cellTableLoading(); return (loadingImg == null) ? null : new com.google.gwt.user.client.ui.Image(loadingImg); }