ij.plugin
Class NewPlugin

java.lang.Object
  extended by ij.plugin.NewPlugin
All Implemented Interfaces:
PlugIn

public class NewPlugin
extends java.lang.Object
implements PlugIn

This class creates new plugins in Java source form.


Field Summary
static int PLUGIN
           
static int PLUGIN_FILTER
           
static int PLUGIN_FRAME
           
 
Constructor Summary
NewPlugin()
           
 
Method Summary
 void createPlugin(java.lang.String name, int type)
           
 void run(java.lang.String arg)
          This method is called when the plug-in is loaded.
 boolean showDialog()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PLUGIN

public static final int PLUGIN
See Also:
Constant Field Values

PLUGIN_FILTER

public static final int PLUGIN_FILTER
See Also:
Constant Field Values

PLUGIN_FRAME

public static final int PLUGIN_FRAME
See Also:
Constant Field Values
Constructor Detail

NewPlugin

public NewPlugin()
Method Detail

run

public void run(java.lang.String arg)
Description copied from interface: PlugIn
This method is called when the plug-in is loaded. 'arg', which may be blank, is the argument specified for this plug-in in IJ_Props.txt.

Specified by:
run in interface PlugIn

createPlugin

public void createPlugin(java.lang.String name,
                         int type)

showDialog

public boolean showDialog()