Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOleg Krasilnikov2008-02-11 08:55:20 -0500
committerOleg Krasilnikov2008-02-11 08:55:20 -0500
commit8d7178b06a4702a7c9f7a25ccfc241c25ba7774f (patch)
tree07a4843c210e0ba199e55c33bcc351e8e5ac5d56
parent5fc7679c0501535b77f835e5fc2d79f9435065c5 (diff)
downloadorg.eclipse.cdt-8d7178b06a4702a7c9f7a25ccfc241c25ba7774f.tar.gz
org.eclipse.cdt-8d7178b06a4702a7c9f7a25ccfc241c25ba7774f.tar.xz
org.eclipse.cdt-8d7178b06a4702a7c9f7a25ccfc241c25ba7774f.zip
Bug #218490 : restore defaults for source file doesn't work
-rw-r--r--build/org.eclipse.cdt.managedbuilder.ui/src/org/eclipse/cdt/managedbuilder/ui/properties/ToolSettingsTab.java6
1 files changed, 2 insertions, 4 deletions
diff --git a/build/org.eclipse.cdt.managedbuilder.ui/src/org/eclipse/cdt/managedbuilder/ui/properties/ToolSettingsTab.java b/build/org.eclipse.cdt.managedbuilder.ui/src/org/eclipse/cdt/managedbuilder/ui/properties/ToolSettingsTab.java
index 383c8326dd..7c19211c25 100644
--- a/build/org.eclipse.cdt.managedbuilder.ui/src/org/eclipse/cdt/managedbuilder/ui/properties/ToolSettingsTab.java
+++ b/build/org.eclipse.cdt.managedbuilder.ui/src/org/eclipse/cdt/managedbuilder/ui/properties/ToolSettingsTab.java
@@ -395,13 +395,11 @@ public class ToolSettingsTab extends AbstractCBuildPropertyTab implements IPrefe
* (non-Javadoc)
* @see org.eclipse.cdt.ui.dialogs.ICOptionPage#performDefaults()
*/
- public void performDefaults() {
+ protected void performDefaults() {
if (page.isForProject()) {
ManagedBuildManager.resetConfiguration(page.getProject(), getCfg());
} else {
-// ManagedBuildManager.resetResourceConfiguration(provider.getProject(), );
-// ManagedBuildManager.performValueHandlerEvent(fInfo, IManagedOptionValueHandler.EVENT_SETDEFAULT);
-
+ ManagedBuildManager.resetOptionSettings(fInfo);
}
ITool tools[];
if (page.isForProject())

Back to the top