[REVIEW REQUEST] RT-24088 Add API to JavaFX to allow vetoing the closing of a Tab in a TabPane
lehmann at media-interactive.de
Thu Dec 6 03:32:23 PST 2012
Would it also be possible to have a simple onClosing event and require a
handler to Event.consume() it? Maybe slightly less obvious than an
explicit "*veto*" but more flexible/resuable, too (as a general pattern
in similar situations).
On 06.12.2012 07:08, Tom Eugelink wrote:
> Just a remark to see if we can make this more reusable; would it be
> an idea to actually veto the close action? Like veto the removal of a
> tab from a list? In that way veto-ing would be available to other
> usages of such lists as well, a uniform API.
More information about the openjfx-dev