Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

cgsuite.plugin
Interface Plugin  view Plugin download Plugin.java


public interface Plugin

Exposes a plug-in package to the Combinatorial Game Suite user interface.

Every plug-in package must include a class that implements Plugin. Immediately after a plug-in is loaded, an instance of that class is created and its initialize 55 method is invoked. Types, constants, methods and output handlers should be declared during the call to initialize, by calling back to the supplied PluginContext.

It is advisable to use a single implementation of Plugin to declare all classes in a plug-in package. For example, if a package includes three subclasses of Game, then all three can be declared by a single Plugin implementation.

Version:
0.1.1

Method Summary
 PluginInfo getPluginInfo()
          Gets basic information about this plug-in package.
 void initialize(PluginContext pluginContext)
          Declares types, constants, methods and output handlers for this plug-in.
 

Method Detail

initialize

public void initialize(PluginContext pluginContext)
Declares types, constants, methods and output handlers for this plug-in.


getPluginInfo

public PluginInfo getPluginInfo()
Gets basic information about this plug-in package.