AnnotationSetListener.java |
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 * Valentin Tablan 08/03/2001 10 * 11 * $Id: AnnotationSetListener.java,v 1.4 2005/01/11 13:51:34 ian Exp $ 12 */ 13 package gate.event; 14 15 import java.util.EventListener; 16 17 /** 18 * A listener for events fired by an {@link gate.AnnotationSet} 19 * ({@link gate.event.AnnotationSetEvent}) 20 */ 21 public interface AnnotationSetListener extends EventListener { 22 23 /**Called when a new {@link gate.Annotation} has been added*/ 24 public void annotationAdded(AnnotationSetEvent e); 25 26 /**Called when an {@link gate.Annotation} has been removed*/ 27 public void annotationRemoved(AnnotationSetEvent e); 28 29 30 }