|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.mat.query.ContextProvider
public abstract class ContextProvider
Base class for context provider which is an object which returns the heap objects represented by an arbitrary row in a table/tree.
IContextObject
,
IContextObjectSet
Constructor Summary | |
---|---|
ContextProvider(ContextProvider template)
Constructor using copying values from the give template context provider. |
|
ContextProvider(java.lang.String label)
|
|
ContextProvider(java.lang.String label,
ContextDerivedData.DerivedOperation... operations)
|
Method Summary | |
---|---|
abstract IContextObject |
getContext(java.lang.Object row)
Return the context object associated with the specified row. |
java.lang.String |
getLabel()
The label for this context provider |
ContextDerivedData.DerivedOperation[] |
getOperations()
|
boolean |
hasSameTarget(ContextProvider other)
|
boolean |
isDefault()
The default context provider is that for the whole snapshot. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ContextProvider(java.lang.String label)
label
- The label used for context menus.public ContextProvider(java.lang.String label, ContextDerivedData.DerivedOperation... operations)
public ContextProvider(ContextProvider template)
Method Detail |
---|
public java.lang.String getLabel()
public final boolean isDefault()
public final boolean hasSameTarget(ContextProvider other)
public ContextDerivedData.DerivedOperation[] getOperations()
public abstract IContextObject getContext(java.lang.Object row)
row
- the row requested
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |