Class BslBmAwareResourceValidatorListener
- java.lang.Object
-
- com._1c.g5.v8.dt.bm.xtext.validation.BmAwareResourceValidatorListener
-
- com._1c.g5.v8.dt.bsl.bm.validation.BslBmAwareResourceValidatorListener
-
- All Implemented Interfaces:
IResourceValidatorListener
public class BslBmAwareResourceValidatorListener extends BmAwareResourceValidatorListener
Accepts issues found during BSL module validation. Converts the found issues to BM markers.
-
-
Field Summary
Fields Modifier and Type Field Description static String
MARKER_SOURCE
static String
URI_FRAGMENT
-
Constructor Summary
Constructors Constructor Description BslBmAwareResourceValidatorListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected String
getMarkerSourceType()
Gets source Id of Bm markersprotected String
getUriFragment()
Gets fragment corresponding to the root element of validating resourceprotected PlainEObjectMarker
postProcessMarker(PlainEObjectMarker marker, org.eclipse.xtext.validation.Issue issue, org.eclipse.core.resources.IProject project)
Post-processes the marker being created from the given issue-
Methods inherited from class com._1c.g5.v8.dt.bm.xtext.validation.BmAwareResourceValidatorListener
onComplete
-
-
-
-
Field Detail
-
MARKER_SOURCE
public static final String MARKER_SOURCE
- See Also:
- Constant Field Values
-
URI_FRAGMENT
public static final String URI_FRAGMENT
- See Also:
- Constant Field Values
-
-
Method Detail
-
getMarkerSourceType
protected String getMarkerSourceType()
Description copied from class:BmAwareResourceValidatorListener
Gets source Id of Bm markers- Specified by:
getMarkerSourceType
in classBmAwareResourceValidatorListener
- Returns:
- source Id of Bm markers, can't be
null
-
getUriFragment
protected String getUriFragment()
Description copied from class:BmAwareResourceValidatorListener
Gets fragment corresponding to the root element of validating resource- Specified by:
getUriFragment
in classBmAwareResourceValidatorListener
- Returns:
- fragment corresponding to the root element of validating resource, can't be
null
-
postProcessMarker
protected PlainEObjectMarker postProcessMarker(PlainEObjectMarker marker, org.eclipse.xtext.validation.Issue issue, org.eclipse.core.resources.IProject project)
Description copied from class:BmAwareResourceValidatorListener
Post-processes the marker being created from the given issue- Overrides:
postProcessMarker
in classBmAwareResourceValidatorListener
- Parameters:
marker
- The marker to post-process. May not benull
issue
- The original issue. May not benull
project
- The target project. May not benull
- Returns:
- The marker being supplied via arguments or a new substitute marker. May not be
null
-
-