|
@@ -430,19 +430,6 @@ public abstract class FrameContainer implements WindowModel {
|
430
|
430
|
* @return True if any further behaviour should be executed, false otherwise
|
431
|
431
|
*/
|
432
|
432
|
public boolean doNotification(final String messageType, final Object... args) {
|
433
|
|
- return doNotification(new Date(), messageType, args);
|
434
|
|
- }
|
435
|
|
-
|
436
|
|
- /**
|
437
|
|
- * Processes and displays a notification.
|
438
|
|
- *
|
439
|
|
- * @param date The date/time at which the event occurred
|
440
|
|
- * @param messageType The name of the formatter to be used for the message
|
441
|
|
- * @param args The arguments for the message
|
442
|
|
- *
|
443
|
|
- * @return True if any further behaviour should be executed, false otherwise
|
444
|
|
- */
|
445
|
|
- public boolean doNotification(final Date date, final String messageType, final Object... args) {
|
446
|
433
|
final List<Object> messageArgs = new ArrayList<>();
|
447
|
434
|
final List<Object> actionArgs = new ArrayList<>();
|
448
|
435
|
|
|
@@ -458,7 +445,7 @@ public abstract class FrameContainer implements WindowModel {
|
458
|
445
|
|
459
|
446
|
modifyNotificationArgs(actionArgs, messageArgs);
|
460
|
447
|
|
461
|
|
- handleNotification(date, messageType, messageArgs.toArray());
|
|
448
|
+ handleNotification(new Date(), messageType, messageArgs.toArray());
|
462
|
449
|
|
463
|
450
|
return true;
|
464
|
451
|
}
|
|
@@ -486,17 +473,6 @@ public abstract class FrameContainer implements WindowModel {
|
486
|
473
|
return false;
|
487
|
474
|
}
|
488
|
475
|
|
489
|
|
- /**
|
490
|
|
- * Handles general server notifications (i.e., ones not tied to a specific window). The user can
|
491
|
|
- * select where the notifications should go in their config.
|
492
|
|
- *
|
493
|
|
- * @param messageType The type of message that is being sent
|
494
|
|
- * @param args The arguments for the message
|
495
|
|
- */
|
496
|
|
- public void handleNotification(final String messageType, final Object... args) {
|
497
|
|
- handleNotification(new Date(), messageType, args);
|
498
|
|
- }
|
499
|
|
-
|
500
|
476
|
/**
|
501
|
477
|
* Handles general server notifications (i.e., ones not tied to a specific window). The user can
|
502
|
478
|
* select where the notifications should go in their config.
|