Package org.rstudio.core.client.events

Examples of org.rstudio.core.client.events.BarrierReleasedHandler


   }
  
   private void reloadWorkbench()
   {
      Barrier barrier = new Barrier();
      barrier.addBarrierReleasedHandler(new BarrierReleasedHandler() {

         @Override
         public void onBarrierReleased(BarrierReleasedEvent event)
         {
            eventBus_.fireEvent(new ReloadEvent());
View Full Code Here


   {
      // use a last chance save barrier since we typically call this very
      // early in the lifetime of the application before client/server
      // sync has occurred
      Barrier barrier = new Barrier();
      barrier.addBarrierReleasedHandler(new BarrierReleasedHandler() {
         @Override
         public void onBarrierReleased(BarrierReleasedEvent event)
         {
            if (switchToProject.length() > 0)
               pApplicationQuit_.get().forceSwitchProject(switchToProject);
View Full Code Here

                                                               msg);

         // Use a barrier and LastChanceSaveEvent to allow source documents
         // and client state to be synchronized before quitting.
         Barrier barrier = new Barrier();
         barrier.addBarrierReleasedHandler(new BarrierReleasedHandler()
         {
            public void onBarrierReleased(BarrierReleasedEvent event)
            {
               // All last chance save operations have completed (or possibly
               // failed). Now do the real quit.
View Full Code Here

TOP

Related Classes of org.rstudio.core.client.events.BarrierReleasedHandler

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.