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;
import org.eclipse.ui.IWorkbenchWindow;
import org.eclipse.ui.PlatformUI;
-import eu.etaxonomy.cdm.ext.occurrence.gbif.GbifResponse;
-
public class QueryOriginalRecordCommand extends AbstractHandler {
/* (non-Javadoc)
StructuredSelection structuredSelection = (StructuredSelection)selection;
if(structuredSelection.size()==1){
Object next = structuredSelection.iterator().next();
- if(next instanceof GbifResponse){
- URI endPoint = ((GbifResponse) next).getDataSetUri();
- }
+// if(next instanceof GbifResponse){
+// InputStream inputStream = new GbifQueryServiceWrapper().queryForOriginalRecord((GbifResponse)next);
+// BioCaseEditorInput input = new BioCaseEditorInput(query);
+// }
}
}
return null;