|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.mat.inspections.BigDropsQuery
public class BigDropsQuery
Nested Class Summary | |
---|---|
static class |
BigDropsQuery.BigDropEntry
|
Field Summary | |
---|---|
Pattern |
pattern
|
ISnapshot |
snapshot
|
int |
thresholdPercent
|
Constructor Summary | |
---|---|
BigDropsQuery()
|
Method Summary | |
---|---|
IResult |
execute(IProgressListener listener)
The execute method is called after all arguments have been injected into the query instance. |
List<?> |
getChildren(Object parent)
Returns the child elements of the given parent. |
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. |
ContextProvider[] |
getContextProviders()
|
List<?> |
getElements()
Returns the root elements of the tree. |
ResultMetaData |
getResultMetaData()
(Optionally) Return meta data of the result needed to fine-tune the display of the result. |
boolean |
hasChildren(Object parent)
Returns whether the given element has children. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public ISnapshot snapshot
public Pattern pattern
public int thresholdPercent
Constructor Detail |
---|
public BigDropsQuery()
Method Detail |
---|
public IResult execute(IProgressListener listener) throws Exception
IQuery
TextResult
, CompositeResult
, SectionSpec
etc.
execute
in interface IQuery
listener
- Monitor to report progress and check for cancellation.
Exception
public ResultMetaData getResultMetaData()
IResult
getResultMetaData
in interface IResult
public Column[] getColumns()
IStructuredResult
getColumns
in interface IStructuredResult
public List<?> getChildren(Object parent)
IResultTree
getChildren
in interface IResultTree
parent
- The row object as returned by the
IResultTree.getElements()
or
IResultTree.getChildren(Object)
methods.public Object getColumnValue(Object row, int columnIndex)
IStructuredResult
getColumnValue
in interface IStructuredResult
row
- The row object as returned by the
IResultTable.getRow(int)
or
IResultTree.getElements()
or
IResultTree.getChildren(Object)
methodscolumnIndex
- The index of the column.public List<?> getElements()
IResultTree
getElements
in interface IResultTree
IResultTree.getChildren(Object)
or
IStructuredResult.getContext(Object)
or
IStructuredResult.getColumnValue(Object, int)
.public boolean hasChildren(Object parent)
IResultTree
hasChildren
in interface IResultTree
public IContextObject getContext(Object row)
IStructuredResult
ResultMetaData
, it is also used for the context menu on a row.
getContext
in interface IStructuredResult
row
- The row object as returned by the
IResultTable.getRow(int)
or
IResultTree.getElements()
or
IResultTree.getChildren(Object)
methods.public ContextProvider[] getContextProviders()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |