Changes between Version 8 and Version 9 of DevelopersGuide/DevelopingPlugins
- Timestamp:
- 2007-01-28T12:59:01+01:00 (18 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
DevelopersGuide/DevelopingPlugins
v8 v9 20 20 After setting everything up, you need to create the plugin main class specified in the jar's manifest. The only prerequisite of this class is, that it must have an standard constructor taking no arguments. The constructor of the plugin class will be called during the JOSM startup if the plugin is registered. Here, you have full access to the object tree within JOSM. 21 21 22 It is recommended (but not required), that you subclass org.openstreetmap.josm.plugins.Plugin. This way you get some helper functions and have the alwayslatest callback function signatures (see below) as hint in your baseclass to override them ;)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 24