Class PlannerProcessor

java.lang.Object
com.e1c.langtool.v8.dt.planner.PlannerProcessor
All Implemented Interfaces:
IBasicProcessor
Direct Known Subclasses:
PlannerFeaturesCollector

public abstract class PlannerProcessor extends Object implements IBasicProcessor
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected org.eclipse.core.runtime.IProgressMonitor
     
    protected final org.eclipse.emf.ecore.EObject
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    PlannerProcessor(org.eclipse.emf.ecore.EObject object)
    Instantiates a new planner processor.
  • Method Summary

    Modifier and Type
    Method
    Description
    protected abstract <T extends org.eclipse.emf.ecore.EObject>
    void
    doProcess(T object, Class<T> clazz)
    Processes concrete object of Rights object
    boolean
    Checks that execution is canceled
    boolean
    Checks if is process sub objects.
    protected static boolean
    isSupported(org.eclipse.emf.ecore.EObject obj)
     
    void
    process(org.eclipse.core.runtime.IProgressMonitor monitor)
    Process until done or get canceled.
    void
    setProcessChildObjects(boolean processChildObjects)
    Sets the process sub objects.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • object

      protected final org.eclipse.emf.ecore.EObject object
    • monitor

      protected org.eclipse.core.runtime.IProgressMonitor monitor
  • Constructor Details

    • PlannerProcessor

      public PlannerProcessor(org.eclipse.emf.ecore.EObject object)
      Instantiates a new planner processor.
      Parameters:
      object - the object
  • Method Details

    • isCanceled

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

      public boolean isProcessChildObjects()
      Checks if is process sub objects.
      Returns:
      true, if is process sub objects
    • setProcessChildObjects

      public void setProcessChildObjects(boolean processChildObjects)
      Sets the process sub objects.
      Parameters:
      processChildObjects - the new process sub objects
    • process

      public void process(org.eclipse.core.runtime.IProgressMonitor monitor)
      Description copied from interface: IBasicProcessor
      Process until done or get canceled.
      Specified by:
      process in interface IBasicProcessor
    • isSupported

      protected static boolean isSupported(org.eclipse.emf.ecore.EObject obj)
    • doProcess

      protected abstract <T extends org.eclipse.emf.ecore.EObject> void doProcess(T object, Class<T> clazz)
      Processes concrete object of Rights object
      Parameters:
      object - processing object, can't be null