mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
Changed the 'getAdapter' method of 'CSourceManager' to return the adapter of the 'ICSourceLocator' class.
This commit is contained in:
parent
e8cea36679
commit
60d1a002c7
2 changed files with 7 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
2003-10-27 Mikhail Khodjaiants
|
||||
Changed the 'getAdapter' method of 'CSourceManager' to return the adapter of
|
||||
the 'ICSourceLocator' class.
|
||||
* CSourceManager.java
|
||||
|
||||
2003-10-26 Mikhail Khodjaiants
|
||||
Fix for PR 45534: gdb/MI error in retrieving a register can lead to an empty register pane.
|
||||
* CRegister.java
|
||||
|
|
|
@ -136,6 +136,8 @@ public class CSourceManager implements ICSourceLocator,
|
|||
{
|
||||
if ( adapter.equals( CSourceManager.class ) )
|
||||
return this;
|
||||
if ( adapter.equals( ICSourceLocator.class ) )
|
||||
return this;
|
||||
if ( adapter.equals( IResourceChangeListener.class ) &&
|
||||
fSourceLocator instanceof IResourceChangeListener )
|
||||
return fSourceLocator;
|
||||
|
|
Loading…
Add table
Reference in a new issue