Class RightsProcessor

java.lang.Object
com.e1c.langtool.v8.dt.rights.RightsProcessor
All Implemented Interfaces:
IBasicProcessor
Direct Known Subclasses:
RightsFeaturesCollector

public abstract class RightsProcessor extends Object implements IBasicProcessor
Abstract processor of Role model.
  • 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
    RightsProcessor(org.eclipse.emf.ecore.EObject object)
    Instantiates a new rights 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)
     
    protected boolean
     
    void
    process(org.eclipse.core.runtime.IProgressMonitor monitor)
    Process until done or get canceled.
    void
    setProcessChildObjects(boolean processChildObjects)
    Sets the process sub objects.
    protected void
    setWaitDerivedDataComputation(boolean waitDerivedDataComputation)
     

    Methods inherited from class java.lang.Object

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

    • monitor

      protected org.eclipse.core.runtime.IProgressMonitor monitor
    • object

      protected final org.eclipse.emf.ecore.EObject object
  • Constructor Details

    • RightsProcessor

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

    • isSupported

      protected static boolean isSupported(org.eclipse.emf.ecore.EObject obj)
    • 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
    • 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
    • setProcessChildObjects

      public void setProcessChildObjects(boolean processChildObjects)
      Sets the process sub objects.
      Parameters:
      processChildObjects - the new process sub objects
    • 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
    • isWaitDerivedDataComputation

      protected boolean isWaitDerivedDataComputation()
    • setWaitDerivedDataComputation

      protected void setWaitDerivedDataComputation(boolean waitDerivedDataComputation)