Package com.acrolinx.sidebar.swt
Class AcrolinxSidebarSWT
java.lang.Object
com.acrolinx.sidebar.swt.AcrolinxSidebarSWT
- All Implemented Interfaces:
AcrolinxSidebar
SWT implementation of Acrolinx Sidebar.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionAcrolinxSidebarSWT(org.eclipse.swt.widgets.Composite parent, AcrolinxIntegration acrolinxIntegration) AcrolinxSidebarSWT(org.eclipse.swt.widgets.Composite parent, AcrolinxIntegration acrolinxIntegration, AcrolinxStorage acrolinxStorage) AcrolinxSidebarSWT(org.eclipse.swt.widgets.Shell parent, AcrolinxIntegration acrolinxIntegration) AcrolinxSidebarSWT(org.eclipse.swt.widgets.Shell parent, AcrolinxIntegration acrolinxIntegration, AcrolinxStorage acrolinxStorage) -
Method Summary
Modifier and TypeMethodDescriptionvoidcheckDocumentInBatch(String documentIdentifier, String documentContent, CheckOptions checkOptions) voidTriggers a check action in the Acrolinx Sidebar, same as pushing the checkButton.voidconfigure(SidebarConfiguration sidebarConfiguration) Pushed the configuration to the Acrolinx Sidebar.Gets the content of the lasted successfully checked document.Gets the document reference of the lasted successfully checked document.org.eclipse.swt.browser.BrowservoidinitBatchCheck(List<BatchCheckRequestOptions> batchCheckRequestOptions) voidinvalidateRanges(List<CheckedDocumentPart> invalidDocumentParts) Notifies the sidebar about invalid ranges of the current document.voidinvalidateRangesForMatches(List<? extends AbstractMatch> matches) Notifies the sidebar about invalid ranges of the current document.voidloadSidebarFromServerLocation(String serverAddress) Load the sidebar from a different server address.voidNotifies the sidebar that the check was canceled.voidreload()Reload the current sidebar.voidsetVisible(Boolean visibility) voidshowMessage(SidebarMessage sidebarMessage) Shows a message in the sidebar.void
-
Constructor Details
-
AcrolinxSidebarSWT
public AcrolinxSidebarSWT(org.eclipse.swt.widgets.Composite parent, AcrolinxIntegration acrolinxIntegration) -
AcrolinxSidebarSWT
public AcrolinxSidebarSWT(org.eclipse.swt.widgets.Shell parent, AcrolinxIntegration acrolinxIntegration) -
AcrolinxSidebarSWT
public AcrolinxSidebarSWT(org.eclipse.swt.widgets.Composite parent, AcrolinxIntegration acrolinxIntegration, AcrolinxStorage acrolinxStorage) -
AcrolinxSidebarSWT
public AcrolinxSidebarSWT(org.eclipse.swt.widgets.Shell parent, AcrolinxIntegration acrolinxIntegration, AcrolinxStorage acrolinxStorage)
-
-
Method Details
-
initBatchCheck
- Specified by:
initBatchCheckin interfaceAcrolinxSidebar
-
getSidebarBrowser
public org.eclipse.swt.browser.Browser getSidebarBrowser() -
configure
Description copied from interface:AcrolinxSidebarPushed the configuration to the Acrolinx Sidebar.- Specified by:
configurein interfaceAcrolinxSidebar- See Also:
-
checkGlobal
public void checkGlobal()Description copied from interface:AcrolinxSidebarTriggers a check action in the Acrolinx Sidebar, same as pushing the checkButton.- Specified by:
checkGlobalin interfaceAcrolinxSidebar
-
onGlobalCheckRejected
public void onGlobalCheckRejected()Description copied from interface:AcrolinxSidebarNotifies the sidebar that the check was canceled.- Specified by:
onGlobalCheckRejectedin interfaceAcrolinxSidebar
-
invalidateRanges
Description copied from interface:AcrolinxSidebarNotifies the sidebar about invalid ranges of the current document. The sidebar will then invalidate all cards containing issues within this text range.- Specified by:
invalidateRangesin interfaceAcrolinxSidebar
-
invalidateRangesForMatches
Description copied from interface:AcrolinxSidebarNotifies 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:
invalidateRangesForMatchesin interfaceAcrolinxSidebar
-
loadSidebarFromServerLocation
Description copied from interface:AcrolinxSidebarLoad the sidebar from a different server address.- Specified by:
loadSidebarFromServerLocationin interfaceAcrolinxSidebar
-
reload
public void reload()Description copied from interface:AcrolinxSidebarReload the current sidebar.- Specified by:
reloadin interfaceAcrolinxSidebar
-
getLastCheckedDocumentReference
Description copied from interface:AcrolinxSidebarGets the document reference of the lasted successfully checked document.- Specified by:
getLastCheckedDocumentReferencein interfaceAcrolinxSidebar- Returns:
- documentReference
-
getLastCheckedExternalContent
-
getLastCheckedDocument
Description copied from interface:AcrolinxSidebarGets the content of the lasted successfully checked document.- Specified by:
getLastCheckedDocumentin interfaceAcrolinxSidebar- Returns:
- documentContent
-
showMessage
Description copied from interface:AcrolinxSidebarShows a message in the sidebar.- Specified by:
showMessagein interfaceAcrolinxSidebar
-
checkDocumentInBatch
public void checkDocumentInBatch(String documentIdentifier, String documentContent, CheckOptions checkOptions) - Specified by:
checkDocumentInBatchin interfaceAcrolinxSidebar
-
toggleVisibility
public void toggleVisibility() -
setVisible
-
isVisible
-