Opens a dialog to create a new text file macro, text file, or a plugin of one of the three types of supported by ImageJ (Plugin, Plugin Filter, Plugin Frame).

Macro: opens an new text file. The window a menu called Macros that lets you run, evaluate, abort or install it.

Plugin: Opens, captures or generates images. Implements the PlugIn interface. The prototype displays “Hello world!” in the ImageJ window. Another example is the Step Maker plugin at

Plugin Filter: Processes the active image. Implements the PlugInFilter interface. The prototype inverts the active image twice. Another example is the Image Inverter plugin at

Plugin Frame: Displays a nonimage window containing controls such as buttons and sliders. Extends the PlugInFrame class. The prototype opens a window containing a text area. Another example is the IP Demo plugin at

The text windows created by this command has two menus: File, Edit and Font. Use Compile and Run in the File menu to compile and run the plugin. The Edit menu does not contain Cut/Copy/Paste but the keyboard shortcuts for these function can be used. Note that the name you choose for the plugin must include at least one underscore.

Use Zap Gremlins to find and delete extraneous non-code characters (these sometimes appear when cutting and pasting from another sources, for example email messages or some editors.

gui/plugins/new.txt · Last modified: 2010/01/26 11:07 (external edit)
Back to top
CC Attribution-Noncommercial-Share Alike 3.0 Unported = chi`s home Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0