Skip to content

Creating your first plug in

Jose Pinto edited this page Sep 13, 2013 · 1 revision

Neptus plug-in packages

In Neptus, all plug-ins are jar files (which turn out to be zip files) that include a special descriptor file listing all the extensions contained. Extensions are Java classes that, according to interfaces implemented, can be added as extensions in different parts of Neptus execution. To simplify development, each plug-in is developed in a separate source folder. Plug-in source folders must be inside the folder plugins-dev.

Adding a new plug-in

To create a new plug-in, right-click the Neptus project and select New-->Source Folder and enter the desired folder for your plugin package (inside plugins-dev). Examples: plugins-dev/myplugin, plugins-dev/asvcontrol, etc.