Since 3.14.0
| Modifier and Type | Field and Description |
|---|---|
| private Range | originSelectionRange
Span of the origin of this link. |
| private Range | targetRange
The full target range of this link. |
| private Range | targetSelectionRange
The range that should be selected and revealed when this link is being followed, e.g the name of a function. |
| private String | targetUri
The target resource identifier of this link. |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public | LocationLink(final String targetUri, final Range targetRange, final Range targetSelectionRange, final Range originSelectionRange)
|
| Modifier and Type | Method and Description |
|---|---|
| public boolean | equals(final Object obj)
Overrides java. Indicates whether some other object is "equal to" this one. |
| public Range | |
| public Range | |
| public Range | getTargetSelectionRange()
The range that should be selected and revealed when this link is being followed, e.g the name of a function. |
| public String | |
| public int | |
| public void | |
| public void | |
| public void | setTargetSelectionRange(final Range targetSelectionRange)
The range that should be selected and revealed when this link is being followed, e.g the name of a function. |
| public void | |
| public String |
| originSelectionRange | back to summary |
|---|---|
| private Range originSelectionRange Span of the origin of this link. Used as the underlined span for mouse interaction. Defaults to the word range at the mouse position. | |
| targetRange | back to summary |
|---|---|
| private Range targetRange The full target range of this link. If the target for example is a symbol then target range is the range enclosing this symbol not including leading/trailing whitespace but everything else like comments. This information is typically used to highlight the range in the editor. | |
| targetSelectionRange | back to summary |
|---|---|
| private Range targetSelectionRange The range that should be selected and revealed when this link is being followed, e.g the name of a function.
Must be contained by the | |
| targetUri | back to summary |
|---|---|
| private String targetUri The target resource identifier of this link. | |
| LocationLink | back to summary |
|---|---|
| public LocationLink() | |
| LocationLink | back to summary |
|---|---|
| public LocationLink(final String targetUri, final Range targetRange, final Range targetSelectionRange) | |
| LocationLink | back to summary |
|---|---|
| public LocationLink(final String targetUri, final Range targetRange, final Range targetSelectionRange, final Range originSelectionRange) | |
| equals | back to summary |
|---|---|
| public boolean equals(final Object obj) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes.
| |
| getOriginSelectionRange | back to summary |
|---|---|
| public Range getOriginSelectionRange() Span of the origin of this link. Used as the underlined span for mouse interaction. Defaults to the word range at the mouse position. | |
| getTargetRange | back to summary |
|---|---|
| public Range getTargetRange() The full target range of this link. If the target for example is a symbol then target range is the range enclosing this symbol not including leading/trailing whitespace but everything else like comments. This information is typically used to highlight the range in the editor.
| |
| getTargetSelectionRange | back to summary |
|---|---|
| public Range getTargetSelectionRange() The range that should be selected and revealed when this link is being followed, e.g the name of a function.
Must be contained by the
| |
| getTargetUri | back to summary |
|---|---|
| public String getTargetUri() The target resource identifier of this link.
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| setOriginSelectionRange | back to summary |
|---|---|
| public void setOriginSelectionRange(final Range originSelectionRange) Span of the origin of this link. Used as the underlined span for mouse interaction. Defaults to the word range at the mouse position. | |
| setTargetRange | back to summary |
|---|---|
| public void setTargetRange(final Range targetRange) The full target range of this link. If the target for example is a symbol then target range is the range enclosing this symbol not including leading/trailing whitespace but everything else like comments. This information is typically used to highlight the range in the editor. | |
| setTargetSelectionRange | back to summary |
|---|---|
| public void setTargetSelectionRange(final Range targetSelectionRange) The range that should be selected and revealed when this link is being followed, e.g the name of a function.
Must be contained by the | |
| setTargetUri | back to summary |
|---|---|
| public void setTargetUri(final String targetUri) The target resource identifier of this link. | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non-
| |