1   /*
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    *  Kalina Bontcheva 21/10/2001
10   *
11   *  $Id: AnnotationEvent.java,v 1.4 2005/01/11 13:51:34 ian Exp $
12   */
13  
14  package gate.event;
15  
16  import gate.Annotation;
17  
18  /**
19   * This class models events fired by an {@link gate.Annotation}.
20   */
21  public class AnnotationEvent extends GateEvent{
22  
23    /**Event type used for situations when an annotation has been updated*/
24    public static final int ANNOTATION_UPDATED = 601;
25  
26  
27    /**
28     * Constructor.
29     * @param source the {@link gate.Annotation} that fired the event
30     * @param type the type of the event
31     */
32    public AnnotationEvent(Annotation source,
33                              int type) {
34      super(source, type);
35    }
36  
37  }