Package com._1c.g5.v8.dt.ui.validation
Class AbstractTextMarkerWrapper
- java.lang.Object
-
- com._1c.g5.v8.dt.ui.validation.AbstractMarkerWrapper
-
- com._1c.g5.v8.dt.ui.validation.AbstractTextMarkerWrapper
-
- All Implemented Interfaces:
Comparable<AbstractMarkerWrapper>
public abstract class AbstractTextMarkerWrapper extends AbstractMarkerWrapper
Abstract class for wrapping markers in text resourcesMarker
.
-
-
Constructor Summary
Constructors Constructor Description AbstractTextMarkerWrapper(Marker marker, org.eclipse.core.resources.IProject project)
Creates a new instance.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract Integer
getLine()
Returns marker line number.abstract Integer
getOffset()
Returns marker offset in line.abstract String
getUri()
Returns marker uri.-
Methods inherited from class com._1c.g5.v8.dt.ui.validation.AbstractMarkerWrapper
compareTo, equals, getCheckId, getCreationDate, getLocation, getMarker, getMarkerId, getMessage, getObject, getProject, getSeverity, getSourceType, getStringPresentation, hashCode, showMarker
-
-
-
-
Constructor Detail
-
AbstractTextMarkerWrapper
public AbstractTextMarkerWrapper(Marker marker, org.eclipse.core.resources.IProject project)
Creates a new instance.- Parameters:
marker
- the wrapped marker, can't benull
project
- the project, can't benull
-
-
Method Detail
-
getUri
public abstract String getUri()
Returns marker uri.- Returns:
- uri, can be
null
-
getLine
public abstract Integer getLine()
Returns marker line number.- Returns:
- line number, can be
null
-
getOffset
public abstract Integer getOffset()
Returns marker offset in line.- Returns:
- offset in line, can be
null
-
-