Boolean update = prefSupport.getBooleanPreferencesValue(ComposerPreferenceConstants.SAVEACTION_UPDATE, false, project);
update = update && (newDepSinceLastSave || newDevDepSinceLastSave);
if (update) {
ComposerJob job;
if (newDevDepSinceLastSave || hasDevDepsInstalled()) {
job = new UpdateDevJob(project);
} else {
job = new UpdateJob(project);
}
job.setUser(false);
job.schedule();
newDepSinceLastSave = false;
newDevDepSinceLastSave = false;
}