Class AcrolinxSidebarSWT

    • Constructor Detail

      • AcrolinxSidebarSWT

        public AcrolinxSidebarSWT​(org.eclipse.swt.widgets.Composite parent,
                                  AcrolinxIntegration acrolinxIntegration)
      • AcrolinxSidebarSWT

        public AcrolinxSidebarSWT​(org.eclipse.swt.widgets.Shell parent,
                                  AcrolinxIntegration acrolinxIntegration)
    • Method Detail

      • getSidebarBrowser

        public org.eclipse.swt.browser.Browser getSidebarBrowser()
      • checkGlobal

        public void checkGlobal()
        Description copied from interface: AcrolinxSidebar
        Triggers a check action in the Acrolinx Sidebar, same as pushing the checkButton.
        Specified by:
        checkGlobal in interface AcrolinxSidebar
      • invalidateRanges

        public void invalidateRanges​(java.util.List<CheckedDocumentPart> invalidDocumentParts)
        Description copied from interface: AcrolinxSidebar
        Notifies the sidebar about invalid ranges of the current document. The sidebar will then invalidate all cards containing issues within this text range.
        Specified by:
        invalidateRanges in interface AcrolinxSidebar
      • invalidateRangesForMatches

        public void invalidateRangesForMatches​(java.util.List<? extends AbstractMatch> matches)
        Description copied from interface: AcrolinxSidebar
        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.
        Specified by:
        invalidateRangesForMatches in interface AcrolinxSidebar
      • getLastCheckedDocumentReference

        public java.lang.String getLastCheckedDocumentReference()
        Description copied from interface: AcrolinxSidebar
        Gets the document reference of the lasted successfully checked document.
        Specified by:
        getLastCheckedDocumentReference in interface AcrolinxSidebar
        Returns:
        documentReference
      • getLastCheckedExternalContent

        public ExternalContent getLastCheckedExternalContent()
      • getLastCheckedDocument

        public java.lang.String getLastCheckedDocument()
        Description copied from interface: AcrolinxSidebar
        Gets the content of the lasted successfully checked document.
        Specified by:
        getLastCheckedDocument in interface AcrolinxSidebar
        Returns:
        documentContent
      • toggleVisibility

        public void toggleVisibility()
      • setVisible

        public void setVisible​(java.lang.Boolean visibility)
      • isVisible

        public java.lang.Boolean isVisible()