Class Policy
java.lang.Object
org.eclipse.mat.ui.internal.browser.Policy
- All Implemented Interfaces:
- IPolicy
- 
Constructor SummaryConstructorsConstructorDescriptionPolicy()Policy(List<IContextObject> menuContext, String selectionLabel) Determine whether to show this query: Global context (no selection or heap available) any context arg - disallow Local context context arg doesn't match available context - disallow no context arg and no heap arg - disallow (no point in operating on a selection)
- 
Method SummaryModifier and TypeMethodDescriptionbooleanaccept(QueryDescriptor query) voidfillInObjectArguments(ISnapshot snapshot, QueryDescriptor query, ArgumentSet set) 
- 
Constructor Details- 
PolicyDetermine whether to show this query: Global context (no selection or heap available) any context arg - disallow Local context context arg doesn't match available context - disallow no context arg and no heap arg - disallow (no point in operating on a selection)- Parameters:
- menuContext-
- selectionLabel-
 
- 
Policypublic Policy()
 
- 
- 
Method Details- 
accept
- 
fillInObjectArguments- Specified by:
- fillInObjectArgumentsin interface- IPolicy
 
 
-