Package org.rstudio.core.client.widget

Examples of org.rstudio.core.client.widget.ThemedButton$Resources


   interface Binder extends UiBinder<Widget, SizeWarningWidget>
   {}

   public SizeWarningWidget(String subject)
   {
      showDiffButton_ = new ThemedButton("Show Diff");

      initWidget(GWT.<Binder>create(Binder.class).createAndBindUi(this));

      subject_.setInnerText(subject);
   }
View Full Code Here


   public SpellingDialog()
   {
      setText("Check Spelling");

      btnAdd_ = new ThemedButton("Add");
      btnAdd_.setTitle("Add word to user dictionary");
      btnSkip_ = new ThemedButton("Ignore");
      btnIgnoreAll_ = new ThemedButton("Ignore All");
      btnChange_ = new ThemedButton("Change");
      btnChangeAll_ = new ThemedButton("Change All");
      prepareButtons(btnAdd_, btnSkip_, btnIgnoreAll_, btnChange_, btnChangeAll_);

      mainWidget_ = GWT.<Binder>create(Binder.class).createAndBindUi(this);

      buttons_ = new ThemedButton[] {
View Full Code Here

  
   @Override
   protected void addButtons()
   {
      // default button is do not accept
      ThemedButton doNotAcceptButton = new ThemedButton("I Do Not Agree",
                                                        new ClickHandler() {
         public void onClick(ClickEvent event) {
            closeDialog();
            doNotAcceptOperation_.execute();
         }
      });
      addOkButton(doNotAcceptButton);
     
      // accept button
      ThemedButton acceptButton = new ThemedButton("I Agree",
                                                   new ClickHandler() {

         public void onClick(ClickEvent event)
         {
            closeDialog();
View Full Code Here

      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() {
         @Override
         public void onClick(ClickEvent event)
         {
            new BuildToolsRoxygenOptionsDialog(
View Full Code Here

   {
      super(options, previewer);
    
      setText("Copy Plot to Clipboard");
     
      ThemedButton copyButton = new ThemedButton("Copy Plot",
            new ClickHandler() {
         public void onClick(ClickEvent event)
         {
            // do the copy
            performCopy(new Operation() {
View Full Code Here

    
      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));
View Full Code Here

                               
   {
      super(server, display, new ShinyAppsDeploy());
      setText("Publish to ShinyApps");
      setWidth("350px");
      deployButton_ = new ThemedButton("Publish");
      addCancelButton();
      addOkButton(deployButton_);
      sourceDir_ = sourceDir;
      sourceFile_ = sourceFile;
      events_ = events;
View Full Code Here

   {
      super(server, display, new ShinyAppsAccountManager());
      setText("Manage ShinyApps Accounts");
      setWidth("300px");

      connectButton_ = new ThemedButton("Connect...");
      connectButton_.addClickHandler(new ClickHandler()
      {
         @Override
         public void onClick(ClickEvent event)
         {
            onConnect();
         }
      });
      disconnectButton_ = new ThemedButton("Disconnect");
      disconnectButton_.addClickHandler(new ClickHandler()
      {
         @Override
         public void onClick(ClickEvent event)
         {
            onDisconnect();
         }
      });
      disconnectButton_.setEnabled(false);
      doneButton_ = new ThemedButton("Done");
      doneButton_.addClickHandler(new ClickHandler()
      {
         @Override
         public void onClick(ClickEvent event)
         {
View Full Code Here

      HTML createLink = new HTML("<small>Need a ShinyApps account?<br />" +
            "Get started at <a href=\"http://shinyapps.io/\"" +
            "target=\"blank\">http://shinyapps.io</a></small>");
      createLink.setStyleName(contents_.getStyle().spaced());
      addLeftWidget(createLink);
      connectButton_ = new ThemedButton("Connect");
      connectButton_.setEnabled(false);
      connectButton_.addClickHandler(new ClickHandler()
      {
         @Override
         public void onClick(ClickEvent event)
View Full Code Here

         final OperationWithInput<Integer> onSelected)
   {
      warning_ = new ShinyDocumentWarning();
      setWidth("400px");
      setText("Shiny Content");
      addOkButton(new ThemedButton("Yes, Once",
            returnResult(onSelected, RENDER_SHINY_ONCE)));
      addButton(new ThemedButton("Yes, Always",
            returnResult(onSelected, RENDER_SHINY_ALWAYS)));
      addLeftButton(new ThemedButton("No",
            returnResult(onSelected, RENDER_SHINY_NO)));
   }
View Full Code Here

TOP

Related Classes of org.rstudio.core.client.widget.ThemedButton$Resources

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.