Examples of VoidServerRequestCallback


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

                        DesktopFrame.PENDING_QUIT_AND_EXIT);
            }
           
            server_.handleUnsavedChangesCompleted(
                                          handled_,
                                          new VoidServerRequestCallback())
         }
View Full Code Here

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

  
   public void writeUIPrefs()
   {
      server_.setUiPrefs(
         session_.getSessionInfo().getUiPrefs(),
         new VoidServerRequestCallback());
   }
View Full Code Here

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

         protected void performAction(boolean shouldSchedulePassive)
         {
            assert !shouldSchedulePassive;
           
            server_.setWorkbenchMetrics(lastWorkbenchMetrics_,
                                        new VoidServerRequestCallback());
         }
      };
   }
View Full Code Here

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

                  indicator.onProgress("Saving File...");
     
                  server_.copyFile(sourceFile,
                                   targetFile,
                                   true,
                                   new VoidServerRequestCallback(indicator));
                 
                  savePreviewDir_ = targetFile.getParentPathString();
                  session_.persistClientState();
               }
         });
View Full Code Here

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

      return isPublished_;
   }

   private void terminateRunningPreview()
   {
      server_.terminatePreviewHTML(new VoidServerRequestCallback());
   }
View Full Code Here

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

                       params.getAnchor());
     
      // if this is a Shiny document, stop the associated process
      if (params.isShinyDocument() && !restarting_)
      {
         server_.terminateRenderRmd(true, new VoidServerRequestCallback());
      }
      shinyDoc_ = null;
   }
View Full Code Here

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

                     // confusing.
                  }
               });
      }

      server_.removeAllBreakpoints(new VoidServerRequestCallback());
      notifyBreakpointsSaved(new ArrayList<Breakpoint>(breakpoints_), false);
      breakpoints_.clear();
      onBreakpointAddOrRemove();
   }
View Full Code Here

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

   private void notifyServer(Breakpoint breakpoint, boolean added, boolean arm)
   {
      ArrayList<Breakpoint> bps = new ArrayList<Breakpoint>();
      bps.add(breakpoint);
      server_.updateBreakpoints(bps, added, arm,
                                new VoidServerRequestCallback());
   }
View Full Code Here

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

   private void setShinyViewerType(int viewerType)
   {
      UIPrefs prefs = pPrefs_.get();
      prefs.shinyViewerType().setGlobalValue(viewerType);
      prefs.writeUIPrefs();
      server_.setShinyViewerType(viewerType, new VoidServerRequestCallback());
   }
View Full Code Here

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

         {
            // if an upload is in progress then terminate it
            if (uploadInProgress_)
            {
               server_.rpubsTerminateUpload(contextId_,
                                            new VoidServerRequestCallback());
              
               if (uploadProgressWindow_ != null)
                  uploadProgressWindow_.close();
            }
         }
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.