Package org.eclipse.epsilon.ewl.dom
Class Wizard
- java.lang.Object
-
- org.eclipse.epsilon.common.module.AbstractModuleElement
-
- org.eclipse.epsilon.eol.dom.AnnotatableModuleElement
-
- org.eclipse.epsilon.erl.dom.NamedRule
-
- org.eclipse.epsilon.ewl.dom.Wizard
-
- All Implemented Interfaces:
ModuleElement
,IExecutableModuleElementParameter
public class Wizard extends NamedRule implements IExecutableModuleElementParameter
-
-
Field Summary
Fields Modifier and Type Field Description protected ExecutableBlock<Void>
bodyBlock
protected ExecutableBlock<Boolean>
guardBlock
protected ExecutableBlock<String>
titleBlock
-
Fields inherited from class org.eclipse.epsilon.erl.dom.NamedRule
nameExpression
-
Fields inherited from class org.eclipse.epsilon.eol.dom.AnnotatableModuleElement
annotationBlock
-
-
Constructor Summary
Constructors Constructor Description Wizard()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
appliesTo(Object self, IEolContext context)
void
build(AST cst, IModule module)
Object
execute(IEolContext context, Object self)
String
getTitle(Object self, IEolContext context)
void
process(Object self, IEolContext context)
String
toString()
-
Methods inherited from class org.eclipse.epsilon.erl.dom.NamedRule
equals, getName, getNameAst, getNameExpression, hashCode
-
Methods inherited from class org.eclipse.epsilon.eol.dom.AnnotatableModuleElement
accept, getAnnotation, getAnnotationBlock, getAnnotations, getAnnotationsValues, getBooleanAnnotationValue, getBooleanAnnotationValue, getBooleanAnnotationValue, getBooleanAnnotationValue, hasAnnotation, setAnnotationBlock
-
Methods inherited from class org.eclipse.epsilon.common.module.AbstractModuleElement
getChildren, getComments, getData, getDebugInfo, getFile, getModule, getParent, getRegion, getUri, setModule, setParent, setRegion, setUri
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.eclipse.epsilon.common.module.ModuleElement
getChildren, getComments, getData, getFile, getModule, getParent, getRegion, getUri, setModule, setParent, setRegion, setUri
-
-
-
-
Field Detail
-
guardBlock
protected ExecutableBlock<Boolean> guardBlock
-
bodyBlock
protected ExecutableBlock<Void> bodyBlock
-
titleBlock
protected ExecutableBlock<String> titleBlock
-
-
Method Detail
-
build
public void build(AST cst, IModule module)
- Specified by:
build
in interfaceModuleElement
- Overrides:
build
in classNamedRule
-
appliesTo
public boolean appliesTo(Object self, IEolContext context) throws EolRuntimeException
- Throws:
EolRuntimeException
-
process
public void process(Object self, IEolContext context) throws EolRuntimeException
- Throws:
EolRuntimeException
-
getTitle
public String getTitle(Object self, IEolContext context) throws EolRuntimeException
- Throws:
EolRuntimeException
-
execute
public Object execute(IEolContext context, Object self) throws EolRuntimeException
- Specified by:
execute
in interfaceIExecutableModuleElementParameter
- Throws:
EolRuntimeException
- Since:
- 1.6
-
-