|
@@ -328,8 +328,6 @@ public abstract class FrameContainer {
|
328
|
328
|
for (FrameCloseListener listener : listeners.get(FrameCloseListener.class)) {
|
329
|
329
|
listener.windowClosing(this);
|
330
|
330
|
}
|
331
|
|
-
|
332
|
|
- windowClosing();
|
333
|
331
|
}
|
334
|
332
|
|
335
|
333
|
/**
|
|
@@ -397,41 +395,6 @@ public abstract class FrameContainer {
|
397
|
395
|
}
|
398
|
396
|
}
|
399
|
397
|
|
400
|
|
- /**
|
401
|
|
- * Invoked when our window is closing.
|
402
|
|
- * <p>
|
403
|
|
- * Frame containers must perform the following actions in this order:
|
404
|
|
- * <ol>
|
405
|
|
- * <li>Remove any callbacks or listeners (events should not be processed
|
406
|
|
- * once a window has been requested to close)</li>
|
407
|
|
- * <li>Trigger any actions necessary (terminating any TCP connections,
|
408
|
|
- * disconnecting parsers, closing children, etc)</li>
|
409
|
|
- * <li>Trigger action for the window closing (raise a DMDirc action for
|
410
|
|
- * the closure of the window, if required)</li>
|
411
|
|
- * <li>Inform any parents that the window is closing (this includes
|
412
|
|
- * unregistering the window with any specific managers, or from the
|
413
|
|
- * parent windows if they track children)</li>
|
414
|
|
- * </ol>
|
415
|
|
- *
|
416
|
|
- * @deprecated Clearing up should be performed in the {@link #close()} method.
|
417
|
|
- */
|
418
|
|
- @Deprecated
|
419
|
|
- protected void windowClosing() {
|
420
|
|
- }
|
421
|
|
-
|
422
|
|
- /**
|
423
|
|
- * Invoked when our window has been closed.
|
424
|
|
- * <p>
|
425
|
|
- * At this point, all interested parties have been told that the window
|
426
|
|
- * has been closed, and therefore any references to frames or other
|
427
|
|
- * resources may be completely freed.
|
428
|
|
- *
|
429
|
|
- * @deprecated Clearing up should be performed in the {@link #close()} method.
|
430
|
|
- */
|
431
|
|
- @Deprecated
|
432
|
|
- public void windowClosed() {
|
433
|
|
- }
|
434
|
|
-
|
435
|
398
|
/**
|
436
|
399
|
* Adds a line to this container's window. If the window is null for some
|
437
|
400
|
* reason, the line is silently discarded.
|