01: /*
02: This library is free software; you can redistribute it and/or
03: modify it under the terms of the GNU General Public
04: License as published by the Free Software Foundation; either
05: version 2 of the license, or (at your option) any later version.
06: */
07:
08: package org.gjt.jclasslib.browser.config.classpath;
09:
10: import java.util.EventObject;
11:
12: /**
13: Change event for <tt>ClasspathChangeListener</tt>s.
14:
15: @author <a href="mailto:jclasslib@ej-technologies.com">Ingo Kegel</a>
16: @version $Revision: 1.1 $ $Date: 2003/08/18 08:10:15 $
17: */
18: public class ClasspathChangeEvent extends EventObject {
19:
20: private boolean removal;
21:
22: /**
23: * Constructor.
24: * @param source the source object
25: * @param removal if a classpath entry has been removed.
26: */
27: public ClasspathChangeEvent(Object source, boolean removal) {
28: super (source);
29: this .removal = removal;
30: }
31:
32: /**
33: * Return whether a classpath entry has been removed.
34: * @return the value
35: */
36: public boolean isRemoval() {
37: return removal;
38: }
39: }
|