org.eclipse.xtext.xtext.ecoreInference
Class TransformationDiagnosticsProducer

java.lang.Object
  extended by org.eclipse.xtext.diagnostics.AbstractDiagnosticProducer
      extended by org.eclipse.xtext.xtext.ecoreInference.TransformationDiagnosticsProducer
All Implemented Interfaces:
IDiagnosticProducer, ErrorAcceptor

public class TransformationDiagnosticsProducer
extends AbstractDiagnosticProducer
implements ErrorAcceptor

Author:
Sebastian Zarnekow - Initial contribution and API

Constructor Summary
TransformationDiagnosticsProducer(IDiagnosticConsumer consumer)
           
 
Method Summary
 void acceptError(TransformationErrorCode errorCode, java.lang.String message, org.eclipse.emf.ecore.EObject element)
           
protected  Diagnostic createDiagnostic(DiagnosticMessage message)
           
 void setTarget(org.eclipse.emf.ecore.EObject object, org.eclipse.emf.ecore.EStructuralFeature feature)
           
 
Methods inherited from class org.eclipse.xtext.diagnostics.AbstractDiagnosticProducer
addDiagnostic, getNode, setNode
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TransformationDiagnosticsProducer

public TransformationDiagnosticsProducer(IDiagnosticConsumer consumer)
Method Detail

createDiagnostic

protected Diagnostic createDiagnostic(DiagnosticMessage message)
Specified by:
createDiagnostic in class AbstractDiagnosticProducer

acceptError

public void acceptError(TransformationErrorCode errorCode,
                        java.lang.String message,
                        org.eclipse.emf.ecore.EObject element)
Specified by:
acceptError in interface ErrorAcceptor

setTarget

public void setTarget(org.eclipse.emf.ecore.EObject object,
                      org.eclipse.emf.ecore.EStructuralFeature feature)
Specified by:
setTarget in interface IDiagnosticProducer
Overrides:
setTarget in class AbstractDiagnosticProducer