1 | /* |
---|
2 | * This program is free software; you can redistribute it and/or modify |
---|
3 | * it under the terms of the GNU General Public License as published by |
---|
4 | * the Free Software Foundation; either version 2 of the License, or |
---|
5 | * (at your option) any later version. |
---|
6 | * |
---|
7 | * This program is distributed in the hope that it will be useful, |
---|
8 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
9 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
---|
10 | * GNU General Public License for more details. |
---|
11 | * |
---|
12 | * You should have received a copy of the GNU General Public License |
---|
13 | * along with this program; if not, write to the Free Software |
---|
14 | * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. |
---|
15 | */ |
---|
16 | |
---|
17 | /* |
---|
18 | * ConfigurationEvent.java |
---|
19 | * Copyright (C) 2009 University of Waikato, Hamilton, New Zealand |
---|
20 | * |
---|
21 | */ |
---|
22 | |
---|
23 | package weka.gui.beans; |
---|
24 | |
---|
25 | import java.util.EventObject; |
---|
26 | |
---|
27 | /** |
---|
28 | * Matching event for ConfigurationListener. Implementers of |
---|
29 | * ConfigurationProducer do not actually have to generate this |
---|
30 | * event (nor will listeners ever need to process ConfigurationEvent). |
---|
31 | * Configurations will be pulled (rather than pushed) by |
---|
32 | * ConfigurationListeners. It is a listener's responsibility (if |
---|
33 | * they are interested in utilizing configurations) to implement |
---|
34 | * BeanCommon and store/delete reference(s) to ConfigurationProducers |
---|
35 | * when connectionNotification() and disconnectionNotification() are |
---|
36 | * called on them. |
---|
37 | * |
---|
38 | * @author Mark Hall (mhall{[at]}pentaho{[dot]}org) |
---|
39 | * @version $Revision $ |
---|
40 | */ |
---|
41 | public class ConfigurationEvent extends EventObject { |
---|
42 | |
---|
43 | /** For serialization */ |
---|
44 | private static final long serialVersionUID = 5433562112093780868L; |
---|
45 | |
---|
46 | public ConfigurationEvent(Object source) { |
---|
47 | super(source); |
---|
48 | } |
---|
49 | } |
---|