Project

General

Profile

« Previous | Next » 

Revision f393241e

Added by Andreas Kohlbecker over 6 years ago

ref #7204 refactoring editor events and introducing generic EntityEditorActionEvent

View differences:

src/main/java/eu/etaxonomy/cdm/vaadin/event/ReferenceEditorAction.java
10 10

  
11 11
import com.vaadin.ui.Component;
12 12

  
13
import eu.etaxonomy.vaadin.event.EditorActionType;
13 14
import eu.etaxonomy.vaadin.mvp.AbstractView;
14 15

  
15 16
/**
......
21 22
    /**
22 23
     * @param eventType
23 24
     */
24
    public ReferenceEditorAction(Action type) {
25
    public ReferenceEditorAction(EditorActionType type) {
25 26
        super(type);
26 27
    }
27 28

  
......
29 30
     * @param edit
30 31
     * @param citationId
31 32
     */
32
    public ReferenceEditorAction(Action type, Integer citationId) {
33
    public ReferenceEditorAction(EditorActionType type, Integer citationId) {
33 34
        super(type, citationId);
34 35
    }
35 36

  
......
38 39
     * @param entityId
39 40
     * @param source
40 41
     */
41
    public ReferenceEditorAction(Action type, Integer entityId, Component source) {
42
    public ReferenceEditorAction(EditorActionType type, Integer entityId, Component source) {
42 43
        super(type, entityId, source);
43 44
    }
44 45

  
......
46 47
     * @param action
47 48
     * @param source
48 49
     */
49
    public ReferenceEditorAction(Action action, Component source) {
50
    public ReferenceEditorAction(EditorActionType action, Component source) {
50 51
        super(action, source);
51 52
    }
52 53

  
......
56 57
     * @param source
57 58
     * @param sourceView
58 59
     */
59
    public ReferenceEditorAction(Action action, Integer entityId, Component source, AbstractView sourceView) {
60
    public ReferenceEditorAction(EditorActionType action, Integer entityId, Component source, AbstractView sourceView) {
60 61
        super(action, entityId, source, sourceView);
61 62
    }
62 63

  

Also available in: Unified diff