de.cau.cs.kieler.synccharts.text.actions.ui
Class ActionsDiagnosticConverterImpl

java.lang.Object
  extended by org.eclipse.xtext.validation.DiagnosticConverterImpl
      extended by de.cau.cs.kieler.synccharts.text.actions.ui.ActionsDiagnosticConverterImpl
All Implemented Interfaces:
org.eclipse.xtext.validation.IDiagnosticConverter

public class ActionsDiagnosticConverterImpl
extends org.eclipse.xtext.validation.DiagnosticConverterImpl

This class is used to filter the validation diagnostics. This is needed since a lot of them are not valid if a sub model is shown in the KITS view. Currently all of the check file based diagnostics are dropped since they can't be identified that in turn disables a more sensitive filtering. In addition, notifications on invalid source and target states have to be filtered out, since they are not influenceable in the "transition details" view.

Rating red

Nested Class Summary
 
Nested classes/interfaces inherited from class org.eclipse.xtext.validation.DiagnosticConverterImpl
org.eclipse.xtext.validation.DiagnosticConverterImpl.IssueLocation
 
Constructor Summary
ActionsDiagnosticConverterImpl()
           
 
Method Summary
 void convertValidatorDiagnostic(Diagnostic diagnostic, org.eclipse.xtext.util.IAcceptor<org.eclipse.xtext.validation.Issue> acceptor)
           
protected  EStructuralFeature getFeature(Diagnostic diagnostic)
           
 
Methods inherited from class org.eclipse.xtext.validation.DiagnosticConverterImpl
convertResourceDiagnostic, getCauser, getLocationData, getLocationData, getLocationData, getLocationForNode, resolveStructuralFeature
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ActionsDiagnosticConverterImpl

public ActionsDiagnosticConverterImpl()
Method Detail

convertValidatorDiagnostic

public void convertValidatorDiagnostic(Diagnostic diagnostic,
                                       org.eclipse.xtext.util.IAcceptor<org.eclipse.xtext.validation.Issue> acceptor)
Specified by:
convertValidatorDiagnostic in interface org.eclipse.xtext.validation.IDiagnosticConverter
Overrides:
convertValidatorDiagnostic in class org.eclipse.xtext.validation.DiagnosticConverterImpl

getFeature

protected EStructuralFeature getFeature(Diagnostic diagnostic)