Class CmsPopup.HistoryHandler

java.lang.Object
org.opencms.gwt.client.ui.CmsPopup.HistoryHandler
All Implemented Interfaces:
com.google.gwt.event.logical.shared.ValueChangeHandler<String>, com.google.gwt.event.shared.EventHandler
Enclosing class:
CmsPopup

public static class CmsPopup.HistoryHandler extends Object implements com.google.gwt.event.logical.shared.ValueChangeHandler<String>
Handles fragment changes by closing the active popups.

Only used for GWT dialogs opened from Vaadin.

  • Constructor Details

  • Method Details

    • addPopup

      public void addPopup(CmsPopup popup)
      Adds a popup to the list of active popups.

      Parameters:
      popup - the popup
    • onValueChange

      public void onValueChange(com.google.gwt.event.logical.shared.ValueChangeEvent<String> event)
      Specified by:
      onValueChange in interface com.google.gwt.event.logical.shared.ValueChangeHandler<String>
      See Also:
      • ValueChangeHandler.onValueChange(com.google.gwt.event.logical.shared.ValueChangeEvent)
    • removePopup

      public void removePopup(CmsPopup popup)
      Removes a popup from the list of active popups.

      Parameters:
      popup - the popup to remove