Examples of ThemedButton


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

    
      globalDisplay_ = globalDisplay;
      saveOperation_ = saveOperation;
      progressIndicator_ = addProgressIndicator();
     
      ThemedButton saveButton = new ThemedButton("Save",
                                                 new ClickHandler() {
         public void onClick(ClickEvent event)
         {
            attemptSavePlot(false, new Operation() {
               @Override
View Full Code Here

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

      }
      imageFormatListBox_.setSelectedIndex(selectedIndex);
      imageFormatListBox_.setStylePrimaryName(styles.imageFormatListBox());
      grid.setWidget(0, 1, imageFormatListBox_);
          
      ThemedButton directoryButton = new ThemedButton("Directory...");
      directoryButton.setStylePrimaryName(styles.directoryButton());
      directoryButton.getElement().getStyle().setMarginLeft(-2, Unit.PX);
      grid.setWidget(1, 0, directoryButton);
      directoryButton.addClickHandler(new ClickHandler() {
         @Override
         public void onClick(ClickEvent event)
         {
            fileDialogs_.chooseFolder(
               "Choose Directory",
View Full Code Here

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

      PreferencesDialogBaseResources res =
                                   PreferencesDialogBaseResources.INSTANCE;
     
      sectionChooser_ = new SectionChooser();
     
      ThemedButton okButton = new ThemedButton("OK", new ClickHandler() {
         public void onClick(ClickEvent event)
         {
            attemptSaveChanges(new Operation() {
               @Override
               public void execute()
               {
                  closeDialog();
               }
            });       
         }
      });
      addOkButton(okButton);
      addCancelButton();
     
      if (showApplyButton)
      {
         addButton(new ThemedButton("Apply", new ClickHandler()
         {
            public void onClick(ClickEvent event)
            {
               attemptSaveChanges();
            }
View Full Code Here

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

     
      editor_ = new AceEditor();
      editor_.setUseWrapMode(false);
      editor_.setShowLineNumbers(false);
     
      saveButton_ = new ThemedButton("Save", (ClickHandler)null);
      addButton(saveButton_);
      addCancelButton();
      setButtonAlignment(HasHorizontalAlignment.ALIGN_RIGHT);
     
      progressIndicator_ = addProgressIndicator();
View Full Code Here

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

     
      setText(caption);
     
      setButtonAlignment(HasHorizontalAlignment.ALIGN_CENTER);
     
      ThemedButton closeButton = new ThemedButton("Close",
                                                  new ClickHandler() {
         public void onClick(ClickEvent event) {
            closeDialog();
         }
      });
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.