Changes between Version 97 and Version 98 of DevelopersGuide/DevelopingPlugins


Ignore:
Timestamp:
2020-06-28T14:31:10+02:00 (10 days ago)
Author:
Klumbumbus
Comment:

(.svg is preferred)

Legend:

Unmodified
Added
Removed
Modified
  • DevelopersGuide/DevelopingPlugins

    v97 v98  
    202202The jar file must include
    203203  * the required java classes, including any additional libraries the plugin requires
    204   * icons (.png or .svg), deployed data files, and other resources
     204  * icons (.png or .svg, .svg is preferred), deployed data files, and other resources
    205205  * a manifest file with JOSM specific entries (see below)
    206206
     
    220220||'''Plugin-Early'''||optional||Can be set to {{{true}}}, in which case the plugin is loaded as early as possible, more specific before the GUI classes are loaded. This is usefull if your plugin alters the GUI or the JOSM-startup process in any way.||
    221221||'''Plugin-Link'''||optional||Informational URL to a webpage or other information source about that plugin. Is also used in the [wiki:Plugins plugins] information page.||
    222 ||'''Plugin-Icon'''||optional||The icon to display in the plugin list. The image must be a .png or .svg file and be included in the plugin jar file. Give the full relative path, e.g. {{{images/preferences/plugin.png}}}[[BR]]The images are collected by a server script in regular intervals. The JOSM clients download the entire [/plugin-icons.zip archive] along with the plugin list.||
     222||'''Plugin-Icon'''||optional||The icon to display in the plugin list. The image must be a .png or .svg (.svg is preferred) file and be included in the plugin jar file. Give the full relative path, e.g. {{{images/preferences/plugin.svg}}}[[BR]]The images are collected by a server script in regular intervals. The JOSM clients download the entire [/plugin-icons.zip archive] along with the plugin list.||
    223223||'''Plugin-Requires'''||optional||A list of other plugins which are required before plugin works. The list is separated by semi colons.||
    224224||'''Plugin-Stage'''||optional||An number of the order relative to other plugins, when the plugin is loaded. Smaller numbers gets loaded first, so if you have conflicts with other plugins, you can increase or decrease this number to get some control on the loading order. Defaults to 50.||