|
RSE Release 3.0 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
| 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 |
public static final String SEARCH_RESULT_DELIMITER
public static final String SEARCH_RESULT_OPEN_DELIMITER
public static final String SEARCH_RESULT_CLOSE_DELIMITER
public static final String SEARCH_RESULT_INDEX_DELIMITER
| Method Detail |
public void setParent(Object parent)
public Object getParent()
public int getLine()
public SystemSearchString getMatchingSearchString()
public String getAbsolutePath()
public String getText()
public int getIndex()
public 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.public int numOfMatches()
public int getCharStart(int matchIndex)
matchIndex - the match index. For example, to get the start offset for the first match, specify 0.
public int getCharEnd(int matchIndex)
matchIndex - the match index. For example, to get the end offset for the first match, specify 0.
public IHostSearchResultConfiguration getConfiguration()
|
RSE Release 3.0 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||