Package org.rstudio.studio.client.workbench.exportplot

Examples of org.rstudio.studio.client.workbench.exportplot.ExportPlotResources


   {
      super(options, previewer);
    
      setText("Copy Plot to Clipboard");
     
      ExportPlotResources resources = ExportPlotResources.INSTANCE;
     
      ThemedButton closeButton = new ThemedButton("Close",
            new ClickHandler() {
         public void onClick(ClickEvent event)
         {
            // save options
            onClose.execute(getCurrentOptions(options));
           
            // close dialog
            closeDialog();
         }
      });
      addCancelButton(closeButton);
     
    
      HorizontalPanel infoPanel = new HorizontalPanel();
     
      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

TOP

Related Classes of org.rstudio.studio.client.workbench.exportplot.ExportPlotResources

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.