Main Page
Cookbook/Overview ImageMeister the jcprops file Licensing Binary Installation & Configuration [ Win · Mac · Nix · OSX ] Changes Public API Source Code Main Page Java [ Common · Win · Mac · Nix ] Native Code [ Common · Win · Mac · Nix ] Manifest Native Code Overviews [ Common · Win · Mac · Nix · Strings ] Macros [ General · Native Macros ] Walkthroughs [ Java only · Java and native ] Building [ Win · Mac · Nix · OSX ] Distribution Issues |
All Packages This Package Class Hierarchy Class Search Index
Summary |
public interface PluginFactoryI { // Fields 1 public static final String copyright; // Methods 3 public abstract int getInterfaceVersion(); public abstract PluginWatcherI getPluginWatcher(); public abstract int registerPlugins(int); }
To add new plugins to ImageMeister, you must create a zip file containing the classes needed by your plugin, and place the zip file containing the classes in ImageMeister's 'plugins' directory. One of the classes in the zip file must be named 'IMPluginFactory', and it must implement the following interface.
ImageMeister will create an instance of your 'IMPluginFactory' class, and call its methods to load your plugin(s).
When the registerPlugins() method of your 'IMPluginFactory' class is called, your class can then call the PluginManager.addPlugin() method to add its plugin(s). Copyright (c) 1998-2002 Samizdat Productions. All Rights Reserved. ImageMeister is a Trademark of Samizdat Productions.
Fields |
· copyright | Summary | Top |
public static final String copyright
Methods |
· getInterfaceVersion | Summary | Top |
public abstract int getInterfaceVersion()
Return the greatest interface version which this class knows about.
· registerPlugins | Summary | Top |
public abstract int registerPlugins(int interfaceVersion)
This method will be called to allow your class to register its plugin(s). This method should return the number of plugins successfully registered.
Parameter Description interfaceVersion the interface version currently supported
· getPluginWatcher | Summary | Top |
public abstract PluginWatcherI getPluginWatcher()
Return an object implementing the PluginWatcherI interface, which will be called when each plugin is loaded. May return null. See that interface for more information.
All Packages This Package Class Hierarchy Class Search IndexFreshly brewed Java API Documentation automatically generated with polardoc Version 1.0.7