Examples of VoidServerRequestCallback


Examples of org.rstudio.studio.client.server.VoidServerRequestCallback

                 
            }},
            new Operation() { public void execute()
            {
               server_.ignoreNextLoadedPackageCheck(
                                            new VoidServerRequestCallback() {
                  @Override
                  public void onSuccess()
                  {
                     if (haveInstallCmd)
                        executePkgCommand(installCmd);
View Full Code Here

Examples of org.rstudio.studio.client.server.VoidServerRequestCallback

   private void stop()
   {
      if (currentFindHandle_ != null)
      {
         server_.stopFind(currentFindHandle_,
                          new VoidServerRequestCallback());
         currentFindHandle_ = null;
      }
      view_.setStopSearchButtonVisible(false);
   }
View Full Code Here

Examples of org.rstudio.studio.client.server.VoidServerRequestCallback

   public void onViewerRefresh() { display_.refresh(); }
  
   @Handler
   public void onViewerBack()
   { 
      server_.viewerBack(new VoidServerRequestCallback());
   }
View Full Code Here

Examples of org.rstudio.studio.client.server.VoidServerRequestCallback

   }
  
   @Handler
   public void onViewerForward()
   {
      server_.viewerForward(new VoidServerRequestCallback());
   }
View Full Code Here

Examples of org.rstudio.studio.client.server.VoidServerRequestCallback

                        indicator.onProgress("Saving as web page...");

                        server_.viewerSaveAsWebPage(
                              targetFile.getPath(),
                              new VoidServerRequestCallback(indicator) {
                                 @Override
                                 public void onSuccess()
                                 {
                                    saveAsWebPageDefaultPath_ =
                                          targetFile.getParentPath();
View Full Code Here

Examples of org.rstudio.studio.client.server.VoidServerRequestCallback

     
      manageCommands(false);
      navigate(ViewerPane.ABOUT_BLANK);
      if (interruptR)
         commands_.interruptR().execute();
      server_.viewerStopped(new VoidServerRequestCallback());
     
      // If we were viewing a Shiny application, let the rest of the app know
      // that the application has been stopped
      if (runningShinyAppParams_ != null)
      {
         runningShinyAppParams_.setState(ShinyApplicationParams.STATE_STOPPED);
         events_.fireEvent(new ShinyApplicationStatusEvent(
               runningShinyAppParams_));
      }
      runningShinyAppParams_ = null;
     
      events_.fireEvent(new ViewerClearedEvent());
     
      // if this was a static widget then clear the current widget
      if (clearAll)
         server_.viewerClearAll(new VoidServerRequestCallback(indicator));
      else if (wasStaticWidget)
         server_.viewerClearCurrent(new VoidServerRequestCallback(indicator));
     
      // otherwise restore the last static widget
      else
         server_.viewerCurrent(new VoidServerRequestCallback());
   }
View Full Code Here

Examples of org.rstudio.studio.client.server.VoidServerRequestCallback

                                                            targetFilePath);

            server_.copyFile(sourceFile,
                             targetFile,
                             false,
                             new VoidServerRequestCallback(progress) {
                                 @Override
                                 protected void onSuccess()
                                 {
                                    // copy the next file in the queue
                                    copyNextFile(filesQueue,
View Full Code Here

Examples of org.rstudio.studio.client.server.VoidServerRequestCallback

                  for (int i = 0; i<selectedRowIndexes.size(); i++)
                     bottomIndexes.push(rowCount - selectedRowIndexes.get(i) - 1);
                 
                  server_.removeHistoryItems(
                                    bottomIndexes,
                                    new VoidServerRequestCallback(indicator));
               }
            },
           
            true
         );
View Full Code Here

Examples of org.rstudio.studio.client.server.VoidServerRequestCallback

         new ProgressOperation() {
            public void execute(final ProgressIndicator indicator)
            {
               indicator.onProgress("Clearing history...");
               server_.clearHistory(
                     new VoidServerRequestCallback(indicator));
            }
         },
        
         true
      );
View Full Code Here

Examples of org.rstudio.studio.client.server.VoidServerRequestCallback

      {
         @Override
         public void onClose(CloseEvent<PopupPanel> popupPanelCloseEvent)
         {
            if (consoleProcess_ != null)
               consoleProcess_.reap(new VoidServerRequestCallback());
         }
      });

      if (exitCode != null)
         setExitCode(exitCode);
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.