How do i cancel the close event from a com.smartgwt.client.widgets.Window ? I need the user confirmation to close the window, i saw that the class com.smartgwt.client.widgets.tab.events.TabCloseClickEvent have a cancel method that stops the action, i need the same for the com.smartgwt.client.widgets.events.CloseClickHandler. How do i implement this feature?
public HandlerRegistration addCloseClickHandler(CloseClickHandler handler)
Handles a click on the close button of this window. The default implementation hides the window and returns false to cancel bubbling. Override this method if you want other actions to be taken.