Changes between Version 8 and Version 9 of DevelopersGuide/DevelopingPlugins


Ignore:
Timestamp:
2007-01-28T12:59:01+01:00 (18 years ago)
Author:
johnw
Comment:

typo

Legend:

Unmodified
Added
Removed
Modified
  • DevelopersGuide/DevelopingPlugins

    v8 v9  
    2020After 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.
    2121
    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 always latest callback function signatures (see below) as hint in your baseclass to override them ;)
     22It 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 ;)
    2323
    2424