X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Ffts%2Fservice%2Fthreedbeacons%2FTDBeaconsFTSPanel.java;h=253de4263bbe6b2981aecd9df84603484236f69d;hb=a7169b1c72607f3c9357195b4999869650a2a891;hp=056da78ed10100314b46828c41bdaf4b67b2338b;hpb=57738a1f3c19b1c3a00bd3ac5108f8cd0af32f99;p=jalview.git diff --git a/src/jalview/fts/service/threedbeacons/TDBeaconsFTSPanel.java b/src/jalview/fts/service/threedbeacons/TDBeaconsFTSPanel.java index 056da78..253de42 100644 --- a/src/jalview/fts/service/threedbeacons/TDBeaconsFTSPanel.java +++ b/src/jalview/fts/service/threedbeacons/TDBeaconsFTSPanel.java @@ -1,20 +1,32 @@ +/* + * Jalview - A Sequence Alignment Editor and Viewer ($$Version-Rel$$) + * Copyright (C) $$Year-Rel$$ The Jalview Authors + * + * This file is part of Jalview. + * + * Jalview is free software: you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation, either version 3 + * of the License, or (at your option) any later version. + * + * Jalview is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty + * of MERCHANTABILITY or FITNESS FOR A PARTICULAR + * PURPOSE. See the GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Jalview. If not, see . + * The Jalview Authors are detailed in the 'AUTHORS' file. + */ package jalview.fts.service.threedbeacons; -import java.io.BufferedReader; -import java.io.IOException; -import java.io.InputStreamReader; import java.net.HttpURLConnection; -import java.net.MalformedURLException; -import java.net.URL; import java.util.HashMap; import java.util.HashSet; import java.util.Map; import javax.swing.SwingUtilities; -import org.json.JSONArray; -import org.json.JSONObject; - import jalview.bin.Console; import jalview.datamodel.AlignmentI; import jalview.fts.api.FTSDataColumnI; @@ -22,12 +34,9 @@ import jalview.fts.api.FTSRestClientI; import jalview.fts.core.FTSRestRequest; import jalview.fts.core.FTSRestResponse; import jalview.fts.core.GFTSPanel; -import jalview.fts.service.pdb.PDBFTSRestClient; import jalview.gui.SequenceFetcher; import jalview.io.DataSourceType; import jalview.io.FileFormat; -import jalview.io.FileFormatI; -import jalview.io.FileLoader; import jalview.io.FormatAdapter; import jalview.util.MessageManager; @@ -277,4 +286,9 @@ public class TDBeaconsFTSPanel extends GFTSPanel // no multiple query support yet return enteredText; } + + public String getDbName() + { + return "3D-Beacons"; + } }