Examples of styles()


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

      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

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

         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

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

      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

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

      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

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

      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

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

                                  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

Examples of org.rstudio.studio.client.projects.ui.prefs.ProjectPreferencesDialogResources.styles()

        
      });
     
      chkUseDevtools_ = checkBox(
            "Use devtools package functions if available");
      chkUseDevtools_.addStyleName(RES.styles().buildToolsDevtools());
      add(chkUseDevtools_);
     
      roxygenizePanel_ = new VerticalPanel();
      roxygenizePanel_.addStyleName(RES.styles().buildToolsRoxygenize());
      HorizontalPanel rocletPanel = new HorizontalPanel();
View Full Code Here

Examples of org.rstudio.studio.client.projects.ui.prefs.ProjectPreferencesDialogResources.styles()

            "Use devtools package functions if available");
      chkUseDevtools_.addStyleName(RES.styles().buildToolsDevtools());
      add(chkUseDevtools_);
     
      roxygenizePanel_ = new VerticalPanel();
      roxygenizePanel_.addStyleName(RES.styles().buildToolsRoxygenize());
      HorizontalPanel rocletPanel = new HorizontalPanel();
      chkUseRoxygen_ = checkBox("Generate documentation with Roxygen");
      rocletPanel.add(chkUseRoxygen_);
      btnConfigureRoxygen_ = new ThemedButton("Configure...");
      btnConfigureRoxygen_.addClickHandler(new ClickHandler() {
View Full Code Here

Examples of org.rstudio.studio.client.workbench.exportplot.ExportPlotResources.styles()

      Image rightMouseImage = new Image(resources.rightMouse());
      infoPanel.add(rightMouseImage);
     
      Label label = new Label("Right click on the plot image above to " +
                              "copy to the clipboard.");
      label.setStylePrimaryName(resources.styles().rightClickCopyLabel());
      infoPanel.add(label);
     
      addLeftWidget(infoPanel);

   }
View Full Code Here

Examples of org.rstudio.studio.client.workbench.views.history.view.HistoryPane.Resources.styles()

      searchResult_ = timestampMode == TimestampMode.ITEM;
     
      applyWidthConstraints();

      final Resources res = GWT.create(Resources.class);
      setStyleName(res.styles().historyTable());
      FontSizer.applyNormalFontSize(this);

      if (searchResult_)
      {
         addMouseDownHandler(new MouseDownHandler()
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.