public interface IStructuredResult extends IResult
Custom queries are expected to implement IResultTable or
IResultTree.
| Modifier and Type | Method and Description |
|---|---|
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.
|
getResultMetaDataColumn[] 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.