From fae58d2173039e70ad94075d49c0c500e935e454 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Tue, 27 May 2008 18:30:07 +0000 Subject: Refactored a bit. --- sources/prefs/editors/VSAbstractEditor.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'sources/prefs/editors/VSAbstractEditor.java') diff --git a/sources/prefs/editors/VSAbstractEditor.java b/sources/prefs/editors/VSAbstractEditor.java index 934fa2e..fe69a77 100644 --- a/sources/prefs/editors/VSAbstractEditor.java +++ b/sources/prefs/editors/VSAbstractEditor.java @@ -10,7 +10,7 @@ import javax.swing.*; import java.util.*; import utils.*; -import prefs.VSPrefs; +import prefs.*; // TODO: Auto-generated Javadoc /** @@ -317,14 +317,14 @@ public abstract class VSAbstractEditor implements ActionListener { Integer integer = prefsToEdit.getInteger(key); Integer initialSelection[] = { integer }; JComboBox valComboBox = new JComboBox(initialSelection); - VSPrefs.VSPrefRestriction settingRestriction = prefsToEdit.getRestriction(fullKey); + VSPrefsRestriction settingRestriction = prefsToEdit.getRestriction(fullKey); int minValue, maxValue; if (settingRestriction != null) { - VSPrefs.VSIntegerPrefRestriction integerVSPrefRestriction = - (VSPrefs.VSIntegerPrefRestriction) settingRestriction; - minValue = integerVSPrefRestriction.getMinValue(); - maxValue = integerVSPrefRestriction.getMaxValue(); + VSPrefsRestriction.VSIntegerPrefRestriction integerVSPrefsRestriction = + (VSPrefsRestriction.VSIntegerPrefRestriction) settingRestriction; + minValue = integerVSPrefsRestriction.getMinValue(); + maxValue = integerVSPrefsRestriction.getMaxValue(); } else { minValue = 0; -- cgit v1.2.3