diff options
| author | Paul Buetow <paul@buetow.org> | 2008-05-27 18:04:53 +0000 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2008-05-27 18:04:53 +0000 |
| commit | ce4b28ff4047fa50974c3c3d2e370db60a2b3553 (patch) | |
| tree | aaea8717a26d504f14f54b389a379a8b02b88199 /sources/prefs/editors | |
| parent | 97a3a4f07cdc8437f73f4270b237e85c7739a6be (diff) | |
Pull down menu now sorted by protocol's shortnames
Diffstat (limited to 'sources/prefs/editors')
| -rw-r--r-- | sources/prefs/editors/VSAbstractEditor.java | 8 | ||||
| -rw-r--r-- | sources/prefs/editors/VSProcessEditor.java | 2 |
2 files changed, 1 insertions, 9 deletions
diff --git a/sources/prefs/editors/VSAbstractEditor.java b/sources/prefs/editors/VSAbstractEditor.java index 1b6351c..934fa2e 100644 --- a/sources/prefs/editors/VSAbstractEditor.java +++ b/sources/prefs/editors/VSAbstractEditor.java @@ -667,14 +667,6 @@ public abstract class VSAbstractEditor implements ActionListener { fullKeys.addAll(filterOut(prefsToAdd.getBooleanKeySet(), addOnlyThisVariables, VSPrefs.BOOLEAN_PREFIX)); fullKeys.addAll(filterOut(prefsToAdd.getStringKeySet(), addOnlyThisVariables, VSPrefs.STRING_PREFIX)); - /* - for (String key : integerKeys) fullKeys.add(VSPrefs.INTEGER_PREFIX + key); - for (String key : vectorKeys) fullKeys.add(VSPrefs.VECTOR_PREFIX + key); - for (String key : floatKeys) fullKeys.add(VSPrefs.FLOAT_PREFIX + key); - for (String key : longKeys) fullKeys.add(VSPrefs.LONG_PREFIX + key); - for (String key : booleanKeys) fullKeys.add(VSPrefs.BOOLEAN_PREFIX + key); - for (String key : stringKeys) fullKeys.add(VSPrefs.STRING_PREFIX + key); - */ Collections.sort(fullKeys); for (String fullKey : fullKeys) { diff --git a/sources/prefs/editors/VSProcessEditor.java b/sources/prefs/editors/VSProcessEditor.java index 1992d6c..bb09b0d 100644 --- a/sources/prefs/editors/VSProcessEditor.java +++ b/sources/prefs/editors/VSProcessEditor.java @@ -61,7 +61,7 @@ public class VSProcessEditor extends VSAbstractBetterEditor { String serverString = " " + prefs.getString("lang.server"); for (String protocolClassname : editableProtocolsClassnames) { - String protocolShortname = VSRegisteredEvents.getShortname(protocolClassname); + String protocolShortname = VSRegisteredEvents.getShortnameByClassname(protocolClassname); VSAbstractProtocol protocol = process.getProtocolObject(protocolClassname); protocol.onClientInit(); protocol.onServerInit(); |
