Revision 1faab189
Added by Katja Luther almost 5 years ago
eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/name/e4/dnd/NameEditorDropTargetListenerE4.java | ||
---|---|---|
75 | 75 |
dropTargetEvent.detail = DND.DROP_NONE; |
76 | 76 |
return; |
77 | 77 |
} |
78 |
if (getEditor()== null){ |
|
79 |
return; |
|
80 |
} |
|
78 |
|
|
81 | 79 |
// Execute operations at end of drag event |
82 | 80 |
AbstractPostOperation operation = createOperation(taxonBase); |
83 | 81 |
|
... | ... | |
99 | 97 |
} |
100 | 98 |
|
101 | 99 |
private AbstractPostOperation createOperation(TaxonBase taxonBase) { |
102 |
Assert.isNotNull(getEditor()); |
|
100 |
|
|
103 | 101 |
if(taxonBase instanceof Synonym){ |
104 | 102 |
Synonym synonym = (Synonym) taxonBase; |
105 | 103 |
|
Also available in: Unified diff
Revert "mend"
This reverts commit 80379c19934c880a3631e83ffec07ef9215b2378.