|
Eclipse Platform Release 3.2 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
An adapter for an "add memory block" operation. The Memory View provides
a retargettable "add memory block" action that debuggers may plug into
by providing an adapter (see IAdaptable
) of this type.
Clients may implement this interface.
Method Summary | |
---|---|
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. |
Method Detail |
public 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 invoked
CoreException
- if unable to perform the actionpublic boolean supportsAddMemoryBlocks(IWorkbenchPart part)
part
-
public void 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 invoked
CoreException
- if unable to perform the actionIMemoryBlockRetrieval
,
IMemoryRenderingManager
,
IMemoryBlockManager
|
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.