[xwiki-devs] Annotation module source code review
Hi all, In order to start integration of annotation module to XWiki, I would encourage you to review annotation module source code. Lucien
Lucien Pereira wrote:
Hi all,
In order to start integration of annotation module to XWiki, I would encourage you to review annotation module source code.
source code can be found here : http://svn.xwiki.org/svnroot/xwiki/sandbox/xwiki-annotation-parent/
Lucien _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
Hi all, I'm joining here a component diagram of annotation feature. As you can see on the diagram, AnnotationFeature uses AnnotationTarget in order to alter both selection (using SelectionService) and document source (using severals Alterers and IOTargetService). AnnotationFeature use IOService in order to retrieve/modify/remove stored annotations. Once location is computed the module use IOService in order to store annotations in XWiki DB. AnnotationMaintainer is used each time a document is modified. It uses a diff algorithm in order to update annotations location. I hope this will help you understand the code. Thanks, Lucien.
participants (1)
-
Lucien Pereira