Package com.acrolinx.sidebar
Interface AcrolinxMultiViewSidebarInterface
- All Known Implementing Classes:
AcrolinxMultiViewSidebarSwing
public interface AcrolinxMultiViewSidebarInterface
This interface needs be implemented to support multiple sidebars. Each open document will have
its own corresponding sidebar. These methods should be called by the integration whenever a new
editor is opened, activated or closed.
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddSidebar(AcrolinxIntegration acrolinxIntegration, String documentId) Launches a new sidebar for the opened document with id documentId.voidremoveSidebar(String documentId) Removes the sidebar for the document with id documentId.voidswitchSidebar(String documentId) Switches the active sidebar to the one corresponding to the document with id documentId.
-
Method Details
-
addSidebar
void addSidebar(AcrolinxIntegration acrolinxIntegration, String documentId) throws AcrolinxException Launches a new sidebar for the opened document with id documentId.- Throws:
AcrolinxException
-
switchSidebar
Switches the active sidebar to the one corresponding to the document with id documentId.- Throws:
AcrolinxException
-
removeSidebar
Removes the sidebar for the document with id documentId.- Throws:
AcrolinxException
-