Class XMLDoubleClickStrategy
- java.lang.Object
-
- de.uka.ipd.sdq.pcm.gmf.resource.editors.XMLDoubleClickStrategy
-
- All Implemented Interfaces:
ITextDoubleClickStrategy
public class XMLDoubleClickStrategy extends Object implements ITextDoubleClickStrategy
The double click strategy.
-
-
Field Summary
Fields Modifier and Type Field Description protected ITextViewer
fText
An ITextViewer.
-
Constructor Summary
Constructors Constructor Description XMLDoubleClickStrategy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
doubleClicked(ITextViewer part)
protected boolean
selectComment(int caretPos)
protected boolean
selectWord(int caretPos)
-
-
-
Field Detail
-
fText
protected ITextViewer fText
An ITextViewer.
-
-
Method Detail
-
doubleClicked
public void doubleClicked(ITextViewer part)
- 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
-
-