org.eclipse.xpand2.incremental
Class IncrementalGenerationCallback

java.lang.Object
  extended by org.eclipse.emf.mwe.core.lib.AbstractWorkflowComponent
      extended by org.eclipse.emf.mwe.core.lib.AbstractWorkflowComponent2
          extended by 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


Constructor Summary
IncrementalGenerationCallback()
           
 
Method Summary
protected  void checkConfigurationInternal(org.eclipse.emf.mwe.core.issues.Issues issues)
           
 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)
           
 void post(SyntaxElement element, ExecutionContext ctx, java.lang.Object expressionResult)
          Called after an element has been processed.
 boolean pre(SyntaxElement element, ExecutionContext ctx)
          Called before an element is being processed.
 void setDiffModelSlot(java.lang.String diffModelSlot)
           
 void setNewTraceModelSlot(java.lang.String newTraceModelSlot)
           
 void setOldTraceModelSlot(java.lang.String oldTraceModelSlot)
           
 
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
 

Constructor Detail

IncrementalGenerationCallback

public IncrementalGenerationCallback()
Method Detail

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