X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fws%2Frest%2FRestClient.java;h=0394fea26e1448a9924be065d8726c1a3809e94c;hb=d043ce47fc710d3eb2629ba926a8a7417bd67d8c;hp=2d39db587127a40e2b04bc1d7c938d1573be9b4f;hpb=49db0dff1da16c3355b43a41498c1fc93ef47e91;p=jalview.git diff --git a/src/jalview/ws/rest/RestClient.java b/src/jalview/ws/rest/RestClient.java index 2d39db5..0394fea 100644 --- a/src/jalview/ws/rest/RestClient.java +++ b/src/jalview/ws/rest/RestClient.java @@ -52,7 +52,6 @@ import javax.swing.event.MenuListener; public class RestClient extends WSClient implements WSClientI, WSMenuEntryProviderI, ApplicationSingletonI { - @SuppressWarnings("unused") private RestClient() { @@ -69,8 +68,6 @@ public static final String RSBS_SERVICES = "RSBS_SERVICES"; protected Vector services = null; - - RestServiceDescription service; public RestClient(RestServiceDescription rsd) @@ -359,6 +356,7 @@ public static final String RSBS_SERVICES = "RSBS_SERVICES"; } } + public AlignmentPanel recoverAlignPanelForView() { AlignmentPanel[] aps = Desktop @@ -379,6 +377,7 @@ public static final String RSBS_SERVICES = "RSBS_SERVICES"; return true; } + public static RestClient[] getRestClients() { return getInstance().getClients(); @@ -392,7 +391,7 @@ public static final String RSBS_SERVICES = "RSBS_SERVICES"; try { for (RestServiceDescription descr : RestServiceDescription - .parseDescriptions(jalview.bin.Cache.getDefault( + .parseDescriptions(Cache.getDefault( RSBS_SERVICES, ShmrRestClient.makeShmmrRestClient().service.toString()))) {