|
Eclipse Platform Release 3.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IMemoryBlockManager
Manages registered memory blocks in the workspace. Clients interested in notification of the addition and removal of memory blocks may register as a memory block listener with the memory block manager.
This interface is not intended to be implemented by clients.
IMemoryBlock
,
IMemoryBlockListener
Method Summary | |
---|---|
void |
addListener(IMemoryBlockListener listener)
Registers the given listener for memory block addition and removal notification. |
void |
addMemoryBlocks(IMemoryBlock[] memoryBlocks)
Adds the given memory blocks to the memory block manager. |
IMemoryBlock[] |
getMemoryBlocks()
Returns all registered memory blocks. |
IMemoryBlock[] |
getMemoryBlocks(IDebugTarget debugTarget)
Returns all registered memory blocks associated with the given debug target. |
IMemoryBlock[] |
getMemoryBlocks(IMemoryBlockRetrieval source)
Returns all registered memory blocks that originated from the given memory retrieval source. |
void |
removeListener(IMemoryBlockListener listener)
Unregisters the given listener for memory block addition and removal notification. |
void |
removeMemoryBlocks(IMemoryBlock[] memoryBlocks)
Removes the given memory blocks from the memory block manager. |
Method Detail |
---|
void addMemoryBlocks(IMemoryBlock[] memoryBlocks)
memoryBlocks
- memory blocks to addvoid removeMemoryBlocks(IMemoryBlock[] memoryBlocks)
memoryBlocks
- memory blocks to removevoid addListener(IMemoryBlockListener listener)
listener
- the listener to addvoid removeListener(IMemoryBlockListener listener)
listener
- the listener to removeIMemoryBlock[] getMemoryBlocks()
IMemoryBlock[] getMemoryBlocks(IDebugTarget debugTarget)
getDebugTarget()
method returns the
specified debug target.
debugTarget
- target for which memory blocks have been requested
IMemoryBlock[] getMemoryBlocks(IMemoryBlockRetrieval source)
source
- source for which memory blocks have been requested
|
Eclipse Platform Release 3.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2000, 2006. All rights reserved.