Package org.eclipse.debug.ui.memory
Interface IRepositionableMemoryRendering
- All Superinterfaces:
IAdaptable,IMemoryRendering
- All Known Implementing Classes:
org.eclipse.debug.internal.ui.views.memory.renderings.AbstractBaseTableRendering,AbstractTableRendering,AbstractTextRendering
A memory rendering that can be repositioned. Reposition behavior is rendering
specific. Typically, reposition means that the rendering should move its
cursor/current selection to the given address. However, clients may define
its reposition behavior that is suitable for the rendering.
Clients may implement this interface.
- Since:
- 3.3
-
Method Summary
Modifier and TypeMethodDescriptionReturns the currently selected address of this rendering ornullif noneReturns the currently selected content asMemoryBytearray.voidgoToAddress(BigInteger address) Position the rendering to the given address.Methods inherited from interface org.eclipse.core.runtime.IAdaptable
getAdapterMethods inherited from interface org.eclipse.debug.ui.memory.IMemoryRendering
activated, addPropertyChangeListener, becomesHidden, becomesVisible, createControl, deactivated, dispose, getControl, getImage, getLabel, getMemoryBlock, getRenderingId, init, removePropertyChangeListener
-
Method Details
-
getSelectedAddress
BigInteger getSelectedAddress()Returns the currently selected address of this rendering ornullif none- Returns:
- the currently selected address of this rendering or
nullif none
-
getSelectedAsBytes
MemoryByte[] getSelectedAsBytes()Returns the currently selected content asMemoryBytearray. Returns an empty array if there is no selection.- Returns:
- the currently selected as
MemoryBytearray or empty if there is no selection.
-
goToAddress
Position the rendering to the given address.- Parameters:
address- the address to go to- Throws:
DebugException- when there is a problem repositioning the rendering to the address
-