public interface IAddMemoryRenderingsTarget
Typically, to add a memory rendering, client needs to do the following:
IMemoryBlockManager
)IMemoryRenderingTypeDelegate
IMemoryRenderingSite
)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 windowtrue
if a memory rendering can be added from the specified
part with the given selection, false
otherwisevoid 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
,
IMemoryRenderingContainer
IMemoryRenderingType[] getMemoryRenderingTypes(IWorkbenchPart part, ISelection selection)
part
- the part on which the action has been invokedselection
- the active debug context
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.