Interface ISourceViewerExtension5

    • Method Detail

      • setCodeMiningProviders

        void setCodeMiningProviders​(org.eclipse.jface.text.codemining.ICodeMiningProvider[] codeMiningProviders)
        Register the code mining providers.
        Parameters:
        codeMiningProviders - the code mining providers to register.
      • hasCodeMiningProviders

        boolean hasCodeMiningProviders()
        Returns true if there are code mining providers and false otherwise.
        Returns:
        true if there are code mining providers and false otherwise.
      • updateCodeMinings

        void updateCodeMinings()
        Update the code minings. Clients and implementors are responsible of calling this method when needed. A typical use-case can be to run it upon completion of a reconcilier and after a job that would compute all the necessary pre-requisites to insert code mining annotations.