Revision 333b3e62
Added by Andreas Kohlbecker about 6 years ago
src/main/java/eu/etaxonomy/cdm/vaadin/view/name/SpecimenTypeDesignationWorkingsetEditorPresenter.java | ||
---|---|---|
288 | 288 |
*/ |
289 | 289 |
@Override |
290 | 290 |
public EntityCache getCache() { |
291 |
if(((AbstractPopupEditor)getView()).isBeanLoaded()){
|
|
292 |
return cache;
|
|
293 |
} else { |
|
294 |
return null; |
|
295 |
} |
|
291 |
return cache;
|
|
292 |
// if(((AbstractPopupEditor)getView()).isBeanLoaded()){
|
|
293 |
// } else {
|
|
294 |
// return null;
|
|
295 |
// }
|
|
296 | 296 |
} |
297 | 297 |
|
298 |
/** |
|
299 |
* Returns true only after the view method {@link AbstractPopupEditor#loadInEditor()} |
|
300 |
* has completed. |
|
301 |
* |
|
302 |
*/ |
|
303 |
@Override |
|
304 |
public boolean isCacheInitialized() { |
|
305 |
return ((AbstractPopupEditor)getView()).isBeanLoaded(); |
|
306 |
} |
|
307 |
|
|
308 |
|
|
298 | 309 |
public void doCollectionEditorAdd() { |
299 | 310 |
|
300 | 311 |
collectionPopupEditor = getNavigationManager().showInPopup(CollectionPopupEditor.class); |
Also available in: Unified diff
fix #7205 using ToManyRelatedEntitiesListSelect create edit button in TaxonNamePopupEditor