531532533534535536537538539540541
barrier.addBarrierReleasedHandler(new BarrierReleasedHandler() { @Override public void onBarrierReleased(BarrierReleasedEvent event) { eventBus_.fireEvent(new ReloadEvent()); } }); Token token = barrier.acquire(); try
155156157158159160161162163164165
new VoidServerRequestCallback(indicator) { @Override protected void onSuccess() { if (!Desktop.isDesktop()) eventBus_.fireEvent(new ReloadEvent()); } @Override protected void onFailure() { setPendinqQuit(DesktopFrame.PENDING_QUIT_NONE);
182183184185186187188
ProgressIndicator progressIndicator, boolean reload); protected void reload() { RStudioGinjector.INSTANCE.getEventBus().fireEvent(new ReloadEvent()); }