Revision 71b7253e
Added by Patrick Plitzner over 6 years ago
eu.etaxonomy.taxeditor.molecular/src/main/java/eu/etaxonomy/taxeditor/molecular/handler/ToggleInsertOverwriteHandler.java | ||
---|---|---|
49 | 49 |
|
50 | 50 |
@Override |
51 | 51 |
public void updateElement(UIElement element, @SuppressWarnings("rawtypes") Map parameters) { |
52 |
Object activeEditor = AbstractUtility.getActiveE4Editor();
|
|
52 |
Object activeEditor = AbstractUtility.getActiveEditor(); |
|
53 | 53 |
if (activeEditor instanceof AlignmentEditor) { |
54 | 54 |
if (((AlignmentEditor)activeEditor).isInsertMode()) { |
55 | 55 |
element.setIcon(INSERT_DESCRIPTOR); |
Also available in: Unified diff
ref #6925 Rename utility getter methods