From d0b6e434d76cfea9e3096f0d50706c9a286a4b9d Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Mon, 26 May 2008 15:59:39 +0000 Subject: VSPrefs sorted. --- sources/prefs/editors/VSEditor.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'sources/prefs/editors/VSEditor.java') diff --git a/sources/prefs/editors/VSEditor.java b/sources/prefs/editors/VSEditor.java index 35bacea..13d1f02 100644 --- a/sources/prefs/editors/VSEditor.java +++ b/sources/prefs/editors/VSEditor.java @@ -309,14 +309,14 @@ public abstract class VSEditor implements ActionListener { Integer integer = prefsToEdit.getInteger(key); Integer initialSelection[] = { integer }; JComboBox valComboBox = new JComboBox(initialSelection); - VSPrefs.SettingRestriction settingRestriction = prefsToEdit.getRestriction(fullKey); + VSPrefs.VSPrefRestriction settingRestriction = prefsToEdit.getRestriction(fullKey); int minValue, maxValue; if (settingRestriction != null) { - VSPrefs.IntegerSettingRestriction integerSettingRestriction = - (VSPrefs.IntegerSettingRestriction) settingRestriction; - minValue = integerSettingRestriction.getMinValue(); - maxValue = integerSettingRestriction.getMaxValue(); + VSPrefs.VSIntegerPrefRestriction integerVSPrefRestriction = + (VSPrefs.VSIntegerPrefRestriction) settingRestriction; + minValue = integerVSPrefRestriction.getMinValue(); + maxValue = integerVSPrefRestriction.getMaxValue(); } else { minValue = 0; -- cgit v1.2.3