Revision e8674a36
Added by Andreas Kohlbecker about 6 years ago
src/main/java/eu/etaxonomy/cdm/vaadin/view/reference/ReferenceEditorPresenter.java | ||
---|---|---|
149 | 149 |
|
150 | 150 |
if(ToOneRelatedEntityField.class.isAssignableFrom(editorAction.getSourceComponent().getClass())){ |
151 | 151 |
if(editorAction.isAddAction()){ |
152 |
inReferencePopup = getNavigationManager().showInPopup(ReferencePopupEditor.class); |
|
152 |
inReferencePopup = getNavigationManager().showInPopup(ReferencePopupEditor.class, getView());
|
|
153 | 153 |
inReferencePopup.loadInEditor(null); |
154 | 154 |
} |
155 | 155 |
if(editorAction.isEditAction()){ |
156 |
ReferencePopupEditor popup = getNavigationManager().showInPopup(ReferencePopupEditor.class); |
|
156 |
ReferencePopupEditor popup = getNavigationManager().showInPopup(ReferencePopupEditor.class, getView());
|
|
157 | 157 |
popup.withDeleteButton(true); |
158 | 158 |
popup.loadInEditor(editorAction.getEntityId()); |
159 | 159 |
} |
Also available in: Unified diff
ref #7195 introducing the concept of EditorActionContext stacks to facilitate creating blocking relations