import eu.etaxonomy.taxeditor.model.MessagingUtils;
import eu.etaxonomy.taxeditor.store.CdmStore;
import eu.etaxonomy.taxeditor.ui.dialog.selection.TermVocabularySelectionDialog;
-import eu.etaxonomy.taxeditor.view.webimport.termimport.parser.ParserUtil;
import eu.etaxonomy.taxeditor.view.webimport.termimport.wrapper.OntologyTermWrapper;
public class FeatureNodeDropAdapter extends ViewerDropAdapter {
return false;
}
}
- if(vocabulary!=null){
- if(wrapper.getDescription()==null && MessagingUtils.confirmDialog("Load Details?", "Not all details for this term have been loaded yet.\n"
- + "Do you want to load the details before adding it?")){
- ParserUtil.loadDetails(wrapper);
- }
+ if(vocabulary==null){
+ return false;
+ }
+ else{
Feature feature = Feature.NewInstance(wrapper.getDescription(), wrapper.getLabel(), null);
feature.setUri(URI.create(wrapper.getUri()));
vocabulary.addTerm(feature);