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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addSidebar(AcrolinxIntegration acrolinxIntegration, java.lang.String documentId)
Launches a new sidebar for the opened document with id documentId.void
removeSidebar(java.lang.String documentId)
Removes the sidebar for the document with id documentId.void
switchSidebar(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 AcrolinxException
Switches the active sidebar to the one corresponding to the document with id documentId.- Throws:
AcrolinxException
-
removeSidebar
void removeSidebar(java.lang.String documentId) throws AcrolinxException
Removes the sidebar for the document with id documentId.- Throws:
AcrolinxException
-
-