Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 


Eclipse Platform
Release 3.5

org.eclipse.debug.ui.actions
Interface IAddMemoryBlocksTarget


public interface IAddMemoryBlocksTarget

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.

Since:
3.2

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

canAddMemoryBlocks

boolean canAddMemoryBlocks(
IWorkbenchPart part,
                           
ISelection selection)
                           throws 
CoreException
Returns whether an add memory block operation can be performed from the specified part and the given selection.

Parameters:
part - the part on which the action has been invoked
selection - the selection on which the action has been invoked
Throws:
CoreException - if unable to perform the action

supportsAddMemoryBlocks

boolean supportsAddMemoryBlocks(
IWorkbenchPart part)
Returns whether this target will support adding memory block from the specified part.

Parameters:
part -
Returns:
true if the target wants to support adding memory block from the given part, false otherwise.

addMemoryBlocks

void addMemoryBlocks(
IWorkbenchPart part,
                     
ISelection selection)
                     throws 
CoreException
Perform an add memory block on the given element that is currently selected in the Debug view. If a memory block can be successfully created, implementations must add the resulted memory block to IMemoryBlockManager In addition, implementations must query to see if default renderings should be created for the given memory block and add these renderings accordingly.

Parameters:
part - the part on which the action has been invoked
selection - the selection on which the action has been invoked
Throws:
CoreException - if unable to perform the action
See Also:
IMemoryBlockRetrieval, IMemoryRenderingManager, IMemoryBlockManager

Eclipse Platform
Release 3.5

Guidelines for using Eclipse APIs.

Copyright (c) Eclipse contributors and others 2000, 2008. All rights reserved.


 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire