Package org.rstudio.studio.client.application.events

Examples of org.rstudio.studio.client.application.events.EventBus


   // show the satellite window (subclasses shouldn't override this method,
   // rather they should override the abstract onInitialize method)
   public void show(JavaScriptObject params)
   {
      // react to font size changes
      EventBus eventBus = pEventBus_.get();
      eventBus.addHandler(ChangeFontSizeEvent.TYPE, new ChangeFontSizeHandler()
      {
         public void onChangeFontSize(ChangeFontSizeEvent event)
         {
            FontSizer.setNormalFontSize(Document.get(), event.getFontSize());
         }
View Full Code Here


{
   public AutoGlassAttacher(LayoutPanel panel)
   {
      super(panel);

      EventBus eventBus = RStudioGinjector.INSTANCE.getEventBus();
      eventBus.addHandler(GlassVisibilityEvent.TYPE, new GlassVisibilityHandler()
      {
         public void onGlass(GlassVisibilityEvent event)
         {
            setGlass(event.isShow());
         }
View Full Code Here

{
   public AutoGlassPanel(Widget child)
   {
      super(child);

      EventBus eventBus = RStudioGinjector.INSTANCE.getEventBus();
      eventBus.addHandler(GlassVisibilityEvent.TYPE, new GlassVisibilityHandler()
      {
         public void onGlass(GlassVisibilityEvent event)
         {
            setGlass(event.isShow());
         }
View Full Code Here

      JsObject grp = state.peek(group_);
      T obj = doGet(grp, name_);
      valueTracker_ = new ValueChangeTracker<T>(obj);
      onInit(obj);

      EventBus evt = RStudioGinjector.INSTANCE.getEventBus();
      evt.addHandler(SaveClientStateEvent.TYPE, this);
   }
View Full Code Here

TOP

Related Classes of org.rstudio.studio.client.application.events.EventBus

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.