Class ModuleProcessor

java.lang.Object
com.e1c.langtool.v8.dt.bsl.ModuleProcessor
All Implemented Interfaces:
IBasicProcessor
Direct Known Subclasses:
BslFeaturesCollector

public abstract class ModuleProcessor extends Object implements IBasicProcessor
Special processor for Bsl module content.
  • 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 with Block or any EObject of BSL Package
      Parameters:
      root - object of module content, can't be null
  • 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 in Block.
      Specified by:
      process in interface IBasicProcessor
      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 be null
    • isCanceled

      public boolean isCanceled()
      Checks that execution is canceled
      Specified by:
      isCanceled in interface IBasicProcessor
      Returns:
      true in case execution is canceled, false otherwise