Package ij.plugin

Class 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.
    • Constructor Detail

      • NewPlugin

        public NewPlugin()
    • Method Detail

      • 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.