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