Class XMLDoubleClickStrategy
java.lang.Object
org.apache.uima.taeconfigurator.editors.xml.XMLDoubleClickStrategy
- All Implemented Interfaces:
org.eclipse.jface.text.ITextDoubleClickStrategy
public class XMLDoubleClickStrategy
extends Object
implements org.eclipse.jface.text.ITextDoubleClickStrategy
The Class XMLDoubleClickStrategy.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
doubleClicked
(org.eclipse.jface.text.ITextViewer part) protected boolean
selectComment
(int caretPos) Select comment.protected boolean
selectWord
(int caretPos) Select word.
-
Field Details
-
fText
protected org.eclipse.jface.text.ITextViewer fTextThe text.
-
-
Constructor Details
-
XMLDoubleClickStrategy
public XMLDoubleClickStrategy()
-
-
Method Details
-
doubleClicked
public void doubleClicked(org.eclipse.jface.text.ITextViewer part) - Specified by:
doubleClicked
in interfaceorg.eclipse.jface.text.ITextDoubleClickStrategy
-
selectComment
protected boolean selectComment(int caretPos) Select comment.- Parameters:
caretPos
- the caret pos- Returns:
- true, if successful
-
selectWord
protected boolean selectWord(int caretPos) Select word.- Parameters:
caretPos
- the caret pos- Returns:
- true, if successful
-