diff options
| author | Paul Buetow <paul@buetow.org> | 2008-05-27 18:30:07 +0000 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2008-05-27 18:30:07 +0000 |
| commit | fae58d2173039e70ad94075d49c0c500e935e454 (patch) | |
| tree | 9355d04c9df9a22412e0d83717667f7ee5e2507b /sources/prefs/editors/VSAbstractEditor.java | |
| parent | 6c84bc4be038bc9004622f4ee2cac600a909aea1 (diff) | |
Refactored a bit.
Diffstat (limited to 'sources/prefs/editors/VSAbstractEditor.java')
| -rw-r--r-- | sources/prefs/editors/VSAbstractEditor.java | 12 |
1 files changed, 6 insertions, 6 deletions
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; |
