Class Policy
java.lang.Object
org.eclipse.mat.ui.internal.browser.Policy
- All Implemented Interfaces:
IPolicy
-
Constructor Summary
ConstructorDescriptionPolicy()
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 Summary
Modifier and TypeMethodDescriptionboolean
accept
(QueryDescriptor query) void
fillInObjectArguments
(ISnapshot snapshot, QueryDescriptor query, ArgumentSet set)
-
Constructor Details
-
Policy
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)- Parameters:
menuContext
-selectionLabel
-
-
Policy
public Policy()
-
-
Method Details
-
accept
-
fillInObjectArguments
- Specified by:
fillInObjectArguments
in interfaceIPolicy
-