|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.mat.query.ContextDerivedData
public abstract class ContextDerivedData
Synthetic data columns
Nested Class Summary | |
---|---|
static interface |
ContextDerivedData.DerivedCalculator
A way of actually doing the calculations. |
static class |
ContextDerivedData.DerivedColumn
A column of data derived from the existing data. |
static class |
ContextDerivedData.DerivedOperation
A way of calculating the column values. |
Constructor Summary | |
---|---|
ContextDerivedData()
|
Method Summary | |
---|---|
abstract Column |
columnFor(ContextDerivedData.DerivedColumn derivedColumn,
IResult result,
ContextProvider provider)
Get a column ready to use, based on the derived column |
abstract ContextDerivedData.DerivedColumn[] |
getDerivedColumns()
Get all the derived columns for the current context (page) Do not modify the returned array. |
abstract java.lang.String |
labelFor(ContextDerivedData.DerivedColumn derivedColumn,
ContextProvider provider)
Get the label for the extra column |
ContextDerivedData.DerivedColumn |
lookup(ContextDerivedData.DerivedOperation operation)
Find the appropriate column for the requested operation |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ContextDerivedData()
Method Detail |
---|
public abstract ContextDerivedData.DerivedColumn[] getDerivedColumns()
public abstract java.lang.String labelFor(ContextDerivedData.DerivedColumn derivedColumn, ContextProvider provider)
derivedColumn
- provider
-
public abstract Column columnFor(ContextDerivedData.DerivedColumn derivedColumn, IResult result, ContextProvider provider)
derivedColumn
- result
- the original result to be enhancedprovider
- the provider of all the data
public final ContextDerivedData.DerivedColumn lookup(ContextDerivedData.DerivedOperation operation)
operation
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |