Project

General

Profile

Download (1.01 KB) Statistics
| Branch: | Tag: | Revision:
1
/**
2
* Copyright (C) 2018 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
package eu.etaxonomy.vaadin.event;
10

    
11
/**
12
 * Implementations will usually look like:
13
 *
14
 * <pre>
15
    myComboboxSelect.setEditActionListener(e -> {
16

    
17
            Object fieldValue = e.getSource().getValue();
18
            UUID beanUuid = null;
19
            if(fieldValue != null){
20
                beanUuid = ((CdmBase)fieldValue).getUUid();
21

    
22
            }
23
            getViewEventBus().publish(this, new SomeEditorAction(e.getAction(), beanUuid, e.getSource(), this));
24
        });
25
  }
26
 *</pre>
27
 * @author a.kohlbecker
28
 * @since Jan 17, 2018
29
 *
30
 */
31
public interface EntityEditorActionListener {
32

    
33

    
34
    /**
35
     * see type level documentation for implementation hints.
36
     *
37
     * @param action
38
     */
39
    public void onEntityEditorActionEvent(EntityEditorActionEvent action);
40

    
41
}
(3-3/3)