| 48 | | You could add you custom elements to the xml file but someone are reserved by UMIT Plugin system: |
| 49 | | |
| 50 | | +--------------------+-------------------------------------------------------+ |
| 51 | | | Element | | |
| 52 | | +====================+=======================================================+ |
| 53 | | | ``<needs>`` | A list (``VersionString``) of needed virtual plugins | |
| 54 | | | | that must be already loaded to enable the target | |
| 55 | | | | plugin. | |
| 56 | | +--------------------+-------------------------------------------------------+ |
| 57 | | | ``<conflicts>`` | A list (``VersionString``) of conflicting virtual | |
| 58 | | | | plugins that must be **NOT** present to load the | |
| 59 | | | | target plugin. | |
| 60 | | +--------------------+-------------------------------------------------------+ |
| 61 | | | ``<provides>`` | A list (``VersionString``) of exported virtual names | |
| 62 | | | | that the target plugin provides to the others. | |
| 63 | | +--------------------+-------------------------------------------------------+ |
| 64 | | | ``<start-file>`` | A string pointing to the main file in ``bin/`` | |
| 65 | | | | directory. | |
| 66 | | +--------------------+-------------------------------------------------------+ |
| 67 | | | ``<url>`` |A string (URL) pointing to the target plugins homepage.| |
| 68 | | +--------------------+-------------------------------------------------------+ |
| 69 | | | ``<author>`` | A string representing the name of the plugin's author.| |
| 70 | | +--------------------+-------------------------------------------------------+ |
| 71 | | | ``<license>`` | A string representing the license used for the plugin.| |
| 72 | | +--------------------+-------------------------------------------------------+ |
| 73 | | | ``<name>`` | A *non-operator* ``VersionString`` describing the | |
| 74 | | | | plugin. | |
| 75 | | +--------------------+-------------------------------------------------------+ |
| 76 | | | ``<update>`` | A string (URL) pointing to the target plugins update | |
| 77 | | | | directory. | |
| 78 | | +--------------------+-------------------------------------------------------+ |
| 79 | | | ``<description>`` | A string containing a description of the plugin. | |
| 80 | | +--------------------+-------------------------------------------------------+ |
| 81 | | | ``<version>`` | A string represetnting the plugin version. | |
| 82 | | +--------------------+-------------------------------------------------------+ |
| 83 | | | ``<contributors>`` | A list of plugin's contributors. | |
| 84 | | +--------------------+-------------------------------------------------------+ |
| 85 | | | ``<translators>`` | A list of plugin's translators. | |
| 86 | | +--------------------+-------------------------------------------------------+ |
| 87 | | | ``<artists>`` | A list of plugin's artists. | |
| 88 | | +--------------------+-------------------------------------------------------+ |
| | 48 | You could add you custom elements to the xml file but someone are reserved by UMIT Plugin system (Elements marked with * could compare several times in the Manifest file): |
| | 49 | |
| | 50 | +---------------------+---------------------------------------------------------------------+ |
| | 51 | | /UmitPlugin | Description | |
| | 52 | +=====================+=====================================================================+ |
| | 53 | | ``<name>`` | A string representing the plugin name. | |
| | 54 | +---------------------+---------------------------------------------------------------------+ |
| | 55 | | ``<version>`` | A string represetnting the plugin version. | |
| | 56 | +---------------------+---------------------------------------------------------------------+ |
| | 57 | | ``<description>`` | A string containing a description of the plugin. | |
| | 58 | +---------------------+---------------------------------------------------------------------+ |
| | 59 | | ``<url>`` | A URI string pointing to the target plugins homepage. | |
| | 60 | +---------------------+---------------------------------------------------------------------+ |
| | 61 | | ``<runtime>`` | Required. | |
| | 62 | +---------------------+---------------------------------------------------------------------+ |
| | 63 | | ``<deptree>`` | Optional. | |
| | 64 | +---------------------+---------------------------------------------------------------------+ |
| | 65 | | ``<credits>`` | Required. | |
| | 66 | +---------------------+---------------------------------------------------------------------+ |
| | 67 | |
| | 68 | ``<runtime>`` description: |
| | 69 | |
| | 70 | +---------------------+---------------------------------------------------------------------+ |
| | 71 | | /UmitPlugin/runtime | Description | |
| | 72 | +=====================+=====================================================================+ |
| | 73 | | ``<start_file>`` | A string pointing to the main file in ``bin/`` directory. | |
| | 74 | +---------------------+---------------------------------------------------------------------+ |
| | 75 | | ``<update>`` * | A URI string pointing to the target plugins update remote location. | |
| | 76 | | | In a manifest you could provide multiple ``<update>`` elements for | |
| | 77 | | | mirroring reasons. Optional. | |
| | 78 | +---------------------+---------------------------------------------------------------------+ |
| | 79 | |
| | 80 | ``<deptree>`` description (all elements are optional here): |
| | 81 | |
| | 82 | +---------------------+---------------------------------------------------------------------+ |
| | 83 | | /UmitPlugin/deptree | Description | |
| | 84 | +=====================+=====================================================================+ |
| | 85 | | ``<provide>`` * | A ``VersionString`` that describes what the target plugin provides | |
| | 86 | | | to the others. Example ``=ftplib-1.0`` or ``=trayicon-2.0``. | |
| | 87 | +---------------------+---------------------------------------------------------------------+ |
| | 88 | | ``<need>`` * | A ``VersionString`` of a needed virtual plugin that must be loaded | |
| | 89 | | | in order to enable the target plugin. | |
| | 90 | +---------------------+---------------------------------------------------------------------+ |
| | 91 | | ``<conflict>`` * | A ``VersionString`` of a conflicting virtual plugin that must be | |
| | 92 | | | **NOT** loaded in order to enable the target plugin. | |
| | 93 | +---------------------+---------------------------------------------------------------------+ |
| | 94 | |
| | 95 | ``credits`` description: |
| | 96 | |
| | 97 | +---------------------+---------------------------------------------------------------------+ |
| | 98 | | /UmitPlugin/credits | Description | |
| | 99 | +=====================+=====================================================================+ |
| | 100 | | ``<license>`` * | A string representing the license used for the plugin. | |
| | 101 | +---------------------+---------------------------------------------------------------------+ |
| | 102 | | ``<copyright>`` * | A string representing the copyright information for plugin. | |
| | 103 | +---------------------+---------------------------------------------------------------------+ |
| | 104 | | ``<author>`` * | A string representing a plugin's author. | |
| | 105 | +---------------------+---------------------------------------------------------------------+ |
| | 106 | | ``<contributor>`` * | A string representing a plugin's contributor. Optional. | |
| | 107 | +---------------------+---------------------------------------------------------------------+ |
| | 108 | | ``<translator>`` * | A string representing a plugin's translator. Optional. | |
| | 109 | +---------------------+---------------------------------------------------------------------+ |
| | 110 | | ``<artist>`` * | A string representing a plugin's artist. Optional. | |
| | 111 | +---------------------+---------------------------------------------------------------------+ |
| | 112 | |
| | 113 | |
| | 114 | UmitPlugin element could have also an attribute called type to indicate if the plugin is a UI addition or just a library. You could have respectively ``<UmitPlugin .. type="ui">`` or ``<UmitPlugin .. type="lib">``. |