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.IFindReplaceTarget
public boolean isEditable()
isEditable
in interface org.eclipse.jface.text.IFindReplaceTarget
public String getSelectionText()
getSelectionText
in interface org.eclipse.jface.text.IFindReplaceTarget
public org.eclipse.swt.graphics.Point getSelection()
getSelection
in interface org.eclipse.jface.text.IFindReplaceTarget
public int findAndSelect(int widgetOffset, String findString, boolean searchForward, boolean caseSensitive, boolean wholeWord)
findAndSelect
in interface org.eclipse.jface.text.IFindReplaceTarget
public boolean canPerformFind()
canPerformFind
in interface org.eclipse.jface.text.IFindReplaceTarget
Copyright © 2020. All rights reserved.