JAL-2316 GUI updates to Connections tab in Preferences dialog
[jalview.git] / src / jalview / urls / UrlProviderI.java
index 4ade3bb..3841a50 100644 (file)
@@ -21,6 +21,7 @@
 package jalview.urls;
 
 import java.io.File;
+import java.util.List;
 import java.util.Vector;
 
 /**
@@ -56,6 +57,17 @@ public interface UrlProviderI
   Vector<String> getLinksForDisplay();
 
   /**
+   * Get names and urls as strings for display
+   * 
+   */
+  List<UrlLinkDisplay> getLinksForTable();
+
+  /**
+   * Set names and urls from display settings
+   */
+  void setUrlData(List<UrlLinkDisplay> links);
+
+  /**
    * Get the id of the default URL
    * 
    * @return id of the default URL
@@ -110,4 +122,9 @@ public interface UrlProviderI
    * @return id of chosen default url
    */
   String chooseDefaultUrl();
+
+  /**
+   * Determine if id is for a user-defined URL
+   */
+  boolean isUserEntry(String id);
 }