Changes between Version 11 and Version 12 of plugin


Ignore:
Timestamp:
Dec 16, 2010, 11:56:44 AM (13 years ago)
Author:
bpt
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • plugin

    v11 v12  
    7575    public void finish();
    7676    public String getName();
     77    public boolean getReadTemplate();
     78    public boolean getWriteTemplate();
     79    public boolean getWriteImage();
    7780}
    7881}}}
     
    8487
    8588The ''getName'' method should return the name of the Batchable for inclusion in the ''Plugins'' menu on the psychomorph Transform window.  Both Batch and single versions of the plugin will be added to the menu.
     89
     90The three methods getReadTemplate(), getWriteTemplate() and getWriteImage() simply return true or false, to indicate if the template or image should be read before processing or written after processing.  The image is always read before processing.
    8691
    8792The class must also have a no parameter (default) constructor for initialising.  This is called both when the plugin is first loaded into the system and every time the (single or batch) menu item is clicked.
     
    137142      return true;
    138143    }
     144
     145    public boolean getReadTemplate() {return true;}
     146    public boolean getWriteTemplate() {return true;}
     147    public boolean getWriteImage() {return false;}
    139148}
    140149}}}