Revision 2b6b2b23
Added by Andreas Kohlbecker almost 6 years ago
src/main/java/eu/etaxonomy/cdm/vaadin/view/name/SpecimenTypeDesignationWorkingsetEditorPresenter.java | ||
---|---|---|
309 | 309 |
|
310 | 310 |
public void doCollectionEditorAdd(SpecimenTypeDesignationDTORow row) { |
311 | 311 |
|
312 |
CollectionPopupEditor collectionPopupEditor = getNavigationManager().showInPopup(CollectionPopupEditor.class, getView()); |
|
312 |
CollectionPopupEditor collectionPopupEditor = getNavigationManager().showInPopup(CollectionPopupEditor.class, getView(), null);
|
|
313 | 313 |
|
314 | 314 |
collectionPopupEditor.grantToCurrentUser(COLLECTION_EDITOR_CRUD); |
315 | 315 |
collectionPopupEditor.withDeleteButton(true); |
... | ... | |
320 | 320 |
|
321 | 321 |
public void doCollectionEditorEdit(SpecimenTypeDesignationDTORow row) { |
322 | 322 |
|
323 |
CollectionPopupEditor collectionPopupEditor = getNavigationManager().showInPopup(CollectionPopupEditor.class, getView()); |
|
323 |
CollectionPopupEditor collectionPopupEditor = getNavigationManager().showInPopup(CollectionPopupEditor.class, getView(), null);
|
|
324 | 324 |
|
325 | 325 |
collectionPopupEditor.grantToCurrentUser(COLLECTION_EDITOR_CRUD); |
326 | 326 |
collectionPopupEditor.withDeleteButton(true); |
... | ... | |
351 | 351 |
|
352 | 352 |
public void doReferenceEditorAdd(SpecimenTypeDesignationDTORow row) { |
353 | 353 |
|
354 |
ReferencePopupEditor referencePopupEditor = getNavigationManager().showInPopup(ReferencePopupEditor.class, getView()); |
|
354 |
ReferencePopupEditor referencePopupEditor = getNavigationManager().showInPopup(ReferencePopupEditor.class, getView(), null);
|
|
355 | 355 |
|
356 | 356 |
referencePopupEditor.withReferenceTypes(RegistrationUIDefaults.MEDIA_REFERENCE_TYPES); |
357 | 357 |
referencePopupEditor.grantToCurrentUser(COLLECTION_EDITOR_CRUD); |
... | ... | |
363 | 363 |
|
364 | 364 |
public void doReferenceEditorEdit(SpecimenTypeDesignationDTORow row) { |
365 | 365 |
|
366 |
ReferencePopupEditor referencePopupEditor = getNavigationManager().showInPopup(ReferencePopupEditor.class, getView()); |
|
366 |
ReferencePopupEditor referencePopupEditor = getNavigationManager().showInPopup(ReferencePopupEditor.class, getView(), null);
|
|
367 | 367 |
referencePopupEditor.withReferenceTypes(RegistrationUIDefaults.MEDIA_REFERENCE_TYPES); |
368 | 368 |
referencePopupEditor.grantToCurrentUser(COLLECTION_EDITOR_CRUD); |
369 | 369 |
referencePopupEditor.withDeleteButton(true); |
Also available in: Unified diff
introducing PopupViewRegistration to manage view popupview and target field