git://source.jalview.org
/
jalview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
JAL-1988 Make sensible choices if only the opening file has been opened, and alter...
[jalview.git]
/
src
/
jalview
/
io
/
DataSourceType.java
diff --git
a/src/jalview/io/DataSourceType.java
b/src/jalview/io/DataSourceType.java
index
7e2aeab
..
6d00a7d
100644
(file)
--- a/
src/jalview/io/DataSourceType.java
+++ b/
src/jalview/io/DataSourceType.java
@@
-23,4
+23,9
@@
package jalview.io;
public enum DataSourceType
{
FILE, URL, PASTE, CLASSLOADER, RELATIVE_URL;
+
+ public boolean isDynamic()
+ {
+ return this != FILE;
+ }
}