public abstract class DetailResultProvider extends Object
Constructor and Description |
---|
DetailResultProvider(String label)
Constructor of object to enhance details of rows of a table.
|
Modifier and Type | Method and Description |
---|---|
URL |
getIcon()
The icon associated with this provider.
|
String |
getLabel()
The description, which can be used as an extra menu item name.
|
abstract IResult |
getResult(Object row,
IProgressListener listener)
Get more data about the row.
|
abstract boolean |
hasResult(Object row)
Whether there is any data for this row
|
public DetailResultProvider(String label)
label
- the description used for example as a query menu item or as a link in an HTML report.public final String getLabel()
public URL getIcon()
public abstract boolean hasResult(Object row)
row
- the opaque data representing the rowpublic abstract IResult getResult(Object row, IProgressListener listener) throws SnapshotException
row
- the opaque object for finding the rowlistener
- to indicate progress or errorsSnapshotException
- if there was a problem getting the result