Project

General

Profile

« Previous | Next » 

Revision 72821c22

Added by Andreas Müller over 2 years ago

cleanup

View differences:

src/main/java/eu/etaxonomy/cdm/vaadin/view/occurrence/CollectionPopupEditor.java
32 32
/**
33 33
 * @author a.kohlbecker
34 34
 * @since Dec 21, 2017
35
 *
36 35
 */
37 36
@SpringComponent
38 37
@Scope("prototype")
......
44 43

  
45 44
    private static final int GRID_ROWS = 4;
46 45

  
47
    TextField nameField;
48
    TextField codeField;
49
    TextField codeStandardField;
50
    TextField townOrLocationField;
51
    ToOneRelatedEntityCombobox<Collection> superCollectionCombobox;
52
    ToOneRelatedEntityCombobox<Institution> institutionCombobox;
46
    private TextField nameField;
47
    private TextField codeField;
48
    private TextField codeStandardField;
49
    private TextField townOrLocationField;
50
    private ToOneRelatedEntityCombobox<Collection> superCollectionCombobox;
51
    private ToOneRelatedEntityCombobox<Institution> institutionCombobox;
53 52

  
54

  
55
    /**
56
     * @param layout
57
     * @param dtoType
58
     */
59 53
    public CollectionPopupEditor() {
60 54
        super(new GridLayout(GRID_COLS, GRID_ROWS), Collection.class);
61 55
    }
62 56

  
63
    /**
64
     * {@inheritDoc}
65
     */
66 57
    @Override
67 58
    public String getWindowCaption() {
68 59
        return "Collection editor";
69 60
    }
70 61

  
71

  
72

  
73
    /**
74
     * {@inheritDoc}
75
     */
76 62
    @Override
77 63
    public int getWindowWidth() {
78 64
        return 500;
79 65
    }
80 66

  
81
    /**
82
     * {@inheritDoc}
83
     */
84 67
    @Override
85 68
    public void focusFirst() {
86 69
        codeField.focus();
87 70
    }
88 71

  
89
    /**
90
     * {@inheritDoc}
91
     */
92 72
    @Override
93 73
    protected String getDefaultComponentStyles() {
94 74
        return "tiny";
95 75
    }
96 76

  
97
    /**
98
     * {@inheritDoc}
99
     */
100 77
    @Override
101 78
    protected void initContent() {
102 79
        /*
......
192 169
                    );
193 170
                }
194 171
            });
195

  
196 172
    }
197 173

  
198 174
    /* ------------------ View Interface methods -------------------- */

Also available in: Unified diff