Revision 80379c19
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 |
|
|
78 |
if (getEditor()== null){ |
|
79 |
return; |
|
80 |
} |
|
79 | 81 |
// Execute operations at end of drag event |
80 | 82 |
AbstractPostOperation operation = createOperation(taxonBase); |
81 | 83 |
|
... | ... | |
97 | 99 |
} |
98 | 100 |
|
99 | 101 |
private AbstractPostOperation createOperation(TaxonBase taxonBase) { |
100 |
|
|
102 |
Assert.isNotNull(getEditor()); |
|
101 | 103 |
if(taxonBase instanceof Synonym){ |
102 | 104 |
Synonym synonym = (Synonym) taxonBase; |
103 | 105 |
|
Also available in: Unified diff
mend
display of status in drop down according to preference