public interface IActionRuleDeclaration extends IRuleDeclaration
NEWLINE| Modifier and Type | Method and Description |
|---|---|
IAction |
getAction()
Get the rule action.
|
boolean |
hasContext()
Indicate whether this action rule has a context, or only uses actions
that do not require a context.
|
getRuleSet, setRuleSetgetAdditionalParameterNames, getAdditionalParameterType, getContextgetIdaccept, dump, getColumn, getLine, getUserData, setUserDataIAction getAction()
ICompoundAction or a IConditionalAction - see the grammar
for more details.boolean hasContext()
This will be true for most rules. For some, for example those that only use "create" or "select", a context is unnecessary and this will return false.
Calling ISingleContextDeclaration.getContext()
on such a rule will return a reserved model object with no attriutes.
Copyright © 2006-2013. All Rights Reserved.