org.eclipse.xtext.diagnostics
Class AbstractDiagnosticProducerDecorator

java.lang.Object
  extended by org.eclipse.xtext.diagnostics.AbstractDiagnosticProducerDecorator
All Implemented Interfaces:
IDiagnosticProducer

public class AbstractDiagnosticProducerDecorator
extends java.lang.Object
implements IDiagnosticProducer

Author:
Sebastian Zarnekow - Initial contribution and API

Constructor Summary
AbstractDiagnosticProducerDecorator(IDiagnosticProducer producer)
           
 
Method Summary
 void addDiagnostic(DiagnosticMessage message)
           
 INode getNode()
           
 void setNode(INode node)
           
 void setTarget(org.eclipse.emf.ecore.EObject object, org.eclipse.emf.ecore.EStructuralFeature feature)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractDiagnosticProducerDecorator

public AbstractDiagnosticProducerDecorator(IDiagnosticProducer producer)
Method Detail

addDiagnostic

public void addDiagnostic(DiagnosticMessage message)
Specified by:
addDiagnostic in interface IDiagnosticProducer

getNode

public INode getNode()
Specified by:
getNode in interface IDiagnosticProducer

setNode

public void setNode(INode node)
Specified by:
setNode in interface IDiagnosticProducer

setTarget

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