Interface IPlacementContext

    • Method Detail

      • getPlacementOffset

        int getPlacementOffset()
        Gets offset of inserting global content part of IGlobalVariable. Global content part - part of template which should be placed not in where ITemplate apply
        Returns:
        offset of inserting global content part of IGlobalVariable
      • shiftPlacementOffset

        void shiftPlacementOffset​(int shift,
                                  org.eclipse.jface.text.IDocument document)
        Shifts placement offset after usual part of template will be applied to document, before inserting global content part
        Parameters:
        shift -
        document -