1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00

CSourceManager.java: implements adapters for 'ISourceMode' and 'IPersistableSourceLocator'.

This commit is contained in:
Mikhail Khodjaiants 2003-10-30 20:39:47 +00:00
parent a94e86846a
commit b33778110f
2 changed files with 7 additions and 0 deletions

View file

@ -1,3 +1,6 @@
2003-10-30 Mikhail Khodjaiants
* CSourceManager.java: implements adapters for 'ISourceMode' and 'IPersistableSourceLocator'.
2003-10-30 Mikhail Khodjaiants
Fix for PR 45818 doesn't solve the problem. Fall back to the previous version.
* CDebugElement.java

View file

@ -138,6 +138,10 @@ public class CSourceManager implements ICSourceLocator,
return this;
if ( adapter.equals( ICSourceLocator.class ) )
return this;
if ( adapter.equals( ISourceMode.class ) )
return this;
if ( adapter.equals( IPersistableSourceLocator.class ) )
return this;
if ( adapter.equals( IResourceChangeListener.class ) &&
fSourceLocator instanceof IResourceChangeListener )
return fSourceLocator;