public interface IAddMemoryBlocksTarget
IAdaptable
) of this type.
Clients may implement this interface.
Modifier and Type | Method and Description |
---|---|
void |
addMemoryBlocks(IWorkbenchPart part,
ISelection selection)
Perform an add memory block on the given element that is
currently selected in the Debug view.
|
boolean |
canAddMemoryBlocks(IWorkbenchPart part,
ISelection selection)
Returns whether an add memory block operation can be performed from the specified
part and the given selection.
|
boolean |
supportsAddMemoryBlocks(IWorkbenchPart part)
Returns whether this target will support adding memory block from the specified
part.
|
boolean canAddMemoryBlocks(IWorkbenchPart part, ISelection selection) throws CoreException
part
- the part on which the action has been invokedselection
- the selection on which the action has been invokedtrue
if the add memory block operation can be performed from the given part and selection, false
otherwiseCoreException
- if unable to perform the actionboolean supportsAddMemoryBlocks(IWorkbenchPart part)
part
- the workbench part to checkvoid addMemoryBlocks(IWorkbenchPart part, ISelection selection) throws CoreException
IMemoryBlockManager
In addition, implementations must query to see if default renderings should be created
for the given memory block and add these renderings accordingly.part
- the part on which the action has been invokedselection
- the selection on which the action has been invokedCoreException
- if unable to perform the actionIMemoryBlockRetrieval
,
IMemoryRenderingManager
,
IMemoryBlockManager
Copyright (c) 2000, 2014 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.