Class Grid
- java.lang.Object
-
- org.eclipse.epsilon.common.module.AbstractModuleElement
-
- org.eclipse.epsilon.eol.dom.AnnotatableModuleElement
-
- org.eclipse.epsilon.pinset.columnGenerators.Grid
-
- All Implemented Interfaces:
ModuleElement
,ColumnGenerator
public class Grid extends AnnotatableModuleElement implements ColumnGenerator
Grid.- Since:
- 2.1
- Author:
- Alfonso de la Vega
-
-
Field Summary
Fields Modifier and Type Field Description protected IExecutableModuleElement
bodyBlock
protected IEolContext
context
protected IExecutableModuleElement
headerBlock
protected List<String>
headers
protected boolean
isSilent
protected List<Object>
keys
protected IExecutableModuleElement
keysBlock
-
Fields inherited from class org.eclipse.epsilon.eol.dom.AnnotatableModuleElement
annotationBlock
-
-
Constructor Summary
Constructors Constructor Description Grid()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
build(AST cst, IModule module)
List<String>
getNames()
List<Object>
getValues(Object obj)
void
setContext(IEolContext context)
void
setSilent(boolean isSilent)
-
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
equals, getChildren, getComments, getData, getDebugInfo, getFile, getModule, getParent, getRegion, getUri, hashCode, setModule, setParent, setRegion, setUri, toString
-
-
-
-
Field Detail
-
keysBlock
protected IExecutableModuleElement keysBlock
-
headerBlock
protected IExecutableModuleElement headerBlock
-
bodyBlock
protected IExecutableModuleElement bodyBlock
-
isSilent
protected boolean isSilent
-
context
protected IEolContext context
-
-
Method Detail
-
build
public void build(AST cst, IModule module)
- Specified by:
build
in interfaceModuleElement
- Overrides:
build
in classAnnotatableModuleElement
-
getNames
public List<String> getNames() throws EolRuntimeException
- Specified by:
getNames
in interfaceColumnGenerator
- Throws:
EolRuntimeException
-
getValues
public List<Object> getValues(Object obj) throws EolRuntimeException
- Specified by:
getValues
in interfaceColumnGenerator
- Throws:
EolRuntimeException
-
setContext
public void setContext(IEolContext context)
-
setSilent
public void setSilent(boolean isSilent)
-
-