Interface IXtextInteractiveBslModuleFixModel

    • Method Detail

      • getModificationContext

        org.eclipse.xtext.ui.editor.model.edit.IModificationContext getModificationContext()
        Provides modification context
        Returns:
        IModificationContext, never null
      • getFormatString

        Optional<String> getFormatString​(org.eclipse.emf.ecore.EObject eObject)
                                  throws org.eclipse.jface.text.BadLocationException
        Provides the format string for the given EObject which is the semantic object whose node should be provided NodeModelUtils.findActualNodeFor()
        Parameters:
        eObject - the object, cannot be null
        Returns:
        format string, never null
        Throws:
        org.eclipse.jface.text.BadLocationException
      • getLinkedModeModel

        org.eclipse.jface.text.link.LinkedModeModel getLinkedModeModel()
        Provides LinkedModeModel
        Returns:
        LinkedModeModel, never null
      • getLineInformationOfOffset

        org.eclipse.jface.text.IRegion getLineInformationOfOffset​(int offset)
                                                           throws org.eclipse.jface.text.BadLocationException
        Returns a description of the line at the given offset.The description contains the offset and the length of the line excluding the line's delimiter.
        Parameters:
        offset - the offset whose line should be described
        Returns:
        a region describing the line, never null
        Throws:
        org.eclipse.jface.text.BadLocationException
      • enterUiMode

        void enterUiMode()
        Connects the ui mode for linked mode and starts UI on the first position Should be called write after installation of linkedModeModel: linkedModeModel.forceInstall()
      • selectAndRevealForLinkedModeModel

        void selectAndRevealForLinkedModeModel​(int posStart,
                                               int length)
        Sets the selected range and reveals it
        Parameters:
        posStart - the start position
        length - the length of selection