|
RSE Release 3.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IHostSearchResult
Field Summary | |
---|---|
static String |
SEARCH_RESULT_CLOSE_DELIMITER
|
static String |
SEARCH_RESULT_DELIMITER
|
static String |
SEARCH_RESULT_INDEX_DELIMITER
|
static String |
SEARCH_RESULT_OPEN_DELIMITER
|
Method Summary | |
---|---|
void |
addMatch(int startOffset,
int endOffset)
Add a match to the result. |
String |
getAbsolutePath()
Gets the path to the file that this output references if it references any. |
int |
getCharEnd(int matchIndex)
Gets the char end offset for the given match index. |
int |
getCharStart(int matchIndex)
Gets the char start offset for the given match index. |
IHostSearchResultConfiguration |
getConfiguration()
|
int |
getIndex()
Gets the index of this search result in the context of its parent. |
int |
getLine()
|
SystemSearchString |
getMatchingSearchString()
Gets the search string that this result matches. |
Object |
getParent()
|
String |
getText()
Gets the text to display for a search result. |
int |
numOfMatches()
Gets the number of matches in this line. |
void |
setParent(Object parent)
|
Field Detail |
---|
static final String SEARCH_RESULT_DELIMITER
static final String SEARCH_RESULT_OPEN_DELIMITER
static final String SEARCH_RESULT_CLOSE_DELIMITER
static final String SEARCH_RESULT_INDEX_DELIMITER
Method Detail |
---|
void setParent(Object parent)
Object getParent()
int getLine()
SystemSearchString getMatchingSearchString()
String getAbsolutePath()
String getText()
int getIndex()
void addMatch(int startOffset, int endOffset)
startOffset
- the char start offset, from the beginning of the file.endOffset
- the char end offset, from the beginning of the file.int numOfMatches()
int getCharStart(int matchIndex)
matchIndex
- the match index. For example, to get the start offset for the first match, specify 0.
int getCharEnd(int matchIndex)
matchIndex
- the match index. For example, to get the end offset for the first match, specify 0.
IHostSearchResultConfiguration getConfiguration()
|
RSE Release 3.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |