diff options
| author | Paul Buetow <paul@buetow.org> | 2008-05-24 16:47:25 +0000 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2008-05-24 16:47:25 +0000 |
| commit | 9f0d5c8015f4504bc8400cbb4247f38d9df62768 (patch) | |
| tree | 5e5256f3ffe7810df3f873dbfeca86484b0629b6 /sources/prefs/VSPrefs.java | |
| parent | 7040b1acc44805ab7208fa3975242c656cbc95a2 (diff) | |
new protocol editor works.
Diffstat (limited to 'sources/prefs/VSPrefs.java')
| -rw-r--r-- | sources/prefs/VSPrefs.java | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/sources/prefs/VSPrefs.java b/sources/prefs/VSPrefs.java index 6af0156..5b2cc9c 100644 --- a/sources/prefs/VSPrefs.java +++ b/sources/prefs/VSPrefs.java @@ -561,4 +561,26 @@ public abstract class VSPrefs implements Serializable { public long getID() { return id; } + + public boolean isEmpty() { + if (!colorPrefs.isEmpty()) + return false; + + if (!floatPrefs.isEmpty()) + return false; + + if (!integerPrefs.isEmpty()) + return false; + + if (!longPrefs.isEmpty()) + return false; + + if (!stringPrefs.isEmpty()) + return false; + + if (!booleanPrefs.isEmpty()) + return false; + + return true; + } } |
