java.lang.Objectorg.sintef.mofscript.editor.MofScriptDoubleClickStrategy
public class MofScriptDoubleClickStrategy
A Double click strategy for MOFScript
Field Summary | |
---|---|
protected org.eclipse.jface.text.ITextViewer |
fText
|
Constructor Summary | |
---|---|
MofScriptDoubleClickStrategy()
|
Method Summary | |
---|---|
void |
doubleClicked(org.eclipse.jface.text.ITextViewer part)
Handle double clicks |
protected boolean |
selectQuotes(int caretPos)
Selecting comments |
protected boolean |
selectWord(int caretPos)
Selects a word |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected org.eclipse.jface.text.ITextViewer fText
Constructor Detail |
---|
public MofScriptDoubleClickStrategy()
Method Detail |
---|
public void doubleClicked(org.eclipse.jface.text.ITextViewer part)
doubleClicked
in interface org.eclipse.jface.text.ITextDoubleClickStrategy
protected boolean selectQuotes(int caretPos)
caretPos
-
protected boolean selectWord(int caretPos)
caretPos
-