Class PlugInTool

    • Constructor Detail

      • PlugInTool

        public PlugInTool()
    • 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
      • getToolName

        public String getToolName()
        Return the tool name.
      • getToolIcon

        public String getToolIcon()
        Return the string encoding of the tool icon. See http://rsb.info.nih.gov/ij/developer/macro/macros.html#icons The default icon is the first letter of the tool name.
      • showOptionsDialog

        public void showOptionsDialog()
      • runMacroTool

        public void runMacroTool​(String name)
        These methods are overridden by MacroToolRunner.
      • runMenuTool

        public void runMenuTool​(String name,
                                String command)
      • getMacroProgram

        public Program getMacroProgram()