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 Details

  • Constructor Details

    • XMLDoubleClickStrategy

      public XMLDoubleClickStrategy()
  • Method Details

    • doubleClicked

      public void doubleClicked(ITextViewer part)
      Specified by:
      doubleClicked in interface ITextDoubleClickStrategy
      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