Class BmAwareResourceValidatorListener
- java.lang.Object
-
- com._1c.g5.v8.dt.bm.xtext.validation.BmAwareResourceValidatorListener
-
- All Implemented Interfaces:
IResourceValidatorListener
- Direct Known Subclasses:
BslBmAwareResourceValidatorListener
public abstract class BmAwareResourceValidatorListener extends Object implements IResourceValidatorListener
Accepts issues found during BSL module validation. Converts the found issues to BM markers.
-
-
Constructor Summary
Constructors Constructor Description BmAwareResourceValidatorListener()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract String
getMarkerSourceType()
Gets source Id of Bm markersprotected abstract String
getUriFragment()
Gets fragment corresponding to the root element of validating resourcevoid
onComplete(org.eclipse.emf.ecore.resource.Resource resource, List<org.eclipse.xtext.validation.Issue> issues)
The method that gets called upon validation completion.
-
-
-
Method Detail
-
onComplete
public void onComplete(org.eclipse.emf.ecore.resource.Resource resource, List<org.eclipse.xtext.validation.Issue> issues)
Description copied from interface:IResourceValidatorListener
The method that gets called upon validation completion.- Specified by:
onComplete
in interfaceIResourceValidatorListener
- Parameters:
resource
- validated resource.issues
- list of issues found during validation process.
-
getMarkerSourceType
protected abstract String getMarkerSourceType()
Gets source Id of Bm markers- Returns:
- source Id of Bm markers, can't be
null
-
getUriFragment
protected abstract String getUriFragment()
Gets fragment corresponding to the root element of validating resource- Returns:
- fragment corresponding to the root element of validating resource, can't be
null
-
-