- adapted to cdmlib-ext changes
[taxeditor.git] / eu.etaxonomy.taxeditor.editor / src / main / java / eu / etaxonomy / taxeditor / editor / view / dataimport / QueryOriginalRecordCommand.java
index 5ac58e63e5a4027f40f1405500789304f3ed43dc..75c99dfb65286c9d2c8124c46356403580d333d2 100644 (file)
@@ -1,5 +1,7 @@
 package eu.etaxonomy.taxeditor.editor.view.dataimport;
 
+import java.net.URI;
+
 import org.eclipse.core.commands.AbstractHandler;
 import org.eclipse.core.commands.ExecutionEvent;
 import org.eclipse.core.commands.ExecutionException;
@@ -24,7 +26,7 @@ public class QueryOriginalRecordCommand extends AbstractHandler {
             if(structuredSelection.size()==1){
                 Object next = structuredSelection.iterator().next();
                 if(next instanceof GbifResponse){
-                    String endPoint = ((GbifResponse) next).getEndPoint();
+                    URI endPoint = ((GbifResponse) next).getDataSetUri();
                 }
             }
         }