Revision 093e7cd5
Added by Katja Luther almost 3 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/termtree/e4/TermTreeDropAdapter.java | ||
---|---|---|
180 | 180 |
AddFeatureOperation operation = new AddFeatureOperation( |
181 | 181 |
droppedFeature.getUuid(), |
182 | 182 |
target.getUuid(), position, editor, editor); |
183 |
// AbstractUtility.executeOperation(operation, sync); |
|
184 | 183 |
target.addChild(droppedFeature, position); |
185 | 184 |
editor.setDirty(); |
186 | 185 |
editor.addOperation(operation); |
... | ... | |
199 | 198 |
if(vocabulary == null){ |
200 | 199 |
return false; |
201 | 200 |
} |
202 |
// vocabulary = new TermVocabulary(voc.getUuid(), voc.getRepresentations(), voc.getTermType(), voc.getTitleCache(), voc.isAllowDuplicates(), voc.isOrderRelevant(), voc.isFlat()); |
|
203 | 201 |
|
204 | 202 |
} |
205 | 203 |
|
206 | 204 |
|
207 | 205 |
AddOntologyTermOperation operation = new AddOntologyTermOperation(wrapper, target.getUuid(), vocabulary, editor, editor); |
208 |
// AbstractUtility.executeOperation(operation, sync); |
|
206 |
|
|
209 | 207 |
editor.setDirty(); |
210 | 208 |
editor.addOperation(operation); |
211 | 209 |
|
212 | 210 |
} |
213 | 211 |
} |
214 | 212 |
viewer.refresh(); |
215 |
// viewer.refresh(); |
|
213 |
|
|
216 | 214 |
return true; |
217 | 215 |
} |
218 | 216 |
|
Also available in: Unified diff
ref #8776, #9630: d&d from voc to tree and disable time period if fact is disabled