Class CustomAstSelectionProvider


  • public class CustomAstSelectionProvider
    extends org.eclipse.xtext.ui.editor.selection.AstSelectionProvider
    Special implementation of AstSelectionProvider for replace AstSelectionAction as base class for all action to CustomAstSelectionAction
    • Field Summary

      • Fields inherited from class org.eclipse.xtext.ui.editor.selection.AstSelectionProvider

        SELECT_ENCLOSING, SELECT_LAST, SELECT_NEXT, SELECT_PREVIOUS
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void initialize​(org.eclipse.xtext.ui.editor.XtextEditor xtextEditor)
      Copy from source method with replacing AstSelectionAction to CustomAstSelectionAction
      • Methods inherited from class org.eclipse.xtext.ui.editor.selection.AstSelectionProvider

        computeInitialFineGrainedSelection, findSemanticObjectFor, getEndOffset, getEObjectAtOffset, getRegion, getSelectedAstElements, getSelectionOffset, getTextRegion, internalGetSelectedAstElements, register, selectEnclosing, selectLast, selectNext, selectPrevious, setAction
    • Constructor Detail

      • CustomAstSelectionProvider

        public CustomAstSelectionProvider()
    • Method Detail

      • initialize

        public void initialize​(org.eclipse.xtext.ui.editor.XtextEditor xtextEditor)
        Copy from source method with replacing AstSelectionAction to CustomAstSelectionAction
        Overrides:
        initialize in class org.eclipse.xtext.ui.editor.selection.AstSelectionProvider