public interface IAddMemoryRenderingsTarget
Typically, to add a memory rendering, client needs to do the following:
IMemoryBlockManager)IMemoryRenderingTypeDelegateIMemoryRenderingSite)IMemoryRenderingContainer)Clients may implement this interface.
AddMemoryRenderingActionDelegate| Modifier and Type | Method and Description |
|---|---|
void |
addMemoryRenderings(IWorkbenchPart part,
ISelection selection,
IMemoryRenderingType[] renderingTypes)
Adds memory renderings.
|
boolean |
canAddMemoryRenderings(IWorkbenchPart part,
ISelection selection)
Returns whether a memory rendering can be added from the specified
part, based on the the given selection, which is the active debug context
in the current workbench window.
|
IMemoryRenderingType[] |
getMemoryRenderingTypes(IWorkbenchPart part,
ISelection selection)
Returns a list of rendering types that can be added from the given workbench part and active
debug context, possibly empty.
|
boolean canAddMemoryRenderings(IWorkbenchPart part, ISelection selection)
part - the part on which the action has been invokedselection - the active debug context in the active workbench windowCoreException - if an error has occurredvoid addMemoryRenderings(IWorkbenchPart part, ISelection selection, IMemoryRenderingType[] renderingTypes) throws CoreException
part - the part on which the action has been invokedselection - the active debug contextrenderingTypes - renderings to addCoreException - if unable to perform the actionIMemoryBlockRetrieval,
IMemoryRenderingManager,
IMemoryBlockManager,
IMemoryRenderingSite,
IMemoryRenderingContainerIMemoryRenderingType[] getMemoryRenderingTypes(IWorkbenchPart part, ISelection selection)
part - the part on which the action has been invokedselection - the active debug contextGuidelines for using Eclipse APIs. Copyright (c) IBM Corp. and others 2000, 2006. All rights reserved.