org.eclipse.xtext.xtext
Class XtextLinkingDiagnosticMessageProvider

java.lang.Object
  extended by org.eclipse.xtext.linking.impl.LinkingDiagnosticMessageProvider
      extended by org.eclipse.xtext.xtext.XtextLinkingDiagnosticMessageProvider
All Implemented Interfaces:
ILinkingDiagnosticMessageProvider, ILinkingDiagnosticMessageProvider.Extended

public class XtextLinkingDiagnosticMessageProvider
extends LinkingDiagnosticMessageProvider

Author:
Michael Clay - Initial contribution and API

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.eclipse.xtext.linking.ILinkingDiagnosticMessageProvider
ILinkingDiagnosticMessageProvider.Extended, ILinkingDiagnosticMessageProvider.ILinkingDiagnosticContext
 
Field Summary
static java.lang.String UNRESOLVED_RULE
           
 
Constructor Summary
XtextLinkingDiagnosticMessageProvider()
           
 
Method Summary
 DiagnosticMessage getUnresolvedProxyMessage(ILinkingDiagnosticMessageProvider.ILinkingDiagnosticContext context)
           
 
Methods inherited from class org.eclipse.xtext.linking.impl.LinkingDiagnosticMessageProvider
getIllegalCrossReferenceMessage, getIllegalNodeMessage, getViolatedBoundsConstraintMessage, getViolatedUniqueConstraintMessage
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

UNRESOLVED_RULE

public static final java.lang.String UNRESOLVED_RULE
See Also:
Constant Field Values
Constructor Detail

XtextLinkingDiagnosticMessageProvider

public XtextLinkingDiagnosticMessageProvider()
Method Detail

getUnresolvedProxyMessage

public DiagnosticMessage getUnresolvedProxyMessage(ILinkingDiagnosticMessageProvider.ILinkingDiagnosticContext context)
Specified by:
getUnresolvedProxyMessage in interface ILinkingDiagnosticMessageProvider
Overrides:
getUnresolvedProxyMessage in class LinkingDiagnosticMessageProvider
Returns:
the error message for the unresolved cross link or null if it is ok to have an unresolved reference.