mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-23 17:05:26 +02:00
Fix for bug 73168: Use memory view provided by Eclipse platform in CDT.
The CMemoryBlockextension is used as an adapter to "IMemoryBlockRetrieval".
This commit is contained in:
parent
0583121e43
commit
a0f0cb5366
2 changed files with 14 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
2004-12-21 Mikhail Khodjaiants
|
||||
Fix for bug 73168: Use memory view provided by Eclipse platform in CDT.
|
||||
The CMemoryBlockextension is used as an adapter to "IMemoryBlockRetrieval".
|
||||
* CMemoryBlockExtension.java
|
||||
|
||||
2004-12-21 Mikhail Khodjaiants
|
||||
Switch to the new memory view interfaces (Eclipse 3.1).
|
||||
* InternalDebugCoreMessages.properties
|
||||
|
|
|
@ -443,4 +443,13 @@ public class CMemoryBlockExtension extends CDebugElement implements IMemoryBlock
|
|||
// TODO Auto-generated method stub
|
||||
return 0;
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see org.eclipse.core.runtime.IAdaptable#getAdapter(java.lang.Class)
|
||||
*/
|
||||
public Object getAdapter( Class adapter ) {
|
||||
if ( IMemoryBlockRetrieval.class.equals( adapter ) )
|
||||
return getMemoryBlockRetrieval();
|
||||
return super.getAdapter( adapter );
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue