Class XMLDoubleClickStrategy
java.lang.Object
de.uka.ipd.sdq.pcm.gmf.resource.editors.XMLDoubleClickStrategy
- All Implemented Interfaces:
ITextDoubleClickStrategy
The double click strategy.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
doubleClicked
(ITextViewer part) protected boolean
selectComment
(int caretPos) protected boolean
selectWord
(int caretPos)
-
Field Details
-
fText
An ITextViewer.
-
-
Constructor Details
-
XMLDoubleClickStrategy
public XMLDoubleClickStrategy()
-
-
Method Details
-
doubleClicked
- Specified by:
doubleClicked
in interfaceITextDoubleClickStrategy
- Parameters:
part
- an ITextViewer
-
selectComment
protected boolean selectComment(int caretPos) - Parameters:
caretPos
- an integer- Returns:
- if comment is selected
-
selectWord
protected boolean selectWord(int caretPos) - Parameters:
caretPos
- an integer- Returns:
- of word is selected
-