Revision af10794f
Added by Andreas Kohlbecker almost 6 years ago
src/main/java/eu/etaxonomy/cdm/vaadin/view/name/NameTypeDesignationPopupEditor.java | ||
---|---|---|
137 | 137 |
row++; |
138 | 138 |
typeNameField = new ToOneRelatedEntityCombobox<TaxonName>("Type name", TaxonName.class); |
139 | 139 |
addField(typeNameField, "typeName", 0, row, 3, row); |
140 |
typeNameField.addClickListenerAddEntity(e -> getViewEventBus().publish( |
|
141 |
this, |
|
142 |
new TaxonNameEditorAction(EditorActionType.ADD, null, typeNameField, this)) |
|
140 |
typeNameField.addClickListenerAddEntity(e -> getViewEventBus().publish(this, |
|
141 |
new TaxonNameEditorAction( |
|
142 |
EditorActionType.ADD, |
|
143 |
e.getButton(), |
|
144 |
typeNameField, |
|
145 |
this)) |
|
143 | 146 |
); |
144 | 147 |
typeNameField.addClickListenerEditEntity(e -> { |
145 | 148 |
if(typeNameField.getValue() != null){ |
Also available in: Unified diff
consistent popup opening, using boundTargetField to identify field to be updated