What steps will reproduce the problem?
1. The requirement is that some additional clean-up is to be done before a
modal window is closed. Window.setCloseAction(Window.CloseAction ca) is the
method that has to be used to plug in that behaviour for window closing
through close tool.
2. Typically the solution for above scenario would be to subclass
Window.CloseAction, override String getCloseAction() method and do the
extra activity before say returning Window.CLOSE.getCloseAction(), this is
the intended use of that method.
3. Making the constructor private defeats the whole purpose of the method
and having the nested class defined for this as there is no way we can have
a custom behaviour.
What is the expected output? What do you see instead?
Ideally Window.CloseAction class's constructor should be a protected
Please use labels and text to provide additional information.
Original issue reported on code.google.com by sumanyad...@gmail.com on 12 Aug 2009 at 3:26
Original issue reported on code.google.com by
sumanyad...@gmail.com
on 12 Aug 2009 at 3:26