public interface UIRegion<SELECTIONTYPE>
| Modifier and Type | Method and Description |
|---|---|
int |
getEndLine()
Returns the number of the line containing the last character of the selected text.
|
int |
getEndPosition()
Returns the character index into the original source file indicating where the source fragment corresponding to
this element ends.
|
SELECTIONTYPE |
getResource()
Returns the selected resource that this
UIRegion belongs to. |
int |
getStartLine()
Returns number of the line containing the offset of the selected text.
|
int |
getStartPosition()
Returns the character index into the original source file indicating where the source fragment corresponding to
this element begins.
|
Optional<String> |
getText()
Returns the selected text.
|
int getStartPosition()
int getEndPosition()
int getStartLine()
int getEndLine()
Optional<String> getText()
Optional containing the selected text. May be empty if there is no valid text informationSELECTIONTYPE getResource()
UIRegion belongs to.UIRegion belongs to.Copyright © 2016 JBoss by Red Hat. All rights reserved.