Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Recoskie2011-04-29 14:02:57 -0400
committerChris Recoskie2011-04-29 14:02:57 -0400
commit1ab1affd174bc80c05736ab24c749cd533f0b64b (patch)
tree917d3f7a92c6fd973cc3e20ce8c2f7fc95461cfc /build/org.eclipse.cdt.managedbuilder.ui
parentfe52e11b255ef0e09fc928b69adba8104492375e (diff)
downloadorg.eclipse.cdt-1ab1affd174bc80c05736ab24c749cd533f0b64b.tar.gz
org.eclipse.cdt-1ab1affd174bc80c05736ab24c749cd533f0b64b.tar.xz
org.eclipse.cdt-1ab1affd174bc80c05736ab24c749cd533f0b64b.zip
Bug 133881 - Make refreshing after building optional
Work in progress.
Diffstat (limited to 'build/org.eclipse.cdt.managedbuilder.ui')
-rw-r--r--build/org.eclipse.cdt.managedbuilder.ui/src/org/eclipse/cdt/managedbuilder/ui/properties/RefreshPolicyTab.java8
1 files changed, 8 insertions, 0 deletions
diff --git a/build/org.eclipse.cdt.managedbuilder.ui/src/org/eclipse/cdt/managedbuilder/ui/properties/RefreshPolicyTab.java b/build/org.eclipse.cdt.managedbuilder.ui/src/org/eclipse/cdt/managedbuilder/ui/properties/RefreshPolicyTab.java
index 437292770f..aaf9c77c89 100644
--- a/build/org.eclipse.cdt.managedbuilder.ui/src/org/eclipse/cdt/managedbuilder/ui/properties/RefreshPolicyTab.java
+++ b/build/org.eclipse.cdt.managedbuilder.ui/src/org/eclipse/cdt/managedbuilder/ui/properties/RefreshPolicyTab.java
@@ -28,6 +28,7 @@ import org.eclipse.cdt.ui.newui.AbstractCPropertyTab;
import org.eclipse.core.resources.IProject;
import org.eclipse.core.resources.IResource;
import org.eclipse.core.resources.ResourcesPlugin;
+import org.eclipse.core.runtime.CoreException;
import org.eclipse.core.runtime.IPath;
import org.eclipse.jface.dialogs.MessageDialog;
import org.eclipse.jface.viewers.ISelection;
@@ -600,5 +601,12 @@ public class RefreshPolicyTab extends AbstractCPropertyTab {
List<RefreshExclusion> exclusions = fResourceToExclusionsMap.get(resource);
fManager.setExclusions(resource, exclusions);
}
+
+ try {
+ fManager.persistSettings();
+ } catch (CoreException e) {
+ // TODO Auto-generated catch block
+ e.printStackTrace();
+ }
}
}

Back to the top