Interface AcrolinxSidebar

    • Method Detail

      • checkGlobal

        void checkGlobal()
        Triggers a check action in the Acrolinx Sidebar, same as pushing the checkButton.
      • onGlobalCheckRejected

        void onGlobalCheckRejected()
        Notifies the sidebar that the check was canceled.
      • invalidateRanges

        void invalidateRanges​(java.util.List<CheckedDocumentPart> invalidCheckedDocumentRanges)
        Notifies the sidebar about invalid ranges of the current document. The sidebar will then invalidate all cards containing issues within this text range.
      • invalidateRangesForMatches

        void invalidateRangesForMatches​(java.util.List<? extends AbstractMatch> matches)
        Notifies the sidebar about invalid ranges of the current document. The sidebar will then invalidate all cards containing issues within this text range for the current check.
      • loadSidebarFromServerLocation

        void loadSidebarFromServerLocation​(java.lang.String serverAddress)
        Load the sidebar from a different server address.
      • reload

        void reload()
        Reload the current sidebar.
      • getLastCheckedDocumentReference

        java.lang.String getLastCheckedDocumentReference()
        Gets the document reference of the lasted successfully checked document.
        Returns:
        documentReference
      • getLastCheckedDocument

        java.lang.String getLastCheckedDocument()
        Gets the content of the lasted successfully checked document.
        Returns:
        documentContent
      • showMessage

        void showMessage​(SidebarMessage sidebarMessage)
        Shows a message in the sidebar.
      • checkDocumentInBatch

        void checkDocumentInBatch​(java.lang.String documentIdentifier,
                                  java.lang.String documentContent,
                                  CheckOptions checkOptions)