public interface IMemoryBlockTablePresentation extends IDebugModelPresentation
To contribute a memory block table presentation, implement your debug model
presentation as documented in org.eclipse.debug.ui.IDebugModelPresentation
.
In addition, implement this interface in your debug model presentation. Your model
presentation will be called when org.eclipse.debug.ui.memory.AbstractTableRendering
constructs its column and row labels.
Clients may implement this interface.
DISPLAY_VARIABLE_TYPE_NAMES
Modifier and Type | Method and Description |
---|---|
String[] |
getColumnLabels(IMemoryBlock blk,
int bytesPerLine,
int numColumns)
Returns a collection of labels to head columns in a
AbstractTableRendering
rendering, or null if default labels should be used. |
String |
getRowLabel(IMemoryBlock blk,
BigInteger address)
Renders and returns a label for a row starting at the given address within the given
memory block, or
null if default rendering should be used. |
computeDetail, getImage, getText, setAttribute
addListener, dispose, isLabelProperty, removeListener
getEditorId, getEditorInput
String[] getColumnLabels(IMemoryBlock blk, int bytesPerLine, int numColumns)
AbstractTableRendering
rendering, or null
if default labels should be used.blk
- memory blockbytesPerLine
- the number if bytes to be displayednumColumns
- the number of columns the bytes are divided intoAbstractTableRendering
rendering, or null
if default labels should be usedString getRowLabel(IMemoryBlock blk, BigInteger address)
null
if default rendering should be used.blk
- memory blockaddress
- an address in the memory blocknull
if default rendering should be used
Copyright (c) 2000, 2018 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.