mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-07 09:46:02 +02:00
Bug 218085
This commit is contained in:
parent
45dc1738ed
commit
2cd3d0b3a1
1 changed files with 11 additions and 1 deletions
|
@ -341,5 +341,15 @@ public class CSourceNotFoundEditor extends CommonSourceNotFoundEditor {
|
||||||
}
|
}
|
||||||
return false;
|
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;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue