Class DefaultEditorContextProviderImpl

    • Constructor Detail

      • DefaultEditorContextProviderImpl

        public DefaultEditorContextProviderImpl()
    • Method Detail

      • getChannel

        public Channel getChannel()
        Description copied from interface: EditorContextProvider
        Access the channel where the editor is running (e.g. ONLINE, GITHUB or VSCODE).
        Specified by:
        getChannel in interface EditorContextProvider
        Returns:
        The channel where the editor is running or DEFAULT if no channel is available.
      • isReadOnly

        public boolean isReadOnly()
        Description copied from interface: EditorContextProvider
        Checks if the editor is in read only mode.
        Specified by:
        isReadOnly in interface EditorContextProvider
        Returns:
        If the editor is in read only mode or if is not.