| GazetteerEvent.java |
1 /* GazetteerEvent.java
2 * Copyright (c) 1998-2005, The University of Sheffield.
3 *
4 * This file is part of GATE (see http://gate.ac.uk/), and is free
5 * software, licenced under the GNU Library General Public License,
6 * Version 2, June 1991 (in the distribution as file licence.html,
7 * and also available at http://gate.ac.uk/gate/licence.html).
8 *
9 * borislav popov 08/05/2002
10 *
11 * $Id: GazetteerEvent.java,v 1.4 2005/01/11 13:51:32 ian Exp $
12 */
13 package gate.creole.gazetteer;
14
15 import gate.event.GateEvent;
16
17 /**
18 * Gazetteer Event to be used whenever an event needs to be fired and spread
19 * among Gazetteer Listeners */
20 public class GazetteerEvent extends GateEvent {
21
22 /**gazetteer reinitialized event*/
23 public static final int REINIT = 1;
24
25 /**Creates a gazetteer event
26 * @param source the Object that generated the event
27 * @param type the tupe of the event
28 */
29 public GazetteerEvent(Object source,int type) {
30 super(source,type);
31 }
32
33 } // class GazetteerEvent