@Override
public Configuration provideConfiguration(Shell shell,
Configuration oldConfiguration) {
extractContent(oldConfiguration);
OptionsDialog dialog = new OptionsDialog(shell);
dialog.setSpinnerValue(scaleValue);
if (dialog.open() != Window.OK)
return null;
scaleValue = dialog.getSpinnerValue();
return serializeConfiguration();
}