public class LocationLink
extends java.lang.Object
Since 3.14.0
| Constructor and Description |
|---|
LocationLink() |
LocationLink(java.lang.String targetUri,
Range targetRange,
Range targetSelectionRange) |
LocationLink(java.lang.String targetUri,
Range targetRange,
Range targetSelectionRange,
Range originSelectionRange) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
Range |
getOriginSelectionRange()
Span of the origin of this link.
|
Range |
getTargetRange()
The full target range of this link.
|
Range |
getTargetSelectionRange()
The range that should be selected and revealed when this link is being followed, e.g the name of a function.
|
java.lang.String |
getTargetUri()
The target resource identifier of this link.
|
int |
hashCode() |
void |
setOriginSelectionRange(Range originSelectionRange)
Span of the origin of this link.
|
void |
setTargetRange(Range targetRange)
The full target range of this link.
|
void |
setTargetSelectionRange(Range targetSelectionRange)
The range that should be selected and revealed when this link is being followed, e.g the name of a function.
|
void |
setTargetUri(java.lang.String targetUri)
The target resource identifier of this link.
|
java.lang.String |
toString() |
public LocationLink()
public LocationLink(java.lang.String targetUri,
Range targetRange,
Range targetSelectionRange)
@Pure public Range getOriginSelectionRange()
Used as the underlined span for mouse interaction. Defaults to the word range at the mouse position.
public void setOriginSelectionRange(Range originSelectionRange)
Used as the underlined span for mouse interaction. Defaults to the word range at the mouse position.
@Pure public java.lang.String getTargetUri()
public void setTargetUri(java.lang.String targetUri)
@Pure public Range getTargetRange()
public void setTargetRange(Range targetRange)
@Pure public Range getTargetSelectionRange()
targetRange. See also DocumentSymbol.rangepublic void setTargetSelectionRange(Range targetSelectionRange)
targetRange. See also DocumentSymbol.range@Pure public java.lang.String toString()
toString in class java.lang.Object@Pure public boolean equals(java.lang.Object obj)
equals in class java.lang.Object@Pure public int hashCode()
hashCode in class java.lang.Object