*/
package jalview.gui;
-import java.io.*;
import java.util.*;
import java.awt.*;
import javax.swing.*;
-import MCview.*;
import jalview.datamodel.*;
-import jalview.datamodel.xdb.embl.*;
-import java.io.File;
import jalview.io.*;
-import jalview.ws.DBRefFetcher;
-import jalview.ws.ebi.EBIFetchClient;
-import jalview.ws.seqfetcher.ASequenceFetcher;
+import jalview.ws.dbsources.das.api.DasSourceRegistryI;
import jalview.ws.seqfetcher.DbSourceProxy;
-import java.awt.Rectangle;
import java.awt.BorderLayout;
-import java.awt.Dimension;
public class SequenceFetcher extends JPanel implements Runnable
{
private static jalview.ws.SequenceFetcher sfetch = null;
- private static String dasRegistry = null;
+ private static DasSourceRegistryI dasRegistry = null;
private static boolean _initingFetcher = false;
}
}
if (sfetch == null
- || dasRegistry != DasSourceBrowser.getDasRegistryURL())
+ || dasRegistry != jalview.bin.Cache.getDasSourceRegistry())
{
_initingFetcher = true;
initingThread = Thread.currentThread();
guiWindow.setProgressBar("Initialising Sequence Database Fetchers",
Thread.currentThread().hashCode());
}
- dasRegistry = DasSourceBrowser.getDasRegistryURL();
+ dasRegistry = jalview.bin.Cache.getDasSourceRegistry();
+ dasRegistry.refreshSources();
+
jalview.ws.SequenceFetcher sf = new jalview.ws.SequenceFetcher();
if (guiWindow != null)
{