Package org.rstudio.studio.client.workbench.views.packages.model

Examples of org.rstudio.studio.client.workbench.views.packages.model.PackageInfo


      view_.setPackageStatus(status);
     
      // also update the list of allPackages_
      for (int i = 0; i<allPackages_.size(); i++)
      {
         PackageInfo packageInfo = allPackages_.get(i);
         if (packageInfo.getName().equals(status.getName()) &&
             packageInfo.getLibrary().equals(status.getLib()))
         {
            allPackages_.set(i, status.isLoaded() ? packageInfo.asLoaded() :
                                                    packageInfo.asUnloaded());
         }
      }
   }
View Full Code Here


     
      // figure out which row of the table includes this package
      int row = -1;
      for (int i=0; i<packages.size(); i++)
      {
         PackageInfo packageInfo = packages.get(i);
         if (packageInfo.getName().equals(packageName) &&
             packageInfo.getLibrary().equals(packageLib))
         {
            row = i ;
            break;
         }
      }
View Full Code Here

  
   private class PackageRowStyles implements RowStyles<PackageInfo>
   {
      public String getStyleNames(PackageInfo row, int rowIndex)
      {
         PackageInfo pkgInfo = row.cast();
         if (pkgInfo.getOutOfSync())
         {
            return dataGridRes_.dataGridStyle().packageOutOfSyncRow();
         }
         return "";
      }
View Full Code Here

TOP

Related Classes of org.rstudio.studio.client.workbench.views.packages.model.PackageInfo

Copyright © 2018 www.massapicom. 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.