Interface EditorContextProvider

    • Method Detail

      • getChannel

        Channel getChannel()
        Access the channel where the editor is running (e.g. ONLINE, GITHUB or VSCODE).
        Returns:
        The channel where the editor is running or DEFAULT if no channel is available.
      • getOperatingSystem

        Optional<OperatingSystem> getOperatingSystem()
        Access the operating system where the editor is running (e.g. MACOS, WINDOWS or LINUX).
        Returns:
        The operating system where the editor is running or Optional.empty() if no information is available.
      • isReadOnly

        boolean isReadOnly()
        Checks if the editor is in read only mode.
        Returns:
        If the editor is in read only mode or if is not.