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

Developing a new CGXP Plugin

Stéphane Brunner edited this page Aug 28, 2013 · 1 revision

Developing a new CGXP Plugin

The actual CGXP plugins.

A plugin is a graphical element that it can be add to a viewer.

The plugins classes extends the class Tool.

In CGXP we have 3 different king of plugins

All CGXP files should have

  • The correct @requires (essentially for the super class file) and @include for required files. This used by the build and the autoload system. Not needed for Ext dependencies.
  • All public methods, attributes, configs should be documented with the correct syntax.
  • The travis tests should pass.

All CGXP plugins should have

  • A configuration example in the docstring (api: example ... .. code-block:: javascript ...). This is use for the generated documentation.
  • All the configuration options should be documented with the correct syntax.

Other documentation