01: /**
02: * DefaultEventNotifier.java Created on 10.03.2003, 21:18:02 Alex Package:
03: * net.sf.memoranda
04: *
05: * @author Alex V. Alishevskikh, alex@openmechanics.net Copyright (c) 2003
06: * Memoranda Team. http://memoranda.sf.net
07: */package net.sf.memoranda;
08:
09: import net.sf.memoranda.ui.EventNotificationDialog;
10:
11: /**
12: *
13: */
14: /*$Id: DefaultEventNotifier.java,v 1.4 2004/01/30 12:17:41 alexeya Exp $*/
15: public class DefaultEventNotifier implements EventNotificationListener {
16:
17: /**
18: * Constructor for DefaultEventNotifier.
19: */
20: public DefaultEventNotifier() {
21: super ();
22: }
23:
24: /**
25: * @see net.sf.memoranda.EventNotificationListener#eventIsOccured(net.sf.memoranda.Event)
26: */
27: public void eventIsOccured(Event ev) {
28: new EventNotificationDialog("Memoranda event", ev
29: .getTimeString(), ev.getText());
30: }
31:
32: /**
33: * @see net.sf.memoranda.EventNotificationListener#eventsChanged()
34: */
35: public void eventsChanged() {
36: //
37: }
38:
39: }
|