adapt editor to changes in SpecimenRowWrapperDTO
[taxeditor.git] / eu.etaxonomy.taxeditor.editor / src / main / java / eu / etaxonomy / taxeditor / editor / e4 / TaxonEditorInputDataChangeBehaviourE4.java
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.editor.e4;
11
12 import eu.etaxonomy.cdm.persistence.hibernate.CdmDataChangeMap;
13 import eu.etaxonomy.taxeditor.model.AbstractDataChangeBehaviour;
14
15 /**
16 * @author pplitzner
17 * @date Aug 24, 2017
18 */
19 public class TaxonEditorInputDataChangeBehaviourE4 extends
20 AbstractDataChangeBehaviour {
21
22 private TaxonEditorInputE4 source;
23
24 public TaxonEditorInputDataChangeBehaviourE4(TaxonEditorInputE4 taxonEditorInput) {
25 source = taxonEditorInput;
26 }
27
28 @Override
29 public void reactOnDataChange(CdmDataChangeMap events) {
30 source.update(events);
31
32 }
33 }