|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface CVetoClosingListener
This listener can be called before a CDockable or a set of CDockables are closed. Subclasses
can fire a veto indicating that some CDockable must not yet be closed.
Please note:
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.
CControl.addVetoClosingListener(CVetoClosingListener),
CControl.removeVetoClosingListener(CVetoClosingListener),
CDockable.addVetoClosingListener(CVetoClosingListener),
CDockable.removeVetoClosingListener(CVetoClosingListener)| Method Summary | |
|---|---|
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. |
| Method Detail |
|---|
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 happened
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||