Since 3.16.0
| Modifier and Type | Field and Description |
|---|---|
| private Boolean | external
Indicates to show the resource in an external program. |
| private Range | selection
An optional selection range if the document is a text document. |
| private Boolean | takeFocus
An optional property to indicate whether the editor showing the document should take focus or not. |
| private String | uri
The document uri to show. |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| 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 Boolean | |
| public Range | |
| public Boolean | getTakeFocus()
An optional property to indicate whether the editor showing the document should take focus or not. |
| public String | |
| public int | |
| public void | |
| public void | |
| public void | setTakeFocus(final Boolean takeFocus)
An optional property to indicate whether the editor showing the document should take focus or not. |
| public void | |
| public String |
| external | back to summary |
|---|---|
| private Boolean external Indicates to show the resource in an external program.
To show for example
https://www.eclipse.org/
in the default WEB browser set to | |
| selection | back to summary |
|---|---|
| private Range selection An optional selection range if the document is a text document. Clients might ignore the property if an external program is started or the file is not a text file. | |
| takeFocus | back to summary |
|---|---|
| private Boolean takeFocus An optional property to indicate whether the editor showing the document should take focus or not. Clients might ignore this property if an external program is started. | |
| uri | back to summary |
|---|---|
| private String uri The document uri to show. | |
| ShowDocumentParams | back to summary |
|---|---|
| public ShowDocumentParams() | |
| ShowDocumentParams | back to summary |
|---|---|
| public ShowDocumentParams(final String uri) | |
| 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.
| |
| getExternal | back to summary |
|---|---|
| public Boolean getExternal() Indicates to show the resource in an external program.
To show for example
https://www.eclipse.org/
in the default WEB browser set to | |
| getSelection | back to summary |
|---|---|
| public Range getSelection() An optional selection range if the document is a text document. Clients might ignore the property if an external program is started or the file is not a text file. | |
| getTakeFocus | back to summary |
|---|---|
| public Boolean getTakeFocus() An optional property to indicate whether the editor showing the document should take focus or not. Clients might ignore this property if an external program is started. | |
| getUri | back to summary |
|---|---|
| public String getUri() The document uri to show.
| |
| 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
| |
| setExternal | back to summary |
|---|---|
| public void setExternal(final Boolean external) Indicates to show the resource in an external program.
To show for example
https://www.eclipse.org/
in the default WEB browser set to | |
| setSelection | back to summary |
|---|---|
| public void setSelection(final Range selection) An optional selection range if the document is a text document. Clients might ignore the property if an external program is started or the file is not a text file. | |
| setTakeFocus | back to summary |
|---|---|
| public void setTakeFocus(final Boolean takeFocus) An optional property to indicate whether the editor showing the document should take focus or not. Clients might ignore this property if an external program is started. | |
| setUri | back to summary |
|---|---|
| public void setUri(final String uri) The document uri to show. | |
| 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-
| |