Extending ImageJ: Commands

How to write a Command.

For now, see the simple-commands examples.