Project

General

Profile

Download (941 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;
16
import org.apache.logging.log4j.Logger;
17

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

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

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

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