Skip to main content
summaryrefslogtreecommitdiffstats
path: root/debug
diff options
context:
space:
mode:
authorJohn Cortell2011-04-15 11:53:30 -0400
committerJohn Cortell2011-04-15 11:53:30 -0400
commitfd479f4b3d3f626ae0567a72ba604e933c1efd28 (patch)
tree349ec73bdc0e6b161f3e47cf80599b652d3521f9 /debug
parenteda84b573ebe65fb0efb0ce3532602ae7b5f239e (diff)
downloadorg.eclipse.cdt-fd479f4b3d3f626ae0567a72ba604e933c1efd28.tar.gz
org.eclipse.cdt-fd479f4b3d3f626ae0567a72ba604e933c1efd28.tar.xz
org.eclipse.cdt-fd479f4b3d3f626ae0567a72ba604e933c1efd28.zip
Bug 342141 - Executables view content goes stale in various scenarios [corrected inadvertent API breakage]
Diffstat (limited to 'debug')
-rw-r--r--debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/core/executables/ExecutablesManager.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/core/executables/ExecutablesManager.java b/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/core/executables/ExecutablesManager.java
index eeab24b4c9..63ee59d332 100644
--- a/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/core/executables/ExecutablesManager.java
+++ b/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/core/executables/ExecutablesManager.java
@@ -41,6 +41,7 @@ import org.eclipse.cdt.internal.core.model.CModelManager;
import org.eclipse.core.resources.IProject;
import org.eclipse.core.resources.IProjectDescription;
import org.eclipse.core.resources.IResourceChangeEvent;
+import org.eclipse.core.resources.IResourceChangeListener;
import org.eclipse.core.resources.ResourcesPlugin;
import org.eclipse.core.runtime.CoreException;
import org.eclipse.core.runtime.IConfigurationElement;
@@ -71,7 +72,7 @@ import org.eclipse.debug.core.sourcelookup.ISourceLookupParticipant;
* @author Ken Ryall
*
*/
-public class ExecutablesManager extends PlatformObject implements ICProjectDescriptionListener, IElementChangedListener {
+public class ExecutablesManager extends PlatformObject implements ICProjectDescriptionListener, IElementChangedListener, IResourceChangeListener {
private static final String EXECUTABLES_MANAGER_DEBUG_TRACING = CDebugCorePlugin.PLUGIN_ID + "EXECUTABLES_MANAGER_DEBUG_TRACING"; //$NON-NLS-1$
@@ -617,6 +618,7 @@ public class ExecutablesManager extends PlatformObject implements ICProjectDescr
}
/**
+ * @see org.eclipse.core.resources.IResourceChangeListener#resourceChanged(org.eclipse.core.resources.IResourceChangeEvent)
* @since 7.0
* @deprecated we no longer listen directly for platform resource changes
* but rather C model changes

Back to the top