Package org.rstudio.studio.client.projects.model

Examples of org.rstudio.studio.client.projects.model.RProjectConfig


   }

   @Override
   void load(RProjectOptions options)
   {
      RProjectConfig config = options.getConfig();
      pathSelector_.setText(config.getMakefilePath());
     
      txtMakefileArgs_.setText(options.getBuildOptions().getMakefileArgs());
     
   }
View Full Code Here


   }

   @Override
   void save(RProjectOptions options)
   {
      RProjectConfig config = options.getConfig();
      config.setMakefilePath(pathSelector_.getText());
     
      options.getBuildOptions().setMakefileArgs(
                                          txtMakefileArgs_.getText().trim());
   }
View Full Code Here

             public void onResponseReceived(Void response)
             {
                indicator.onCompleted();
               
                // update project ui prefs
                RProjectConfig config = options.getConfig();
                UIPrefs uiPrefs = pUIPrefs_.get();
                uiPrefs.useSpacesForTab().setProjectValue(
                                           config.getUseSpacesForTab());
                uiPrefs.numSpacesForTab().setProjectValue(
                                           config.getNumSpacesForTab());
                uiPrefs.autoAppendNewline().setProjectValue(
                                           config.getAutoAppendNewline());
                uiPrefs.stripTrailingWhitespace().setProjectValue(
                                           config.getStripTrailingWhitespace());
                uiPrefs.defaultEncoding().setProjectValue(
                                           config.getEncoding());
                uiPrefs.defaultSweaveEngine().setProjectValue(
                                           config.getDefaultSweaveEngine());
                uiPrefs.defaultLatexProgram().setProjectValue(
                                           config.getDefaultLatexProgram());
                uiPrefs.rootDocument().setProjectValue(
                                           config.getRootDocument());
                uiPrefs.useRoxygen().setProjectValue(
                                           config.hasPackageRoxygenize());
               
                // convert packrat option changes to console actions
                emitPackratConsoleActions(options.getPackratOptions());
               
                if (onCompleted != null)
View Full Code Here

TOP

Related Classes of org.rstudio.studio.client.projects.model.RProjectConfig

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.