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<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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Adds a popup to the list of active popups.void
onValueChange
(com.google.gwt.event.logical.shared.ValueChangeEvent<String> event) void
removePopup
(CmsPopup popup) Removes a popup from the list of active popups.
-
Constructor Details
-
HistoryHandler
public HistoryHandler()
-
-
Method Details
-
addPopup
Adds a popup to the list of active popups.- Parameters:
popup
- the popup
-
removePopup
Removes a popup from the list of active popups.- Parameters:
popup
- the popup to remove
-