Revision 18fbda82
Added by Andreas Kohlbecker almost 6 years ago
src/main/java/eu/etaxonomy/cdm/vaadin/event/RegistrationEditorAction.java | ||
---|---|---|
10 | 10 |
|
11 | 11 |
import java.util.UUID; |
12 | 12 |
|
13 |
import com.vaadin.ui.Component; |
|
13 |
import com.vaadin.ui.Button; |
|
14 |
import com.vaadin.ui.Field; |
|
14 | 15 |
|
16 |
import eu.etaxonomy.cdm.model.name.Registration; |
|
15 | 17 |
import eu.etaxonomy.vaadin.event.EditorActionType; |
16 | 18 |
import eu.etaxonomy.vaadin.mvp.AbstractView; |
17 | 19 |
|
... | ... | |
19 | 21 |
* @author a.kohlbecker |
20 | 22 |
* @since Mar 22, 2017 |
21 | 23 |
*/ |
22 |
public class RegistrationEditorAction extends AbstractEditorAction { |
|
24 |
public class RegistrationEditorAction extends AbstractEditorAction<Registration> {
|
|
23 | 25 |
|
24 | 26 |
/** |
25 | 27 |
* @param eventType |
... | ... | |
33 | 35 |
* @param action |
34 | 36 |
* @param source |
35 | 37 |
*/ |
36 |
public RegistrationEditorAction(EditorActionType action, Component source, AbstractView sourceView) {
|
|
37 |
super(action, source, sourceView); |
|
38 |
public RegistrationEditorAction(EditorActionType action, Button source, Field<Registration> target, AbstractView sourceView) {
|
|
39 |
super(action, source, target, sourceView);
|
|
38 | 40 |
} |
39 | 41 |
|
40 | 42 |
/** |
... | ... | |
43 | 45 |
* @param source |
44 | 46 |
* @param sourceView |
45 | 47 |
*/ |
46 |
public RegistrationEditorAction(EditorActionType action, UUID entityUuid, Component source, AbstractView sourceView) {
|
|
47 |
super(action, entityUuid, source, sourceView); |
|
48 |
public RegistrationEditorAction(EditorActionType action, UUID entityUuid, Button source, Field<Registration> target, AbstractView sourceView) {
|
|
49 |
super(action, entityUuid, source, target, sourceView);
|
|
48 | 50 |
} |
49 | 51 |
|
50 | 52 |
|
Also available in: Unified diff
AbstractEditorAction now with source button and target field