Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVladimir Hirsl2005-03-02 19:02:44 +0000
committerVladimir Hirsl2005-03-02 19:02:44 +0000
commitd6508107f745b5dafd467c4da6b2369cb54f0b91 (patch)
treecae5591351aeb4f0d0a5eea96cd258c212f62603 /build/org.eclipse.cdt.make.ui
parent5e2403f3f3cc569f2957e412e7f923fa0441b21d (diff)
downloadorg.eclipse.cdt-d6508107f745b5dafd467c4da6b2369cb54f0b91.tar.gz
org.eclipse.cdt-d6508107f745b5dafd467c4da6b2369cb54f0b91.tar.xz
org.eclipse.cdt-d6508107f745b5dafd467c4da6b2369cb54f0b91.zip
SCD profiles: integration with CPathEntry framework.
Added generation of path entry change deltas for per file discovery profile.
Diffstat (limited to 'build/org.eclipse.cdt.make.ui')
-rw-r--r--build/org.eclipse.cdt.make.ui/src/org/eclipse/cdt/make/ui/dialogs/DiscoveredPathContainerPage.java2
-rw-r--r--build/org.eclipse.cdt.make.ui/src/org/eclipse/cdt/make/ui/dialogs/DiscoveryOptionsBlock.java7
2 files changed, 6 insertions, 3 deletions
diff --git a/build/org.eclipse.cdt.make.ui/src/org/eclipse/cdt/make/ui/dialogs/DiscoveredPathContainerPage.java b/build/org.eclipse.cdt.make.ui/src/org/eclipse/cdt/make/ui/dialogs/DiscoveredPathContainerPage.java
index 4ee54ae160c..1d711b6917e 100644
--- a/build/org.eclipse.cdt.make.ui/src/org/eclipse/cdt/make/ui/dialogs/DiscoveredPathContainerPage.java
+++ b/build/org.eclipse.cdt.make.ui/src/org/eclipse/cdt/make/ui/dialogs/DiscoveredPathContainerPage.java
@@ -205,7 +205,7 @@ public class DiscoveredPathContainerPage extends WizardPage implements IPathEntr
try {
// update scanner configuration
- MakeCorePlugin.getDefault().getDiscoveryManager().updateDiscoveredInfo(info);
+ MakeCorePlugin.getDefault().getDiscoveryManager().updateDiscoveredInfo(info, null);
return true;
} catch (CoreException e) {
MakeCorePlugin.log(e);
diff --git a/build/org.eclipse.cdt.make.ui/src/org/eclipse/cdt/make/ui/dialogs/DiscoveryOptionsBlock.java b/build/org.eclipse.cdt.make.ui/src/org/eclipse/cdt/make/ui/dialogs/DiscoveryOptionsBlock.java
index c38e481db2c..63af2db24cd 100644
--- a/build/org.eclipse.cdt.make.ui/src/org/eclipse/cdt/make/ui/dialogs/DiscoveryOptionsBlock.java
+++ b/build/org.eclipse.cdt.make.ui/src/org/eclipse/cdt/make/ui/dialogs/DiscoveryOptionsBlock.java
@@ -22,8 +22,8 @@ import org.eclipse.cdt.core.model.IPathEntry;
import org.eclipse.cdt.make.core.MakeCorePlugin;
import org.eclipse.cdt.make.core.MakeProjectNature;
import org.eclipse.cdt.make.core.scannerconfig.IScannerConfigBuilderInfo2;
-import org.eclipse.cdt.make.core.scannerconfig.ScannerConfigScope;
import org.eclipse.cdt.make.core.scannerconfig.ScannerConfigNature;
+import org.eclipse.cdt.make.core.scannerconfig.ScannerConfigScope;
import org.eclipse.cdt.make.internal.core.scannerconfig.DiscoveredPathContainer;
import org.eclipse.cdt.make.internal.core.scannerconfig2.ScannerConfigProfileManager;
import org.eclipse.cdt.make.internal.ui.MakeUIPlugin;
@@ -331,7 +331,10 @@ public class DiscoveryOptionsBlock extends AbstractDiscoveryOptionsBlock {
String profileId = getBuildInfo().getSelectedProfileId();
ScannerConfigScope profileScope = ScannerConfigProfileManager.getInstance().
getSCProfileConfiguration(profileId).getProfileScope();
- MakeCorePlugin.getDefault().getDiscoveryManager().changeDiscoveredContainer(project, profileScope);
+ List changedResources = new ArrayList();
+ changedResources.add(project.getFullPath());
+ MakeCorePlugin.getDefault().getDiscoveryManager().changeDiscoveredContainer(
+ project, profileScope, changedResources);
}
private void populateBuildInfo(IScannerConfigBuilderInfo2 buildInfo) {

Back to the top