Package org.opencms.gwt.client.ui
Class CmsPopup.HistoryHandler
- java.lang.Object
-
- org.opencms.gwt.client.ui.CmsPopup.HistoryHandler
-
- All Implemented Interfaces:
com.google.gwt.event.logical.shared.ValueChangeHandler<java.lang.String>
,com.google.gwt.event.shared.EventHandler
- Enclosing class:
- CmsPopup
public static class CmsPopup.HistoryHandler extends java.lang.Object implements com.google.gwt.event.logical.shared.ValueChangeHandler<java.lang.String>
Handles fragment changes by closing the active popups.Only used for GWT dialogs opened from Vaadin.
-
-
Constructor Summary
Constructors Constructor Description HistoryHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addPopup(CmsPopup popup)
Adds a popup to the list of active popups.void
onValueChange(com.google.gwt.event.logical.shared.ValueChangeEvent<java.lang.String> event)
void
removePopup(CmsPopup popup)
Removes a popup from the list of active popups.
-
-
-
Constructor Detail
-
HistoryHandler
public HistoryHandler()
-
-
Method Detail
-
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<java.lang.String> event)
- Specified by:
onValueChange
in interfacecom.google.gwt.event.logical.shared.ValueChangeHandler<java.lang.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
-
-