|
Eclipse Platform Release 3.1 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Allows debug models to customize the rendering of addresses for its memory blocks in table and text based renderings provided by the debug platform.
To contribute a memory block table presentation, implement your debug model
presentaion 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
contructs its column and row labels.
Clients may implement this interface.
Field Summary |
---|
Fields inherited from interface org.eclipse.debug.ui.IDebugModelPresentation |
---|
DISPLAY_VARIABLE_TYPE_NAMES |
Method Summary | |
---|---|
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. |
Methods inherited from interface org.eclipse.debug.ui.IDebugModelPresentation |
---|
computeDetail, getImage, getText, setAttribute |
Methods inherited from interface org.eclipse.jface.viewers.IBaseLabelProvider |
---|
addListener, dispose, isLabelProperty, removeListener |
Methods inherited from interface org.eclipse.debug.ui.ISourcePresentation |
---|
getEditorId, getEditorInput |
Method Detail |
public 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 into
AbstractTableRendering
rendering, or null
if default labels should be usedpublic String getRowLabel(IMemoryBlock blk, BigInteger address)
null
if default rendering should be used.
blk
- memory blockaddress
- an address in the memory block
null
if default rendering should be used
|
Eclipse Platform Release 3.1 |
|||||||||||
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, 2005. All rights reserved.