org.eclipse.mat.query
Class DetailResultProvider

java.lang.Object
  extended by org.eclipse.mat.query.DetailResultProvider

public abstract class DetailResultProvider
extends java.lang.Object

Used to give more detailed information about rows in a table.


Constructor Summary
DetailResultProvider(java.lang.String label)
          Constructor with a description.
 
Method Summary
 java.lang.String getLabel()
           
abstract  IResult getResult(java.lang.Object row, IProgressListener listener)
          Get more data about the row.
abstract  boolean hasResult(java.lang.Object row)
          Whether there is any data for this row
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DetailResultProvider

public DetailResultProvider(java.lang.String label)
Constructor with a description.

Parameters:
label -
Method Detail

getLabel

public final java.lang.String getLabel()

hasResult

public abstract boolean hasResult(java.lang.Object row)
Whether there is any data for this row

Parameters:
row -
Returns:
true if getResult is to be called

getResult

public abstract IResult getResult(java.lang.Object row,
                                  IProgressListener listener)
                           throws SnapshotException
Get more data about the row.

Parameters:
row -
listener - to indicate progress or errors
Returns:
the extra generated results
Throws:
SnapshotException