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:
parent
a94e86846a
commit
b33778110f
2 changed files with 7 additions and 0 deletions
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue