public void onResponseReceived(Void response)
{
indicator.onCompleted();
// update project ui prefs
RProjectConfig config = options.getConfig();
UIPrefs uiPrefs = pUIPrefs_.get();
uiPrefs.useSpacesForTab().setProjectValue(
config.getUseSpacesForTab());
uiPrefs.numSpacesForTab().setProjectValue(
config.getNumSpacesForTab());
uiPrefs.autoAppendNewline().setProjectValue(
config.getAutoAppendNewline());
uiPrefs.stripTrailingWhitespace().setProjectValue(
config.getStripTrailingWhitespace());
uiPrefs.defaultEncoding().setProjectValue(
config.getEncoding());
uiPrefs.defaultSweaveEngine().setProjectValue(
config.getDefaultSweaveEngine());
uiPrefs.defaultLatexProgram().setProjectValue(
config.getDefaultLatexProgram());
uiPrefs.rootDocument().setProjectValue(
config.getRootDocument());
uiPrefs.useRoxygen().setProjectValue(
config.hasPackageRoxygenize());
// convert packrat option changes to console actions
emitPackratConsoleActions(options.getPackratOptions());
if (onCompleted != null)