Changes between Version 11 and Version 12 of plugin
- Timestamp:
- Dec 16, 2010, 11:56:44 AM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
plugin
v11 v12 75 75 public void finish(); 76 76 public String getName(); 77 public boolean getReadTemplate(); 78 public boolean getWriteTemplate(); 79 public boolean getWriteImage(); 77 80 } 78 81 }}} … … 84 87 85 88 The ''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 90 The 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. 86 91 87 92 The 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. … … 137 142 return true; 138 143 } 144 145 public boolean getReadTemplate() {return true;} 146 public boolean getWriteTemplate() {return true;} 147 public boolean getWriteImage() {return false;} 139 148 } 140 149 }}}