Class AtlTextDoubleClickStrategy

java.lang.Object
org.eclipse.jface.text.DefaultTextDoubleClickStrategy
org.eclipse.m2m.atl.adt.ui.text.AtlTextDoubleClickStrategy
All Implemented Interfaces:
org.eclipse.jface.text.ITextDoubleClickStrategy

public class AtlTextDoubleClickStrategy extends org.eclipse.jface.text.DefaultTextDoubleClickStrategy
This class permits to redefine the default double-clic strategy by selecting a block of matching brackets or a word in an expression.
  • Constructor Details

    • AtlTextDoubleClickStrategy

      public AtlTextDoubleClickStrategy()
  • Method Details

    • findExtendedDoubleClickSelection

      protected org.eclipse.jface.text.IRegion findExtendedDoubleClickSelection(org.eclipse.jface.text.IDocument document, int offset)
      Overrides:
      findExtendedDoubleClickSelection in class org.eclipse.jface.text.DefaultTextDoubleClickStrategy