Package com.acrolinx.sidebar
Interface AcrolinxMultiViewSidebarInterface
-
- All Known Implementing Classes:
AcrolinxMultiViewSidebarSwing
public interface AcrolinxMultiViewSidebarInterfaceThis 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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddSidebar(AcrolinxIntegration acrolinxIntegration, java.lang.String documentId)Launches a new sidebar for the opened document with id documentId.voidremoveSidebar(java.lang.String documentId)Removes the sidebar for the document with id documentId.voidswitchSidebar(java.lang.String documentId)Switches the active sidebar to the one corresponding to the document with id documentId.
-
-
-
Method Detail
-
addSidebar
void addSidebar(AcrolinxIntegration acrolinxIntegration, java.lang.String documentId) throws AcrolinxException
Launches a new sidebar for the opened document with id documentId.- Throws:
AcrolinxException
-
switchSidebar
void switchSidebar(java.lang.String documentId) throws AcrolinxExceptionSwitches the active sidebar to the one corresponding to the document with id documentId.- Throws:
AcrolinxException
-
removeSidebar
void removeSidebar(java.lang.String documentId) throws AcrolinxExceptionRemoves the sidebar for the document with id documentId.- Throws:
AcrolinxException
-
-