Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKen Ryall2008-02-12 14:40:19 -0500
committerKen Ryall2008-02-12 14:40:19 -0500
commit4d5369ea9369206e825377c5fcea7d85513437ef (patch)
tree781306f6dd0b087ecec3e19771cb95ee21257056
parentd5c66bfebb8955bc0b0dbbeb4be2c65483c2f209 (diff)
downloadorg.eclipse.cdt-4d5369ea9369206e825377c5fcea7d85513437ef.tar.gz
org.eclipse.cdt-4d5369ea9369206e825377c5fcea7d85513437ef.tar.xz
org.eclipse.cdt-4d5369ea9369206e825377c5fcea7d85513437ef.zip
Bug 218085
-rw-r--r--debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/sourcelookup/CSourceNotFoundEditor.java12
1 files changed, 11 insertions, 1 deletions
diff --git a/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/sourcelookup/CSourceNotFoundEditor.java b/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/sourcelookup/CSourceNotFoundEditor.java
index dac52b2fb4..f25c508926 100644
--- a/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/sourcelookup/CSourceNotFoundEditor.java
+++ b/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/sourcelookup/CSourceNotFoundEditor.java
@@ -338,5 +338,15 @@ public class CSourceNotFoundEditor extends CommonSourceNotFoundEditor {
}
return false;
}
-
+ /**
+ * @Override
+ * @see org.eclipse.debug.ui.sourcelookup.CommonSourceNotFoundEditor#getArtifact()
+ */
+ protected Object getArtifact() {
+ Object o = super.getArtifact();
+ if (o instanceof CSourceNotFoundElement) {
+ return ((CSourceNotFoundElement) o).getElement();
+ }
+ return o;
+ }
}

Back to the top