mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-23 22:52:11 +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;
|
||||
}
|
||||
|
||||
/**
|
||||
* @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