|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IStructuredResult
Interface for structured results (i.e. tree and tables).
Custom queries are expected to implement IResultTable
or
IResultTree
.
Method Summary | |
---|---|
Column[] |
getColumns()
The columns of the tree or table. |
Object |
getColumnValue(Object row,
int columnIndex)
Returns the (unformatted) value of a table/tree cell. |
IContextObject |
getContext(Object row)
The default context of the row which is used to display information in the object inspector. |
Methods inherited from interface org.eclipse.mat.query.IResult |
---|
getResultMetaData |
Method Detail |
---|
Column[] getColumns()
Object getColumnValue(Object row, int columnIndex)
row
- The row object as returned by the
IResultTable.getRow(int)
or
IResultTree.getElements()
or
IResultTree.getChildren(Object)
methodscolumnIndex
- The index of the column.IContextObject getContext(Object row)
ResultMetaData
, it is also used for the context menu on a row.
row
- The row object as returned by the
IResultTable.getRow(int)
or
IResultTree.getElements()
or
IResultTree.getChildren(Object)
methods.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |