|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.mat.inspections.DuplicatedClassesQuery
public class DuplicatedClassesQuery
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.eclipse.mat.report.ITestResult |
---|
ITestResult.Status |
Field Summary | |
---|---|
ISnapshot |
snapshot
|
Fields inherited from interface org.eclipse.mat.query.IIconProvider |
---|
EMPTY |
Fields inherited from interface org.eclipse.mat.query.ISelectionProvider |
---|
EMPTY |
Constructor Summary | |
---|---|
DuplicatedClassesQuery()
|
Method Summary | |
---|---|
IResult |
execute(IProgressListener listener)
The execute method is called after all arguments have been injected into the query instance. |
java.util.List<?> |
getChildren(java.lang.Object parent)
Returns the child elements of the given parent. |
Column[] |
getColumns()
The columns of the tree or table. |
java.lang.Object |
getColumnValue(java.lang.Object element,
int columnIndex)
Returns the (unformatted) value of a table/tree cell. |
IContextObject |
getContext(java.lang.Object element)
The default context of the row which is used to display information in the object inspector. |
java.util.List<?> |
getElements()
Returns the root elements of the tree. |
java.net.URL |
getIcon(java.lang.Object element)
|
ResultMetaData |
getResultMetaData()
(Optionally) Return meta data of the result needed to fine-tune the display of the result. |
ITestResult.Status |
getStatus()
|
boolean |
hasChildren(java.lang.Object parent)
Returns whether the given element has children. |
boolean |
isExpanded(java.lang.Object row)
Should this node be expanded. |
boolean |
isSelected(java.lang.Object row)
Has the user selected this row |
java.lang.String |
prefix(java.lang.Object row)
Add before the object for example <local> |
java.lang.String |
suffix(java.lang.Object row)
Add after the object |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public ISnapshot snapshot
Constructor Detail |
---|
public DuplicatedClassesQuery()
Method Detail |
---|
public IResult execute(IProgressListener listener) throws java.lang.Exception
IQuery
execute
in interface IQuery
listener
- Monitor to report progress and check for cancellation.
java.lang.Exception
public ITestResult.Status getStatus()
getStatus
in interface ITestResult
public ResultMetaData getResultMetaData()
IResult
getResultMetaData
in interface IResult
public Column[] getColumns()
IStructuredResult
getColumns
in interface IStructuredResult
public java.util.List<?> getElements()
IResultTree
getElements
in interface IResultTree
public boolean hasChildren(java.lang.Object parent)
IResultTree
hasChildren
in interface IResultTree
public java.util.List<?> getChildren(java.lang.Object parent)
IResultTree
getChildren
in interface IResultTree
public java.lang.Object getColumnValue(java.lang.Object element, int columnIndex)
IStructuredResult
getColumnValue
in interface IStructuredResult
element
- The row object as returned by the
IResultTable.getRow(int)
or
IResultTree.getChildren(Object)
methodscolumnIndex
- The index of the column.public java.lang.String prefix(java.lang.Object row)
IDecorator
prefix
in interface IDecorator
public java.lang.String suffix(java.lang.Object row)
IDecorator
suffix
in interface IDecorator
public java.net.URL getIcon(java.lang.Object element)
getIcon
in interface IIconProvider
public IContextObject getContext(java.lang.Object element)
IStructuredResult
ResultMetaData
, it is also used for the context menu on a row.
getContext
in interface IStructuredResult
element
- The row object as returned by the
IResultTable.getRow(int)
or
IResultTree.getChildren(Object)
methods.public boolean isExpanded(java.lang.Object row)
ISelectionProvider
isExpanded
in interface ISelectionProvider
public boolean isSelected(java.lang.Object row)
ISelectionProvider
isSelected
in interface ISelectionProvider
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |