Changes between Version 32 and Version 33 of DevelopersGuide/DevelopingPlugins
- Timestamp:
- 2009-11-07T23:08:15+01:00 (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
DevelopersGuide/DevelopingPlugins
v32 v33 22 22 It is recommended (but not required), that you subclass org.openstreetmap.josm.plugins.Plugin. This way you get some helper functions and always have the latest callback function signatures (see below) as hints in your baseclass to override them ;) 23 23 24 The required minimum in naming is one individual part in the path structure of you plugin class names. The path of the base class is used to detect the source of exceptions. So when you base class is my.example.class.MyPlugin, then "my.example.class" is used to detect your plugin code. All important parts of your plugin should use that and also it should be unique for the plugin (i.e. add at least one part with the name of your plugin). 24 25 25 26 = Callbacks = … … 76 77 Gives the description of the plugin visible in the preferences page. For line breaks, you have to use <br>, ''not'' <br/> (blame Swing ;). 77 78 '''Author''':: 78 An Email-Adress of the author of this plugin. This is used in the error report window, if an error is detected within the plugin code (there is a strange heuristic to guess whether an exception comes from a plugin).79 An Email-Adress of the author of this plugin. This is used in the error report window, if an error is detected within the plugin code. 79 80 '''Plugin-Date''':: 80 81 The creation date of the plugin in ISO format.