Package ij.plugin

Class Commands

  • All Implemented Interfaces:
    PlugIn

    public class Commands
    extends Object
    implements PlugIn
    Runs miscellaneous File and Window menu commands.
    • Constructor Detail

      • Commands

        public Commands()
    • Method Detail

      • run

        public void run​(String cmd)
        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
      • closeAll

        public static boolean closeAll()
        Closes all image windows, or returns 'false' if the user cancels the unsaved changes dialog box.