org.eclipse.mat.snapshot.query
Class ObjectListResult.Inbound

java.lang.Object
  extended by org.eclipse.mat.snapshot.query.ObjectListResult.Inbound
All Implemented Interfaces:
IDecorator, IIconProvider, IResult, IResultTree, IStructuredResult
Enclosing class:
ObjectListResult

public static class ObjectListResult.Inbound
extends Object

Helper class which describes a tree of objects by inbound references.


Field Summary
 
Fields inherited from interface org.eclipse.mat.query.IIconProvider
EMPTY
 
Constructor Summary
ObjectListResult.Inbound(ISnapshot snapshot, int[] objectIds)
          Construct a inbound references tree
 
Method Summary
 URL getIcon(Object row)
          Get the URL for a row of the tree.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ObjectListResult.Inbound

public ObjectListResult.Inbound(ISnapshot snapshot,
                                int[] objectIds)
Construct a inbound references tree

Parameters:
snapshot - the snapshot
objectIds - the set of objects to form roots of the trees
Method Detail

getIcon

public URL getIcon(Object row)
Get the URL for a row of the tree. Returns either an arrow item or the base icon if no children.

Returns:
the URL of the icon