Project

General

Profile

Download (940 Bytes) Statistics
| Branch: | Tag: | Revision:
1
/**
2
* Copyright (C) 2007 EDIT
3
* European Distributed Institute of Taxonomy
4
* http://www.e-taxonomy.eu
5
*
6
* The contents of this file are subject to the Mozilla Public License Version 1.1
7
* See LICENSE.TXT at the top of this package for the full license terms.
8
*/
9

    
10
package eu.etaxonomy.taxeditor.annotatedlineeditor;
11

    
12
import java.beans.PropertyChangeEvent;
13
import java.beans.PropertyChangeListener;
14

    
15
import org.apache.logging.log4j.LogManager;import org.apache.logging.log4j.Logger;
16

    
17
/**
18
 * <p>Abstract EntityListener class.</p>
19
 *
20
 * @author p.ciardelli
21
 * @created 31.08.2009
22
 */
23
abstract public class EntityListener implements PropertyChangeListener {
24

    
25
    @SuppressWarnings("unused")
26
    private static final Logger logger = LogManager.getLogger(EntityListener.class);
27

    
28
	@Override
29
    public void propertyChange(PropertyChangeEvent evt) {
30
		updateEntity();
31
	}
32

    
33
	/**
34
	 * <p>updateEntity</p>
35
	 */
36
	abstract protected void updateEntity();
37
}
(1-1/4)