Package | Description |
---|---|
org.netbeans.spi.lsp |
Modifier and Type | Method and Description |
---|---|
StructureProvider.Builder |
StructureProvider.Builder.addTag(StructureElement.Tag tag)
Adds tag for this structure element.
|
StructureProvider.Builder |
StructureProvider.Builder.children(List<StructureElement> children)
Sub elements of this structure element.
|
StructureProvider.Builder |
StructureProvider.Builder.children(StructureElement... children)
Adds sub element for this structure element.
|
static StructureProvider.Builder |
StructureProvider.copy(StructureElement from)
Create builder for
StructureElement instances from copy of input element. |
StructureProvider.Builder |
StructureProvider.Builder.detail(String detail)
The detail of
StructureElement , e.g the signature of a
function. |
StructureProvider.Builder |
StructureProvider.Builder.expandedEndOffset(int expandedEndOffset)
The expanded range is offset range that is typically used to
determine if the cursors inside the element to reveal in the element
in the UI.
|
StructureProvider.Builder |
StructureProvider.Builder.expandedStartOffset(int expandedStartOffset)
The expanded range is offset range that is typically used to
determine if the cursors inside the element to reveal in the element
in the UI.
|
StructureProvider.Builder |
StructureProvider.Builder.FileObject f)
Sets file which contains the structure element.
|
StructureProvider.Builder |
StructureProvider.Builder.kind(StructureElement.Kind name)
Kind of this structure element.
|
StructureProvider.Builder |
StructureProvider.Builder.name(String name)
The name of
StructureElement is displayed in the structure
tree and other ui. |
static StructureProvider.Builder |
StructureProvider.newBuilder(String name,
StructureElement.Kind kind)
Create builder for
StructureElement instances. |
StructureProvider.Builder |
StructureProvider.Builder.selectionEndOffset(int selectionEndOffset)
The end of offset range where this element should be selected and
revealed in document when selected in outline view.
|
StructureProvider.Builder |
StructureProvider.Builder.selectionStartOffset(int selectionStartOffset)
The start of offset range where this element should be selected and
revealed in document when selected in outline view.
|
StructureProvider.Builder |
StructureProvider.Builder.tags(Set<StructureElement.Tag> tags)
Tags for this structure element.
|