Examples of PopupChrome


Examples of org.waveprotocol.wave.client.widget.popup.PopupChrome

   */
  public ProfilePopupWidget(Element relative, RelativePopupPositioner positioner) {
    initWidget(BINDER.createAndBindUi(this));

    // Wrap in a popup.
    PopupChrome chrome = PopupChromeFactory.createPopupChrome();
    popup = PopupFactory.createPopup(relative, positioner, chrome, true);
    popup.add(this);
    popup.addPopupEventListener(this);
  }
View Full Code Here

Examples of org.waveprotocol.wave.client.widget.popup.PopupChrome

    StatDialog dialog = new StatDialog();
    dialog.showClientStatistic();
  }

  public StatDialog() {
    PopupChrome chrome = PopupChromeFactory.createPopupChrome();
    popup = PopupFactory.createPopup(
        Document.get().getElementById("app"), new CenterPopupPositioner(), chrome, true);
    htmlPanel = new HTMLPanel("");
    htmlPanel.addDomHandler(new ClickHandler(){
View Full Code Here

Examples of org.waveprotocol.wave.client.widget.popup.PopupChrome

  private static final String DEFAULT_LOCALE = "default";

  /** Creates a popup that warns about network disconnects. */
  private static UniversalPopup createTurbulencePopup() {
    PopupChrome chrome = PopupChromeFactory.createPopupChrome();
    UniversalPopup popup =
        PopupFactory.createPopup(null, new CenterPopupPositioner(), chrome, true);
    popup.add(new HTML("<div style='color: red; padding: 5px; text-align: center;'>"
        + "<b>" + messages.turbulenceDetected() + "<br></br> "
        + messages.saveAndReloadWave() + "</b></div>"));
View Full Code Here

Examples of org.waveprotocol.wave.client.widget.popup.PopupChrome

        }
      }
    });

    // Wrap in a popup.
    PopupChrome chrome = PopupChromeFactory.createPopupChrome();
    popup = PopupFactory.createPopup(null, new CenterPopupPositioner(), chrome, true);
    popup.add(this);
    popup.addPopupEventListener(this);
  }
View Full Code Here

Examples of org.waveprotocol.wave.client.widget.popup.PopupChrome

  /**
   * Shows in a popup, and returns the popup.
   */
  public UniversalPopup showInPopup() {
    PopupChrome chrome = PopupChromeFactory.createPopupChrome();
    UniversalPopup popup = PopupFactory.createPopup(
        null, new CenterPopupPositioner(), chrome, true);

    TitleBar titleBar = popup.getTitleBar();
    titleBar.setTitleText(messages.selectGadget());
View Full Code Here

Examples of org.waveprotocol.wave.client.widget.popup.PopupChrome

   * @param allowNone the allow none
   */
  public ColorPopup(Element relative, boolean allowNone) {
    colorPicker = ComplexColorPicker.getInstance();
    colorPicker.setAllowNone(allowNone);
    PopupChrome chrome = PopupChromeFactory.createPopupChrome();
    popup = PopupFactory.createPopup(relative, AlignedPopupPositioner.ABOVE_RIGHT, chrome, true);
    popup.add(colorPicker);
  }
View Full Code Here

Examples of org.waveprotocol.wave.client.widget.popup.PopupChrome

   * Creates link info popup.
   */
  public BlipLinkPopupWidget(Element relative) {
    initWidget(BINDER.createAndBindUi(this));
    // Wrap in a popup.
    PopupChrome chrome = PopupChromeFactory.createPopupChrome();
    popup = PopupFactory.createPopup(relative, AlignedPopupPositioner.ABOVE_RIGHT, chrome, true);
    popup.add(this);
    popup.addPopupEventListener(this);
  }
View Full Code Here

Examples of org.waveprotocol.wave.client.widget.popup.PopupChrome

   * @param user the logged in user. The popup does not show it but makes sure it is
   *             in the participant set returned
   */
  public UniversalPopup showInPopup(ParticipantId user, Set<ParticipantId> participants,
      ProfileManager profiles) {
    PopupChrome chrome = PopupChromeFactory.createPopupChrome();
    UniversalPopup popup = PopupFactory.createPopup(
        null, new CenterPopupPositioner(), chrome, true);

    TitleBar titleBar = popup.getTitleBar();
    titleBar.setTitleText("Select participants");
View Full Code Here

Examples of org.waveprotocol.wave.client.widget.popup.PopupChrome

   * Creates an upload popup.
   */
  public UploadFormPopup() {
    form = BINDER.createAndBindUi(this);

    PopupChrome chrome = PopupChromeFactory.createPopupChrome();
    chrome.enableTitleBar();
    popup = PopupFactory.createPopup(null, new CenterPopupPositioner(), chrome, false);
    popup.getTitleBar().setTitleText("Upload attachment");
    popup.add(form);

    iframe = Document.get().createIFrameElement();
View Full Code Here

Examples of org.waveprotocol.wave.client.widget.popup.PopupChrome

   */
  public ProfilePopupWidget(Element relative, RelativePopupPositioner positioner) {
    initWidget(BINDER.createAndBindUi(this));

    // Wrap in a popup.
    PopupChrome chrome = PopupChromeFactory.createPopupChrome();
    popup = PopupFactory.createPopup(relative, positioner, chrome, true);
    popup.add(this);
    popup.addPopupEventListener(this);
  }
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.