Skip navigation links

Package org.ka2ddo.yaac.pluginapi

This package provides service classes and interface definitions for creating plugin extensions to YAAC.

See: Description

Package org.ka2ddo.yaac.pluginapi Description

This package provides service classes and interface definitions for creating plugin extensions to YAAC.

A plugin consists of a JAR file containing:

  1. a class that is a concrete instantiable subclass of the abstract Provider class in this package.
  2. a manifest file with the line:
    YAAC-Provider: fully.qualified.provider.subclass.name
  3. whatever other class files and resources are needed to implement the services defined by the Provider subclass.
This JAR file should be placed in the YAAC installation directory's plugins subdirectory, or (if the installation directory tree is not writeable by the user) into the plugindir subdirectory of the user's YAAC data subdirectory of the user's home directory.

The Provider subclass can define the following extensions to be added to YAAC:

If any extension is a duplicate of an extension defined by an earlier plugin (or the YAAC core software itself), such as an identically-named menu item, it will replace the earlier defined extension.

Plugin JAR files will be scanned in file modification date order.

Skip navigation links