From 1104370854c88afc34b54efcb6d914e4309e8f4f Mon Sep 17 00:00:00 2001 From: Jim Procter Date: Tue, 6 Apr 2021 15:04:46 +0100 Subject: [PATCH] JAL-3832 dummy 3d-beacons database client and code to create the TDBeaconsFTSPanel via the sequence fetcher dropdown menu --- src/jalview/gui/SequenceFetcher.java | 6 ++++++ src/jalview/ws/SequenceFetcher.java | 2 ++ 2 files changed, 8 insertions(+) diff --git a/src/jalview/gui/SequenceFetcher.java b/src/jalview/gui/SequenceFetcher.java index 8b5d3b7..dab42b5 100755 --- a/src/jalview/gui/SequenceFetcher.java +++ b/src/jalview/gui/SequenceFetcher.java @@ -27,6 +27,7 @@ import jalview.datamodel.DBRefEntry; import jalview.datamodel.SequenceI; import jalview.fts.core.GFTSPanel; import jalview.fts.service.pdb.PDBFTSPanel; +import jalview.fts.service.threedbeacons.TDBeaconsFTSPanel; import jalview.fts.service.uniprot.UniprotFTSPanel; import jalview.io.FileFormatI; import jalview.io.gff.SequenceOntologyI; @@ -195,6 +196,11 @@ public class SequenceFetcher extends JPanel implements Runnable frame.dispose(); new UniprotFTSPanel(SequenceFetcher.this); } + else if ("3d-beacons".equalsIgnoreCase(currentSelection)) + { + frame.dispose(); + new TDBeaconsFTSPanel(SequenceFetcher.this); + } else { otherSourceAction(); diff --git a/src/jalview/ws/SequenceFetcher.java b/src/jalview/ws/SequenceFetcher.java index a480176..1661acf 100644 --- a/src/jalview/ws/SequenceFetcher.java +++ b/src/jalview/ws/SequenceFetcher.java @@ -27,6 +27,7 @@ import jalview.ws.dbsources.Pdb; import jalview.ws.dbsources.PfamFull; import jalview.ws.dbsources.PfamSeed; import jalview.ws.dbsources.RfamSeed; +import jalview.ws.dbsources.TDBeacons; import jalview.ws.dbsources.Uniprot; import jalview.ws.seqfetcher.ASequenceFetcher; import jalview.ws.seqfetcher.DbSourceProxy; @@ -54,6 +55,7 @@ public class SequenceFetcher extends ASequenceFetcher addDBRefSourceImpl(EmblSource.class); addDBRefSourceImpl(EmblCdsSource.class); addDBRefSourceImpl(Uniprot.class); + addDBRefSourceImpl(TDBeacons.class); addDBRefSourceImpl(Pdb.class); addDBRefSourceImpl(PfamFull.class); addDBRefSourceImpl(PfamSeed.class); -- 1.7.10.2