public class BrowserFindTarget extends Object implements org.eclipse.jface.text.IFindReplaceTarget
| Modifier and Type | Field and Description |
|---|---|
protected org.eclipse.swt.browser.Browser |
browser |
| Constructor and Description |
|---|
BrowserFindTarget(org.eclipse.swt.browser.Browser browser) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canPerformFind() |
int |
findAndSelect(int widgetOffset,
String findString,
boolean searchForward,
boolean caseSensitive,
boolean wholeWord) |
org.eclipse.swt.graphics.Point |
getSelection() |
String |
getSelectionText() |
boolean |
isEditable() |
void |
replaceSelection(String text) |
public BrowserFindTarget(org.eclipse.swt.browser.Browser browser)
public void replaceSelection(String text)
replaceSelection in interface org.eclipse.jface.text.IFindReplaceTargetpublic boolean isEditable()
isEditable in interface org.eclipse.jface.text.IFindReplaceTargetpublic String getSelectionText()
getSelectionText in interface org.eclipse.jface.text.IFindReplaceTargetpublic org.eclipse.swt.graphics.Point getSelection()
getSelection in interface org.eclipse.jface.text.IFindReplaceTargetpublic int findAndSelect(int widgetOffset,
String findString,
boolean searchForward,
boolean caseSensitive,
boolean wholeWord)
findAndSelect in interface org.eclipse.jface.text.IFindReplaceTargetpublic boolean canPerformFind()
canPerformFind in interface org.eclipse.jface.text.IFindReplaceTargetCopyright © 2020. All rights reserved.