Anatomy of ZapTools

The different parts of a ZapTool are:

  • The ZapTool itself
  • Methods
  • Properties
  • Panels

The ZapTool

ZapTools can be either static or dynamic. The difference is that scripts can create many instances of dynamic tools, whereas static tools cannot be instantiated.

All ZapTools must have a unique name (different from other ZapTools).

ZapTool Methods

A ZapTool can have eny number of methods and plug-ins can even extend it with more methods.

A method can be either static or dynamic, where dynamic methods are working on an instance of a dynamic ZapTool.

Methods can each have there own user interface for setting up their parameters and options.

ZapTool Properties

Like methods, a ZapTool can have any number of properties, and properties can be either static or dynamic.

A property represents a single set of data, and properties be either changeable or read-only.

ZapTool Panels

A panel is a separate user interface control, which can be opened by the user to monitor or interact with a tool.

A ZapTool can have any number of panels.