ref #6909 Add "Link with editor" icon to navigator toolbar
[taxeditor.git] / eu.etaxonomy.taxeditor.navigation / src / main / java / eu / etaxonomy / taxeditor / navigation / navigator / TaxonLinkHelper.java
index bacbf1f98c2e5e17932a66eaf3fb9be1c39524c2..e3b95583f28cbb2928d9235abba3b2fd1e2e3b68 100644 (file)
@@ -1,4 +1,3 @@
-// $Id$
 /**
 * Copyright (C) 2007 EDIT
 * European Distributed Institute of Taxonomy
@@ -19,6 +18,7 @@ import org.eclipse.ui.navigator.ILinkHelper;
 import eu.etaxonomy.cdm.model.taxon.TaxonNode;
 import eu.etaxonomy.taxeditor.editor.TaxonEditorInput;
 import eu.etaxonomy.taxeditor.model.MessagingUtils;
+import eu.etaxonomy.taxeditor.navigation.l10n.Messages;
 
 /**
  * When a taxon is open in an editor and this editor has focus, its entry in the
@@ -56,7 +56,7 @@ public class TaxonLinkHelper implements ILinkHelper {
 //                             }
 //                     }
                } catch (Exception e) {
-                       MessagingUtils.warningDialog("Could not create Taxon", this, e.getMessage());
+                       MessagingUtils.warningDialog(Messages.TaxonLinkHelper_CREATE_FAIL, this, e.getMessage());
                }
        }