Skip to content
This repository has been archived by the owner on Apr 2, 2023. It is now read-only.

Project Layout

Rainer Simon edited this page Oct 21, 2012 · 7 revisions

The project consists of JavaScript source code, HTML templates and CSS. The project layout is as follows (square brackets are provided Google Closure namespaces):

css/
   annotorious.css
   
externs/
   annotation.js
   okfn_annotator.js  

src/
   geometry/
      - geom.js                  -- [ annotorious.geom ]
      - point.js                 -- [ annotorious.geom.Point ]
      - polygon.js               -- [ annotorious.geom.Polygon ] 
      - rectangle.js             -- [ annotorious.geom.Rectangle ]

   modules/
      image/
         - image_annotator.js    -- [ annotorious.modules.image.ImageAnnotator ]
         - image_module.js       -- [ annotorious.modules.image.ImageModule ]
         - image_viewer.js       -- [ annotorious.modules.image.Viewer ]

   okfn/
      - okfn_image_plugin.js     -- [ annotorious.okfn.ImagePlugin ]

   plugins/
      - elasticsearch.js         -- [ annotorious.plugins.ElasticSearchStorage ]

   selection/
      - drag_selector.js         -- [ annotorious.selection.DragSelector ]

   - annotation.js               -- [ annotorious.annotation ]
   - annotorious.js              -- [ annotorious ]
   - dom.js                      -- [ annotorious.dom ]
   - editor.js                   -- [ annotorious.editor ]
   - events.js                   -- [ annotorious.events ]
   - popup.js                    -- [ annotorious.viewer ]

templates/
   annotator_templates.soy
   image_templates.soy
Clone this wiki locally