1
|
/**
|
2
|
* Copyright (C) 2017 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.cdm.vaadin.event;
|
10
|
|
11
|
import java.util.UUID;
|
12
|
|
13
|
import com.vaadin.ui.Button;
|
14
|
import com.vaadin.ui.Field;
|
15
|
|
16
|
import eu.etaxonomy.cdm.model.agent.Institution;
|
17
|
import eu.etaxonomy.vaadin.event.EditorActionType;
|
18
|
import eu.etaxonomy.vaadin.mvp.AbstractView;
|
19
|
|
20
|
/**
|
21
|
* @author a.kohlbecker
|
22
|
* @since Mar 22, 2017
|
23
|
*/
|
24
|
public class InstitutionEditorAction extends AbstractEditorAction<Institution> {
|
25
|
|
26
|
/**
|
27
|
* @param eventType
|
28
|
*/
|
29
|
public InstitutionEditorAction(EditorActionType type) {
|
30
|
super(type);
|
31
|
}
|
32
|
|
33
|
/**
|
34
|
* @param action
|
35
|
* @param source
|
36
|
*/
|
37
|
public InstitutionEditorAction(EditorActionType action, Button source, Field<Institution> target, AbstractView sourceView) {
|
38
|
super(action, source, target, sourceView);
|
39
|
}
|
40
|
|
41
|
/**
|
42
|
* @param action
|
43
|
* @param entityId
|
44
|
* @param source
|
45
|
* @param sourceView
|
46
|
*/
|
47
|
public InstitutionEditorAction(EditorActionType action, UUID entityUuid, Button source, Field<Institution> target, AbstractView sourceView) {
|
48
|
super(action, entityUuid, source, target, sourceView);
|
49
|
}
|
50
|
|
51
|
}
|