Project

General

Profile

Revision f52937aa

IDf52937aa95f8aa18816c4033d1608581c6f30c6e
Parent 7e366dc2
Child 840786bf

Added by Katja Luther over 3 years ago

ref #6547: update taxonnavigator when closing node wizard

View differences:

eu.etaxonomy.taxeditor.navigation/src/main/java/eu/etaxonomy/taxeditor/navigation/navigator/e4/TaxonNavigatorE4.java
553 553
    @Override
554 554
    public void workbenchShutdown(IMemento memento, IProgressMonitor monitor) {
555 555
    }
556

  
557
    @Inject
558
    @Optional
559
    private void updateView(@UIEventTopic(WorkbenchEventConstants.REFRESH_NAVIGATOR)boolean refresh){
560
        if(refresh){
561
            refresh();
562
        }
563
    }
556 564
}
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/handler/defaultHandler/e4/DefaultOpenHandlerBaseE4.java
30 30
        this.modelService = modelService;
31 31
        this.application = application;
32 32

  
33

  
33 34
        String commandId = menuItem.getCommand().getElementId();
34 35
        Object transientData = menuItem.getTransientData().get(commandId+".uuid");
35 36
        if(transientData instanceof UUID){
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/handler/defaultHandler/e4/DefaultOpenTaxonNodeWizardHandlerE4.java
17 17

  
18 18
import eu.etaxonomy.cdm.api.service.ITaxonNodeService;
19 19
import eu.etaxonomy.cdm.model.taxon.TaxonNode;
20
import eu.etaxonomy.taxeditor.event.EventUtility;
21
import eu.etaxonomy.taxeditor.event.WorkbenchEventConstants;
20 22
import eu.etaxonomy.taxeditor.store.CdmStore;
21 23
import eu.etaxonomy.taxeditor.ui.section.classification.EditTaxonNodeWizard;
22 24

  
......
39 41
        taxonNodeWizard.setEntity(entity);
40 42
        WizardDialog dialog = new WizardDialog(shell, taxonNodeWizard);
41 43
        dialog.open();
44
        EventUtility.postEvent(WorkbenchEventConstants.REFRESH_NAVIGATOR, true);
45

  
42 46
    }
43 47

  
44 48
    @Override

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)