Revision b02af7f6
Added by Patrick Plitzner over 6 years ago
eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/name/e4/handler/MoveSynonymToAnotherAcceptedTaxonHandlerE4.java | ||
---|---|---|
35 | 35 |
private static final Logger logger = Logger |
36 | 36 |
.getLogger(MoveSynonymToAnotherAcceptedTaxonHandlerE4.class); |
37 | 37 |
|
38 |
private TaxonNameEditorE4 editor; |
|
39 |
|
|
38 | 40 |
@Execute |
39 | 41 |
public void execute(@Named(IServiceConstants.ACTIVE_PART)MPart activePart, |
40 | 42 |
@Named(IServiceConstants.ACTIVE_SELECTION)IStructuredSelection selection, |
41 | 43 |
@Named(IServiceConstants.ACTIVE_SHELL)Shell shell) { |
42 | 44 |
|
43 |
TaxonNameEditorE4 editor = (TaxonNameEditorE4) activePart.getObject();
|
|
45 |
editor = (TaxonNameEditorE4) activePart.getObject(); |
|
44 | 46 |
|
45 | 47 |
IEditorInput input = editor.getEditorInput(); |
46 | 48 |
|
... | ... | |
90 | 92 |
|
91 | 93 |
@Override |
92 | 94 |
public boolean postOperation(CdmBase objectAffectedByOperation) { |
95 |
editor.redraw(); |
|
93 | 96 |
return false; |
94 | 97 |
} |
95 | 98 |
|
Also available in: Unified diff
ref #6595 Refresh after moving synonym