Examples of ShinyAppsDeploymentRecord


Examples of org.rstudio.studio.client.shiny.model.ShinyAppsDeploymentRecord

   private void processDeploymentRecords(
         JsArray<ShinyAppsDeploymentRecord> records)
   {
      for (int i = 0; i < records.length(); i++)
      {
         ShinyAppsDeploymentRecord record = records.get(i);
         deployments_.put(record.getUrl(), record);
      }
   }
View Full Code Here

Examples of org.rstudio.studio.client.shiny.model.ShinyAppsDeploymentRecord

         // ignore this request if there's already a modal up
         if (ModalDialogTracker.numModalsShowing() > 0)
            return;   

         final String dir = FilePathUtils.dirFromFile(event.getPath());
         ShinyAppsDeploymentRecord record = dirState_.getLastDeployment(dir);
         final String lastAccount = record == null ? null : record.getAccount();
         final String lastAppName = record == null ? null : record.getName();
        
         // don't consider this to be a deployment of a specific file unless
         // we're deploying R Markdown content
         String file = "";
         if (event.getPath().toLowerCase().endsWith(".rmd"))
View Full Code Here

Examples of org.rstudio.studio.client.shiny.model.ShinyAppsDeploymentRecord

     
      // If we know the most recent deployment of the directory, act on that
      // deployment by default
      final ArrayList<ShinyAppsDeploymentRecord> recordList =
            new ArrayList<ShinyAppsDeploymentRecord>();
      ShinyAppsDeploymentRecord lastRecord = dirState_.getLastDeployment(dir);
      if (lastRecord != null)
      {
         recordList.add(lastRecord);
      }
      for (int i = 0; i < records.length(); i++)
      {
         ShinyAppsDeploymentRecord record = records.get(i);
         if (lastRecord == null)
         {
            recordList.add(record);
         }
         else
         {
            if (record.getUrl().equals(lastRecord.getUrl()))
               recordList.set(0, record);
         }
      }
     
      // We need to further filter the list by deployments that are
View Full Code Here

Examples of org.rstudio.studio.client.shiny.model.ShinyAppsDeploymentRecord

      if (Desktop.isDesktop())
         Desktop.getFrame().bringMainFrameToFront();
      else
         WindowEx.get().focus();
     
      ShinyAppsDeploymentRecord record = jsoRecord.cast();
      events_.fireEvent(new ShinyAppsDeployInitiatedEvent(
            path, file, launch, record));
   }
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.