Examples of PlayerPage


Examples of com.google.livingstories.client.lsp.views.PlayerPage

          public void onClick(ClickEvent e) {
            // TODO: this isn't great, but it works.
            // The right way to do this would probably be to store all content items in the
            // ClientCache and fire a history change event here to load the page, instead
            // of trying to hack around the history system.
            Page page = new PlayerPage(contributor);
            HistoryManager.newToken(page, HistoryPages.PLAYER, String.valueOf(contributor.getId()));
            LivingStoryControls.goToPage(page);
          }
        });
        container.add(contributorLabel);
View Full Code Here

Examples of com.google.livingstories.client.lsp.views.PlayerPage

  @UiHandler("name") void goToPlayerPage(ClickEvent e) {
    // TODO: this isn't great, but it works.
    // The right way to do this would probably be to store all content items in the
    // ClientCache and fire a history change event here to load the page, instead
    // of trying to hack around the history system.
    Page page = new PlayerPage(contentItem);
    HistoryManager.newToken(page, HistoryPages.PLAYER, String.valueOf(contentItem.getId()));
    LivingStoryControls.goToPage(page);
  }
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.