JAL-4389 Disable url editor if urls are not modifiable
[jalview.git] / src / jalview / ws2 / client / api / AbstractWebServiceDiscoverer.java
index 6e32d48..7539339 100644 (file)
@@ -92,6 +92,12 @@ public abstract class AbstractWebServiceDiscoverer implements WebServiceDiscover
     }
   }
 
+  @Override
+  public boolean isUrlsModifiable()
+  {
+    return getUrlsPropertyKey() != null;
+  }
+
   /**
    * Get the key in jalview property file where the urls for this discoverer are
    * stored. Return null if modifying urls is not supported.