java.lang.Objectcom.ibm.jdg2e.editor.jfacetext.sqleditor.sql.SQLDoubleClickStrategy
Process double clicks in the SQL content.
| Field Summary | |
protected int |
fEndPos
|
protected int |
fPos
|
protected int |
fStartPos
|
protected org.eclipse.jface.text.ITextViewer |
fText
|
| Constructor Summary | |
SQLDoubleClickStrategy()
Constructor for SQLDoubleClickStrategy. |
|
| Method Summary | |
void |
doubleClicked(org.eclipse.jface.text.ITextViewer viewer)
A simple method that selects the word when double clicked. |
protected boolean |
matchWord()
Select the word at the current selection. |
protected void |
selectWord()
Select the word at the current selection. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected int fEndPos
protected int fPos
protected int fStartPos
protected org.eclipse.jface.text.ITextViewer fText
| Constructor Detail |
public SQLDoubleClickStrategy()
| Method Detail |
public void doubleClicked(org.eclipse.jface.text.ITextViewer viewer)
doubleClicked in interface org.eclipse.jface.text.ITextDoubleClickStrategyITextDoubleClickStrategy.doubleClicked(ITextViewer)protected boolean matchWord()
protected void selectWord()