Class XMLCodeLensSettings


  • public class XMLCodeLensSettings
    extends Object
    XML CodeLens settings
    Author:
    Angelo ZERR
    • Constructor Detail

      • XMLCodeLensSettings

        public XMLCodeLensSettings()
    • Method Detail

      • isEnabled

        public boolean isEnabled()
        Returns true if codelens service is enabled and false otherwise.
        Returns:
        true if codelens service is enabled and false otherwise.
      • setEnabled

        public void setEnabled​(boolean enabled)
        Set true if codelens service is enabled and false otherwise.
        Parameters:
        enabled -
      • isSupportedByClient

        public boolean isSupportedByClient​(String kind)
        Returns true if the given code lens kind is supported by the client and false otherwise.
        Parameters:
        kind - code lens kind
        Returns:
        true if the given code lens kind is supported by the client and false otherwise.
      • setCodeLens

        public void setCodeLens​(ExtendedCodeLensCapabilities codeLens)
        Update the codelens client capabilities.
        Parameters:
        codelens - client capabilities