Revision 0001092a
Added by Katja Luther about 6 years ago
eu.etaxonomy.taxeditor.navigation/src/main/java/eu/etaxonomy/taxeditor/navigation/navigator/e4/handler/NewTaxonNodeHandlerE4.java | ||
---|---|---|
24 | 24 |
import org.eclipse.swt.widgets.Shell; |
25 | 25 |
|
26 | 26 |
import eu.etaxonomy.taxeditor.editor.EditorUtil; |
27 |
import eu.etaxonomy.taxeditor.event.EventUtility; |
|
28 |
import eu.etaxonomy.taxeditor.event.WorkbenchEventConstants; |
|
27 | 29 |
import eu.etaxonomy.taxeditor.newWizard.IWizardPageListener; |
28 | 30 |
import eu.etaxonomy.taxeditor.newWizard.NewTaxonNodeWizard; |
29 | 31 |
|
... | ... | |
53 | 55 |
int status = dialog.open(); |
54 | 56 |
|
55 | 57 |
if(status == IStatus.OK && wizard.openInEditor()){ |
58 |
EventUtility.postEvent(WorkbenchEventConstants.REFRESH_NAVIGATOR, true); |
|
56 | 59 |
if(wizard.openEmpty()){ |
57 | 60 |
EditorUtil.openEmptyE4(wizard.getParentTreeNode().getUuid()); |
58 | 61 |
}else if(wizard.getTaxonNode() != null){ |
Also available in: Unified diff
some leftovers from last commit (refresh of navigator after delete or new)