Examples of GlobalDisplay


Examples of org.rstudio.studio.client.common.GlobalDisplay

      title_ = title;
      progressPaddingMs_ = progressPaddingMs;
     
      if (progressMessage != null)
      {
         GlobalDisplay globalDisplay =
               RStudioGinjector.INSTANCE.getGlobalDisplay();
         dismissProgress_ = globalDisplay.showProgress(progressMessage);
      }
   }
View Full Code Here

Examples of org.rstudio.studio.client.common.GlobalDisplay

      helpImage.addClickHandler(new ClickHandler() {

         @Override
         public void onClick(ClickEvent event)
         {
            GlobalDisplay globalDisplay =
                                 RStudioGinjector.INSTANCE.getGlobalDisplay();
            globalDisplay.openRStudioLink(rstudioLinkName, includeVersionInfo);
         }
      });
     
     
      initWidget(helpImage);
View Full Code Here

Examples of org.rstudio.studio.client.common.GlobalDisplay

      {
         return true;
      }
      else
      {
         GlobalDisplay display = RStudioGinjector.INSTANCE.getGlobalDisplay();
        
         if (!getPassphrase().equals(getConfirmPassphrase()))
         {
            display.showErrorMessage(
                  "Non-Matching Passphrases",
                  "The passphrase and passphrase confirmation do not match.",
                  txtConfirmPassphrase_);
         }
         
View Full Code Here

Examples of org.rstudio.studio.client.common.GlobalDisplay

         {
            Scheduler.get().scheduleDeferred(new ScheduledCommand()
            {
               public void execute()
               {
                  final GlobalDisplay globalDisplay = RStudioGinjector.INSTANCE
                        .getGlobalDisplay();

                  buttonSpec.progressOperation.execute(new ProgressIndicator()
                  {
                     public void onProgress(String message)
                     {
                        if (dismissProgress_ != null)
                           dismissProgress_.execute();
                        dismissProgress_ = globalDisplay.showProgress(message);
                     }
                    
                     public void clearProgress()
                     {
                        if (dismissProgress_ != null)
                           dismissProgress_.execute();
                     }

                     public void onCompleted()
                     {
                        if (dismissProgress_ != null)
                           dismissProgress_.execute();
                     }

                     public void onError(String message)
                     {
                        if (dismissProgress_ != null)
                           dismissProgress_.execute();

                        globalDisplay.showErrorMessage("Error", message);
                     }
                  });
               }
            });
         }
View Full Code Here

Examples of org.rstudio.studio.client.common.GlobalDisplay

         String thisParent =
                      FileSystemItem.createFile(path).getParentPathString();
        
         if (!parentPath.equals(thisParent))
         {
            GlobalDisplay gDisp = RStudioGinjector.INSTANCE.getGlobalDisplay();
            gDisp.showMessage(
                  MessageDialog.ERROR,
                  "Error: Multiple Directories",
                  "The selected files are not all within the same directory " +
                  "(you can only ignore multiple files in one operation if " +
                  "they are located within the same directory).");
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.