Project

General

Profile

« Previous | Next » 

Revision 673265c4

Added by Andreas Kohlbecker about 6 years ago

refreshing RegistrationWorkingsetPresenter on popup editor close

View differences:

src/main/java/eu/etaxonomy/cdm/vaadin/view/registration/RegistrationWorkingsetPresenter.java
226 226
        popup.loadInEditor(event.getEntityId());
227 227
    }
228 228

  
229
    @EventListener
230
    public void onDoneWithReferencePopupEditor(DoneWithPopupEvent event) throws RegistrationValidationException{
231
        if(event.getPopup() instanceof ReferencePopupEditor){
232
            if(event.getReason().equals(Reason.SAVE)){
233
                refreshView(true);
234
            }
235
        }
236
    }
237

  
238
    @EventListener
239
    public void onDoneWithSpecimenTypeDesignationWorkingsetPopupEditor(DoneWithPopupEvent event) throws RegistrationValidationException{
240
        if(event.getPopup() instanceof SpecimenTypeDesignationWorkingsetPopupEditor){
241
            if(event.getReason().equals(Reason.SAVE)){
242
                refreshView(true);
243
            }
244
        }
245
    }
246

  
229 247
    @EventListener(condition = "#event.type == T(eu.etaxonomy.vaadin.event.EditorActionType).EDIT")
230 248
    public void onRegistrationEditorAction(RegistrationEditorAction event) {
231 249

  

Also available in: Unified diff