Exemple #1
0
 @Override
 protected void doLoadDefault() {
   int value = getPreferenceStore().getDefaultInt(getPreferenceName());
   spinner.setSelection(new BigDecimal(value));
   valueChanged();
 }
Exemple #2
0
 @Override
 protected void doLoad() {
   int value = getPreferenceStore().getInt(getPreferenceName());
   spinner.setSelection(new BigDecimal(value));
   oldValue = value;
 }