Package ij.plugin

Class NewPlugin

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

public class NewPlugin extends Object implements PlugIn
This class creates a new macro or the Java source for a new plugin.
  • Field Details

  • Constructor Details

    • NewPlugin

      public NewPlugin()
  • Method Details

    • run

      public void run(String arg)
      Description copied from interface: PlugIn
      This method is called when the plugin is loaded. 'arg', which may be blank, is the argument specified for this plugin in IJ_Props.txt.
      Specified by:
      run in interface PlugIn
    • createMacro

      public void createMacro(String name)
    • createPlugin

      public void createPlugin(String name, int type, String methods)
    • showDialog

      public boolean showDialog()
    • getEditor

      public Editor getEditor()
      Returns the Editor the newly created macro or plugin was opened in.