User Tools

Site Tools


dev-guide:plugins

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
dev-guide:plugins [2024/06/25 13:06] – [Plugin Manager] gaetandev-guide:plugins [2025/06/18 12:05] (current) barley1965
Line 1: Line 1:
-GroIMP is designed around plugins which can be added, modified or removed without modifying the GroIMP installation.+GroIMP is designed around pluginswhich can be added, modified or removed without modifying the GroIMP installation.
  
  
 ====== GroIMP Plugin ====== ====== GroIMP Plugin ======
  
-structure+Any repository with a ''plugin.xml'' and ''plugin.properties'' files is considered as a plugin by GroIMP. 
 +To be properly loadable though, the ''plugin.xml'' needs to include:
  
-how to make one+<code xml> 
 +<?xml version="1.0" encoding="UTF-8"?>  
 +<plugin id="your.plugin.id"  
 +version="x.x"  
 +xmlns="http://grogra.de/registry"
 +</code>
  
-git plugin+where ''plugin id'' and ''version'' need to be filled with the plugin information. 
 + 
 +See more:  
 + 
 +  * [[:dev-guide:creating-own-plugin#plugin_structure|Plugin structure]] 
 +  * [[:dev-guide:creating-own-plugin#Plugin_configuration_(For_Groimp_integration)|Create a GroIMP plugin]] 
 +  * [[:dev-guide:creating-own-plugin#embedded_documentation|Add documentation to help panels]] 
 +     * [[:dev-guide:linking-help-button | Configure help buttons]] 
 +  * [[https://gitlab.com/grogra/groimp-plugins|Git repo of GroIMP plugins]] 
 +  * [[https://gitlab.com/grogra/groimp-template/|Plugin templates]]
  
 ====== Managing plugins ====== ====== Managing plugins ======
  
-GroIMP plugins are located in to directories by default:+GroIMP plugins are located in directories by default:
   - ''/path/where/groimpisinstalled/plugins/''   - ''/path/where/groimpisinstalled/plugins/''
   - ''~/.grogra.de-platform/plugins/''   - ''~/.grogra.de-platform/plugins/''
  
-Additionally it is possible to add a directory with the argument ''-p /path/to/directory/''. (e.g. ''java -jar core.jar -p /dir/'').+Additionallyit is possible to add a directory with the argument ''-p /path/to/directory/''. (e.g. ''java -jar core.jar -p /dir/'').
  
 When GroIMP starts it will automatically load every plugin in the given paths.  When GroIMP starts it will automatically load every plugin in the given paths. 
Line 29: Line 44:
 The added plugin needs to be compiled and follow the plugin structure. See [[:dev-guide:creating-own-plugin|this guide]] on the plugin structure.   The added plugin needs to be compiled and follow the plugin structure. See [[:dev-guide:creating-own-plugin|this guide]] on the plugin structure.  
  
-**Note:** if you do not have the permission right to delete a repository from the GroIMP installation folder, you can prevent the plugin from being loaded by adding it to the //blacklisted// file.+**Note:** If you do not have the permission to delete a repository from the GroIMP installation folder, you can prevent the plugin from being loaded by adding it to the //blacklisted// file.
  
 ===== Plugin Manager ===== ===== Plugin Manager =====
Line 36: Line 51:
 [[user-guide:pluginmanager|Plugin Manager]]. [[user-guide:pluginmanager|Plugin Manager]].
  
-The plugin manager uses the [[:dev-guide:plugins-repository|plugin repositories]] to find plugin data. These repositories can be local or remote but needs to follow the given structure.+The plugin manager uses the [[:dev-guide:plugins-repository|plugin repositories]] to find plugin data. These repositories can be local or remote but need to follow the given structure. 
dev-guide/plugins.1719313579.txt.gz · Last modified: 2024/06/25 13:06 by gaetan