Revision 0106eeef
Added by Andreas Müller almost 2 years ago
src/main/java/eu/etaxonomy/cdm/vaadin/view/name/NameTypeDesignationPopupEditor.java | ||
---|---|---|
83 | 83 |
private AnnotationType[] editableAnotationTypes = RegistrationUIDefaults.EDITABLE_ANOTATION_TYPES; |
84 | 84 |
|
85 | 85 |
|
86 |
/** |
|
87 |
* @param layout |
|
88 |
* @param dtoType |
|
89 |
*/ |
|
90 | 86 |
public NameTypeDesignationPopupEditor() { |
91 | 87 |
super(new GridLayout(GRID_COLS, GRID_ROWS), NameTypeDesignation.class); |
92 | 88 |
} |
93 | 89 |
|
94 |
/** |
|
95 |
* {@inheritDoc} |
|
96 |
*/ |
|
97 | 90 |
@Override |
98 | 91 |
public String getWindowCaption() { |
99 | 92 |
return "Name type designation editor"; |
100 | 93 |
} |
101 | 94 |
|
102 |
/** |
|
103 |
* {@inheritDoc} |
|
104 |
*/ |
|
105 | 95 |
@Override |
106 | 96 |
public void focusFirst() { |
107 | 97 |
// none |
108 | 98 |
} |
109 | 99 |
|
110 |
/** |
|
111 |
* {@inheritDoc} |
|
112 |
*/ |
|
113 | 100 |
@Override |
114 | 101 |
protected String getDefaultComponentStyles() { |
115 | 102 |
return "tiny"; |
116 | 103 |
} |
117 | 104 |
|
118 |
/** |
|
119 |
* {@inheritDoc} |
|
120 |
*/ |
|
121 | 105 |
@Override |
122 | 106 |
protected void initContent() { |
123 | 107 |
/* |
... | ... | |
236 | 220 |
addField(annotationsListField, "annotations", 0, row, 3, row); |
237 | 221 |
} |
238 | 222 |
|
239 |
|
|
240 |
|
|
241 | 223 |
@Override |
242 | 224 |
protected void afterItemDataSourceSet() { |
243 | 225 |
super.afterItemDataSourceSet(); |
Also available in: Unified diff
cleanup