|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
ModuleEventListener | Line # 29 | 0 | 0 | - |
-1.0
|
||||||||||||||||||||||||||||||||||||||||||||||||||||
No Tests | |||
1 | /* $Id: ModuleEventListener.java,v 1.1 2008/07/26 07:58:29 m31 Exp $ | |
2 | * | |
3 | * This file is part of the project "Hilbert II" - http://www.qedeq.org | |
4 | * | |
5 | * Copyright 2000-2008, Michael Meyling <mime@qedeq.org>. | |
6 | * | |
7 | * "Hilbert II" is free software; you can redistribute | |
8 | * it and/or modify it under the terms of the GNU General Public | |
9 | * License as published by the Free Software Foundation; either | |
10 | * version 2 of the License, or (at your option) any later version. | |
11 | * | |
12 | * This program is distributed in the hope that it will be useful, | |
13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
15 | * GNU General Public License for more details. | |
16 | */ | |
17 | ||
18 | package org.qedeq.kernel.bo.log; | |
19 | ||
20 | import org.qedeq.kernel.bo.QedeqBo; | |
21 | ||
22 | ||
23 | /** | |
24 | * Interface for an QEDEQ module event listener. | |
25 | * | |
26 | * @version $Revision: 1.1 $ | |
27 | * @author Michael Meyling | |
28 | */ | |
29 | public interface ModuleEventListener { | |
30 | ||
31 | /** | |
32 | * Add module. | |
33 | * | |
34 | * @param prop add module with this properties. | |
35 | */ | |
36 | void addModule(final QedeqBo prop); | |
37 | ||
38 | ||
39 | /** | |
40 | * Module properties (i.e. the status) have changed. | |
41 | * | |
42 | * @param prop | |
43 | */ | |
44 | void stateChanged(QedeqBo prop); | |
45 | ||
46 | ||
47 | /** | |
48 | * Remove module. | |
49 | * | |
50 | * @param prop remove module with this properties. | |
51 | */ | |
52 | void removeModule(QedeqBo prop); | |
53 | ||
54 | ||
55 | ||
56 | } |
|