Package org.rstudio.core.client.prefs

Examples of org.rstudio.core.client.prefs.PreferencesDialogBaseResources.styles()


   private void addHeader(String caption)
   {
      PreferencesDialogBaseResources baseRes =
                              PreferencesDialogBaseResources.INSTANCE;
      Label pdfCompilationLabel = new Label(caption);
      pdfCompilationLabel.addStyleName(baseRes.styles().headerLabel());
      nudgeRight(pdfCompilationLabel);
      add(pdfCompilationLabel);
   }
  
   private class RootDocumentChooser extends TextBoxWithButton
View Full Code Here


      res_ = res;
      globalDisplay_ = globalDisplay;
      PreferencesDialogBaseResources baseRes = PreferencesDialogBaseResources.INSTANCE;

      Label installationLabel = new Label("Package management");
      installationLabel.addStyleName(baseRes.styles().headerLabel());
      nudgeRight(installationLabel);
      add(installationLabel);
     
      cranMirrorTextBox_ = new TextBoxWithButton(
            "CRAN mirror:",
View Full Code Here

         spaced(chkEnablePackages);
         chkEnablePackages.getElement().getStyle().setMarginBottom(12, Unit.PX);
      }
     
      Label developmentLabel = new Label("Package development");
      developmentLabel.addStyleName(baseRes.styles().headerLabel());
      nudgeRight(developmentLabel);
      add(developmentLabel);
     
      useDevtools_ = new CheckBox("Use devtools package functions if available");
      lessSpaced(useDevtools_);
View Full Code Here

      res_ = res;
      PreferencesDialogBaseResources baseRes = PreferencesDialogBaseResources.INSTANCE;

      Label programDefaultsLabel = new Label(
                           "Program defaults (when not in a project)");
      programDefaultsLabel.addStyleName(baseRes.styles().headerLabel());
      nudgeRight(programDefaultsLabel);
      add(programDefaultsLabel);
           
      defaultSweaveEngine_ = new RnwWeaveSelectWidget();
      defaultSweaveEngine_.setValue(
View Full Code Here

      Label perProjectLabel = new Label(
            "NOTE: The Rnw weave and LaTeX compilation options are also set on a " +
            "per-project (and optionally per-file) basis. Click the help " +
            "icons above for more details.");
          
      perProjectLabel.addStyleName(baseRes.styles().infoLabel());
      nudgeRight(perProjectLabel);
      spaced(perProjectLabel);
      add(perProjectLabel);
      
      Label compilationOptionsLabel = new Label("LaTeX editing and compilation");
View Full Code Here

      nudgeRight(perProjectLabel);
      spaced(perProjectLabel);
      add(perProjectLabel);
      
      Label compilationOptionsLabel = new Label("LaTeX editing and compilation");
      compilationOptionsLabel.addStyleName(baseRes.styles().headerLabel());
      nudgeRight(compilationOptionsLabel);
      add(compilationOptionsLabel);
      chkCleanTexi2DviOutput_ = new CheckBox(
                                     "Clean auxiliary output after compile");
      spaced(chkCleanTexi2DviOutput_);
View Full Code Here

                                  prefs_.insertNumberedLatexSections());
      spaced(chkNumberedSections);
      add(chkNumberedSections);
           
      Label previwingOptionsLabel = new Label("PDF preview");
      previwingOptionsLabel.addStyleName(baseRes.styles().headerLabel());
      previwingOptionsLabel.getElement().getStyle().setMarginTop(8, Unit.PX);
      nudgeRight(previwingOptionsLabel);
      add(previwingOptionsLabel);
    
      pdfPreview_ = new PdfPreviewSelectWidget();
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.