org.eclipse.xpand2.incremental
Class IncrementalGenerationFacade
java.lang.Object
org.eclipse.emf.mwe.core.lib.AbstractWorkflowComponent
org.eclipse.emf.mwe.core.lib.AbstractWorkflowComponent2
org.eclipse.xpand2.incremental.IncrementalGenerationCallback
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
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 |
IncrementalGenerationFacade
public IncrementalGenerationFacade()
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