import org.eclipse.swt.dnd.TransferData;
import eu.etaxonomy.cdm.model.taxon.TaxonNode;
+import eu.etaxonomy.taxeditor.editor.l10n.Messages;
import eu.etaxonomy.taxeditor.model.MessagingUtils;
/**
Set<TaxonNode> taxonSubtreeFilter = workingSetEditor.getWorkingSet().getTaxonSubtreeFilter();
if(taxonSubtreeFilter!=null && !taxonSubtreeFilter.isEmpty()){
if(!taxonSubtreeFilter.iterator().next().getClassification().equals(taxonNode.getClassification())){
- MessagingUtils.warningDialog("Classifications do not match", this.getClass(),
- "The taxon node you are trying to add belongs to another classification "
- + "than the node(s) belonging to the working set.");
+ MessagingUtils.warningDialog(Messages.TaxonNodeDropAdapter_CLASSIFICATIONS_NO_MATCH, this.getClass(),
+ Messages.TaxonNodeDropAdapter_CLASSIFICATIONS_NO_MATCH_MESSAGE);
return false;
}