org.eclipse.xpand2.incremental
Class IncrementalGenerationFacade

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
              extended by org.eclipse.xpand2.incremental.IncrementalGenerationFacade
All Implemented Interfaces:
org.eclipse.emf.mwe.core.WorkflowComponent, org.eclipse.emf.mwe.core.WorkflowComponentWithID, org.eclipse.emf.mwe2.runtime.workflow.IWorkflowComponent, VetoableCallback

public class IncrementalGenerationFacade
extends IncrementalGenerationCallback


Constructor Summary
IncrementalGenerationFacade()
           
 
Method Summary
 void addOutlet(Outlet outlet)
           
protected  void checkConfigurationInternal(org.eclipse.emf.mwe.core.issues.Issues issues)
           
 java.lang.String getNewModelFile()
           
 java.lang.String getOldModelFile()
           
 java.lang.String getTraceModelFile()
           
 void invokeInternal(org.eclipse.emf.mwe.core.WorkflowContext ctx, 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 setNewModelFile(java.lang.String newModelFile)
           
 void setOldModelFile(java.lang.String oldModelFile)
           
 void setTraceModelFile(java.lang.String traceModelFile)
           
 
Methods inherited from class org.eclipse.xpand2.incremental.IncrementalGenerationCallback
setDiffModelSlot, setNewTraceModelSlot, setOldTraceModelSlot
 
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

IncrementalGenerationFacade

public IncrementalGenerationFacade()
Method Detail

getNewModelFile

public java.lang.String getNewModelFile()

setNewModelFile

public void setNewModelFile(java.lang.String newModelFile)

getOldModelFile

public java.lang.String getOldModelFile()

setOldModelFile

public void setOldModelFile(java.lang.String oldModelFile)

getTraceModelFile

public java.lang.String getTraceModelFile()

setTraceModelFile

public void setTraceModelFile(java.lang.String traceModelFile)

addOutlet

public void addOutlet(Outlet outlet)

checkConfigurationInternal

protected void checkConfigurationInternal(org.eclipse.emf.mwe.core.issues.Issues issues)
Overrides:
checkConfigurationInternal in class IncrementalGenerationCallback

invokeInternal

public void invokeInternal(org.eclipse.emf.mwe.core.WorkflowContext ctx,
                           org.eclipse.emf.mwe.core.monitor.ProgressMonitor monitor,
                           org.eclipse.emf.mwe.core.issues.Issues issues)
Overrides:
invokeInternal in class IncrementalGenerationCallback

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
Overrides:
pre in class IncrementalGenerationCallback
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
Overrides:
post in class IncrementalGenerationCallback
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