Class GanttChartProcessor
java.lang.Object
com.e1c.langtool.v8.dt.chart.ganttchart.GanttChartProcessor
- All Implemented Interfaces:
IBasicProcessor
- Direct Known Subclasses:
GanttChartFeaturesCollector
-
Field Summary
Fields -
Constructor Summary
Constructors -
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) voidprocess(org.eclipse.core.runtime.IProgressMonitor monitor) Process until done or get canceled.voidsetProcessChildObjects(boolean processChildObjects) Sets the process sub objects.
-
Field Details
-
monitor
protected org.eclipse.core.runtime.IProgressMonitor monitor
-
-
Constructor Details
-
GanttChartProcessor
public GanttChartProcessor(org.eclipse.emf.ecore.EObject object)
-
-
Method Details
-
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
-
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:IBasicProcessorProcess until done or get canceled.- Specified by:
processin interfaceIBasicProcessor
-
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 benull
-