@Inject public PleaseWaitDialog(final MessagesResource messages, final CellTable.Resources resources) { assert messages != null; assert resources != null; setText(messages.title()); // These are way too distracting setAnimationEnabled(false); setGlassEnabled(false); DomHelper.onTop(getElement()); FlowPanel panel = new FlowPanel(); setWidget(panel); // Re-use the CellTable's loading image Image image = new Image(resources.cellTableLoading()); panel.add(image); }
@Inject public PleaseWaitDialog(final MessagesResource messages, final CellTable.Resources resources) { assert messages != null; assert resources != null; setText(messages.title()); // These are way too distracting setAnimationEnabled(false); setGlassEnabled(false); DomHelper.onTop(getElement()); FlowPanel panel = new FlowPanel(); setWidget(panel); // Re-use the CellTable's loading image Image image = new Image(resources.cellTableLoading()); panel.add(image); }
@Override public ImageResource cellTableLoading() { return real.cellTableLoading(); }
/** * 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(Resources resources) { ImageResource loadingImg = resources.cellTableLoading(); return (loadingImg == null) ? null : new Image(loadingImg); }
/** * 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(Resources resources) { ImageResource loadingImg = resources.cellTableLoading(); return (loadingImg == null) ? null : new Image(loadingImg); }
@Override public ImageResource cellTableLoading() { return real.cellTableLoading(); }
@Override public ImageResource cellTableLoading() { return resources.cellTableLoading(); }
@Override public ImageResource cellTableLoading() { return resources.cellTableLoading(); }
/** * 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(Resources resources) { ImageResource loadingImg = resources.cellTableLoading(); return (loadingImg == null) ? null : new Image(loadingImg); }