org.eclipse.xpand2.incremental
Class IncrementalGenerationCallback
java.lang.Object
org.eclipse.emf.mwe.core.lib.AbstractWorkflowComponent
org.eclipse.emf.mwe.core.lib.AbstractWorkflowComponent2
org.eclipse.xpand2.incremental.IncrementalGenerationCallback
- All Implemented Interfaces:
- org.eclipse.emf.mwe.core.WorkflowComponent, org.eclipse.emf.mwe.core.WorkflowComponentWithID, org.eclipse.emf.mwe2.runtime.workflow.IWorkflowComponent, VetoableCallback
- Direct Known Subclasses:
- IncrementalGenerationFacade
public class IncrementalGenerationCallback
- extends org.eclipse.emf.mwe.core.lib.AbstractWorkflowComponent2
- implements VetoableCallback
Methods inherited from class org.eclipse.emf.mwe.core.lib.AbstractWorkflowComponent2 |
checkConfiguration |
Methods inherited from class org.eclipse.emf.mwe.core.lib.AbstractWorkflowComponent |
checkRequiredConfigProperty, getBridge, getComponentName, getContainer, getId, getLocation, getLogMessage, invoke, invoke, postInvoke, preInvoke, setContainer, setId, setLocation, setSkipOnErrors |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IncrementalGenerationCallback
public IncrementalGenerationCallback()
setDiffModelSlot
public void setDiffModelSlot(java.lang.String diffModelSlot)
setOldTraceModelSlot
public void setOldTraceModelSlot(java.lang.String oldTraceModelSlot)
setNewTraceModelSlot
public void setNewTraceModelSlot(java.lang.String newTraceModelSlot)
checkConfigurationInternal
protected void checkConfigurationInternal(org.eclipse.emf.mwe.core.issues.Issues issues)
- Overrides:
checkConfigurationInternal
in class org.eclipse.emf.mwe.core.lib.AbstractWorkflowComponent2
invokeInternal
public void invokeInternal(org.eclipse.emf.mwe.core.WorkflowContext workflowContext,
org.eclipse.emf.mwe.core.monitor.ProgressMonitor monitor,
org.eclipse.emf.mwe.core.issues.Issues issues)
- Specified by:
invokeInternal
in class org.eclipse.emf.mwe.core.lib.AbstractWorkflowComponent
pre
public boolean pre(SyntaxElement element,
ExecutionContext ctx)
- Description copied from interface:
VetoableCallback
- Called before an element is being processed.
- Specified by:
pre
in interface VetoableCallback
- Parameters:
element
- The element being processed. Never null.ctx
- The execution context in which processing occurs. Never null.
- Returns:
- true if processing should continue normally, false if this element should be skipped.
post
public void post(SyntaxElement element,
ExecutionContext ctx,
java.lang.Object expressionResult)
- Description copied from interface:
VetoableCallback
- Called after an element has been processed.
- Specified by:
post
in interface VetoableCallback
- Parameters:
element
- The element being processed. Never null.ctx
- The execution context in which processing occurs. Never null.expressionResult
- the result of the evaluation (an instance of Type
in analyzation phase) if syntax element was
an instance of Expression