public interface CVetoClosingListener
CDockable or a set of CDockables are closed. Subclasses
can fire a veto indicating that some CDockable must not yet be closed.closing(CVetoClosingEvent) is called before closed(CVetoClosingEvent)closing(CVetoClosingEvent) and closed(CVetoClosingEvent) may not be equal, even if they describe the same eventclosing(CVetoClosingEvent) was called once and handled three dockables, then closed(CVetoClosingEvent) may be called three times to handle one dockableMultipleCDockables that are not children of a CWorkingArea are closed and re-opened if the layout changes (CControl.load(String)). This may be
prevented with a correct implementation of MultipleCDockableFactory.match. | Modifier and Type | Method and Description |
|---|---|
void |
closed(CVetoClosingEvent event)
Called after a set of
CDockables has been closed. |
void |
closing(CVetoClosingEvent event)
Called before a set of
CDockables gets closed. |
void closing(CVetoClosingEvent event)
CDockables gets closed. This method may be invoked
with events that are already canceled, check the CVetoClosingEvent.isCanceled()
property.event - the event that will happen but may be canceledvoid closed(CVetoClosingEvent event)
CDockables has been closed. This
method may be called without closing(CVetoClosingEvent) been
called beforehand.event - the event that has already happenedCopyright © 2018. All rights reserved.