Package com.e1c.langtool.v8.dt.bsl
Class ModuleProcessor
java.lang.Object
com.e1c.langtool.v8.dt.bsl.ModuleProcessor
- All Implemented Interfaces:
IBasicProcessor
- Direct Known Subclasses:
BslFeaturesCollector
Special processor for Bsl module content.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected org.eclipse.core.runtime.IProgressMonitorprotected final org.eclipse.emf.ecore.EObject -
Constructor Summary
ConstructorsConstructorDescriptionModuleProcessor(org.eclipse.emf.ecore.EObject root) Initialize withBlockor anyEObjectof BSL Package -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract <T extends org.eclipse.emf.ecore.EObject>
voidProcesses concrete object of Bsl moduleorg.eclipse.xtext.util.CancelIndicatorGets actual cancel indicatorprotected voidbooleanChecks that execution is canceledprotected booleanprotected booleanvoidprocess(org.eclipse.core.runtime.IProgressMonitor monitor) Start validating for all content inBlock.protected voidsetDeepAnalysis(boolean deepAnalysis) protected voidsetWaitDerivedDataComputation(boolean waitDerivedDataComputation)
-
Field Details
-
rootObject
protected final org.eclipse.emf.ecore.EObject rootObject -
monitor
protected org.eclipse.core.runtime.IProgressMonitor monitor
-
-
Constructor Details
-
ModuleProcessor
public ModuleProcessor(org.eclipse.emf.ecore.EObject root) Initialize withBlockor anyEObjectof BSL Package- Parameters:
root- object of module content, can't benull
-
-
Method Details
-
getCancelIndicator
public org.eclipse.xtext.util.CancelIndicator getCancelIndicator()Gets actual cancel indicator- Returns:
- the actual cancel indicator, never
null
-
process
public void process(org.eclipse.core.runtime.IProgressMonitor monitor) Start validating for all content inBlock.- Specified by:
processin interfaceIBasicProcessor- Parameters:
monitor- the monitor
-
isWaitDerivedDataComputation
protected boolean isWaitDerivedDataComputation() -
setWaitDerivedDataComputation
protected void setWaitDerivedDataComputation(boolean waitDerivedDataComputation) -
isDeepAnalysis
protected boolean isDeepAnalysis() -
setDeepAnalysis
protected void setDeepAnalysis(boolean deepAnalysis) -
initModule
protected void initModule() -
doProcess
protected abstract <T extends org.eclipse.emf.ecore.EObject> void doProcess(T object, Class<T> clazz) Processes concrete object of Bsl module- Parameters:
object- processing object, can't benull
-
isCanceled
public boolean isCanceled()Checks that execution is canceled- Specified by:
isCanceledin interfaceIBasicProcessor- Returns:
truein case execution is canceled,falseotherwise
-