Package org.waveprotocol.wave.client.scheduler

Examples of org.waveprotocol.wave.client.scheduler.TimerService


      WavePanelImpl panel = stageOne.getWavePanel();
      FocusFramePresenter focus = stageOne.getFocusFrame();
      ModelAsViewProvider views = stageTwo.getModelAsViewProvider();
      DocumentRegistry<? extends InteractiveDocument> documents = stageTwo.getDocumentRegistry();
      String address = stageTwo.getSignedInUser().getAddress();
      TimerService clock = SchedulerInstance.getLowPriorityTimer();
      String sessionId = stageTwo.getSessionId();

      SelectionExtractor selectionExtractor = new SelectionExtractor(clock, address, sessionId);
      return EditSession.install(views, documents, selectionExtractor, focus, panel);
    }
View Full Code Here


    this.wave = wave;
  }

  public static LocalSupplementedWaveImpl create(
      ObservableWaveView wave, ObservableSupplementedWave delegate) {
    TimerService timer = SchedulerInstance.getLowPriorityTimer();
    LocalSupplementedWaveImpl supplement = new LocalSupplementedWaveImpl(timer, wave, delegate);
    supplement.init();
    return supplement;
  }
View Full Code Here

   * Creates a contacts manager. The manager will start fetching contacts
   * immediately.
   */
  public static ContactsManager create(Rpc rpc) {
    ContactsService service = new RemoteContactsService(rpc);
    TimerService timer = SchedulerInstance.getLowPriorityTimer();
    ContactsManager manager = new ContactsManager(service, timer, new Random());
    manager.fetchNext();
    return manager;
  }
View Full Code Here

      WavePanelImpl panel = stageOne.getWavePanel();
      FocusFramePresenter focus = stageOne.getFocusFrame();
      ModelAsViewProvider views = stageTwo.getModelAsViewProvider();
      DocumentRegistry<? extends InteractiveDocument> documents = stageTwo.getDocumentRegistry();
      String address = stageTwo.getSignedInUser().getAddress();
      TimerService clock = SchedulerInstance.getLowPriorityTimer();
      String sessionId = stageTwo.getSessionId();

      SelectionExtractor selectionExtractor = new SelectionExtractor(clock, address, sessionId);
      return EditSession.install(views, documents, selectionExtractor, focus, panel);
    }
View Full Code Here

    this.wave = wave;
  }

  public static LocalSupplementedWaveImpl create(
      ObservableWaveView wave, ObservableSupplementedWave delegate) {
    TimerService timer = SchedulerInstance.getLowPriorityTimer();
    LocalSupplementedWaveImpl supplement = new LocalSupplementedWaveImpl(timer, wave, delegate);
    supplement.init();
    return supplement;
  }
View Full Code Here

TOP

Related Classes of org.waveprotocol.wave.client.scheduler.TimerService

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.