Constructor and Description |
---|
Policy() |
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)
|
Modifier and Type | Method and Description |
---|---|
boolean |
accept(QueryDescriptor query) |
void |
fillInObjectArguments(ISnapshot snapshot,
QueryDescriptor query,
ArgumentSet set) |
public Policy(List<IContextObject> menuContext, String selectionLabel)
menuContext
- selectionLabel
- public Policy()
public boolean accept(QueryDescriptor query)
public void fillInObjectArguments(ISnapshot snapshot, QueryDescriptor query, ArgumentSet set)
fillInObjectArguments
in interface IPolicy