use of org.rstudio.core.client.widget.ProgressImage in project rstudio by rstudio.
the class RPubsUploadDialog method showProgressPanel.
private void showProgressPanel() {
// disable continue button
continueButton_.setVisible(false);
updateButton_.setVisible(false);
createButton_.setVisible(false);
if (previewButton_ != null)
previewButton_.setVisible(false);
enableOkButton(false);
// add progress
HorizontalPanel progressPanel = new HorizontalPanel();
ProgressImage progressImage = new ProgressImage(CoreResources.INSTANCE.progress_gray());
progressImage.addStyleName(RESOURCES.styles().progressImage());
progressImage.show(true);
progressPanel.add(progressImage);
progressPanel.add(new Label(RPubsUploader.PROGRESS_MESSAGE));
addLeftWidget(progressPanel);
}
Aggregations