public interface IAddMemoryBlocksTarget
IAdaptable) of this type.
Clients may implement this interface.
|Modifier and Type||Method and Description|
Perform an add memory block on the given element that is currently selected in the Debug view.
Returns whether an add memory block operation can be performed from the specified part and the given selection.
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 invoked
selection- the selection on which the action has been invoked
trueif the add memory block operation can be performed from the given part and selection,
CoreException- if unable to perform the action
boolean supportsAddMemoryBlocks(IWorkbenchPart part)
part- the workbench part to check
void addMemoryBlocks(IWorkbenchPart part, ISelection selection) throws CoreException
IMemoryBlockManagerIn addition, implementations must query to see if default renderings should be created for the given memory block and add these renderings accordingly.
Copyright (c) 2000, 2017 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.