package ie.dcu.segment.annotate; /** * Annotation event class * * @see AnnotationListener * @author Kevin McGuinness */ public class AnnotationEvent { public final AnnotationManager manager; public final Annotation annotation; public final Type type; public AnnotationEvent( AnnotationManager manager, Annotation annotation, Type type ) { this.manager = manager; this.annotation = annotation; this.type = type; } /** * Event type */ public enum Type { Undone, Redone, Added, Cleared } }