register Handler to PresenterWidget's onHide

27 views
Skip to first unread message

Danilo Reinert

unread,
Jun 11, 2013, 5:47:09 PM6/11/13
to gwt-pl...@googlegroups.com
I need to send a callback to a PresenterWidget bound to a PopupView to be executed when the popup hides.

I was searching for some feature that allowed me to register some "HideHandler" to the PresenterWidget, but I guess there isn't one.

Wouldn't be a nice feature to have some "PopupPresenterWidget" implementing some "HasHideHandlers" ?

Anyway, how should I approach this problem?

--
D. Reinert

Christian Goudreau

unread,
Jul 4, 2013, 11:56:27 AM7/4/13
to gwt-pl...@googlegroups.com
There's a method called onHide in every presenter where you could unregister your event. Otherwise, this should do the work in GWTP 1.0:


--
You received this message because you are subscribed to the Google Groups "GWTP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gwt-platform...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 



--
Christian Goudreau
Reply all
Reply to author
Forward
0 new messages