Package com.e1c.langtool.v8.dt.rights
Class RightsProcessor
java.lang.Object
com.e1c.langtool.v8.dt.rights.RightsProcessor
- All Implemented Interfaces:
IBasicProcessor
- Direct Known Subclasses:
RightsFeaturesCollector
Abstract processor of Role model.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionRightsProcessor(org.eclipse.emf.ecore.EObject object) Instantiates a new rights processor. -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract <T extends org.eclipse.emf.ecore.EObject>
voidProcesses concrete object of Rights objectbooleanChecks that execution is canceledbooleanChecks if is process sub objects.protected static booleanisSupported(org.eclipse.emf.ecore.EObject obj) protected booleanvoidprocess(org.eclipse.core.runtime.IProgressMonitor monitor) Process until done or get canceled.voidsetProcessChildObjects(boolean processChildObjects) Sets the process sub objects.protected voidsetWaitDerivedDataComputation(boolean waitDerivedDataComputation)
-
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:
isCanceledin interfaceIBasicProcessor- Returns:
truein case execution is canceled,falseotherwise
-
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:IBasicProcessorProcess until done or get canceled.- Specified by:
processin interfaceIBasicProcessor
-
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 benull
-
isWaitDerivedDataComputation
protected boolean isWaitDerivedDataComputation() -
setWaitDerivedDataComputation
protected void setWaitDerivedDataComputation(boolean waitDerivedDataComputation)
-