Interface IContextInformationValidator

    • Method Detail

      • install

        void install​(IContextInformation info,
                     ITextViewer viewer,
                     int offset)
        Installs this validator for the given context information.
        Parameters:
        info - the context information which this validator should check
        viewer - the text viewer on which the information is presented
        offset - the document offset for which the information has been computed
      • isContextInformationValid

        boolean isContextInformationValid​(int offset)
        Returns whether the information this validator is installed on is still valid at the given document position.
        Parameters:
        offset - the current offset within the document
        Returns:
        true if the information also valid at the given document position