User Tools

Site Tools


dev-guide:creating-own-plugin

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:creating-own-plugin [2024/07/19 12:04] – [Linking an example] timObdev-guide:creating-own-plugin [2025/04/02 15:30] (current) gaetan
Line 1: Line 1:
-===== Creating a new Plugin =====+===== GroIMP Plugin =====
  
 ==== Plugin structure ==== ==== Plugin structure ====
Line 355: Line 355:
 To add a gsz file stored in 'src/main/resources' as a template it must be  added in the template directory:  To add a gsz file stored in 'src/main/resources' as a template it must be  added in the template directory: 
  
 +<code xml>
 +  <ref name="ui">
 + <ref name="templates">
 + <FilterSourceFactory name="myTemplate">
 + <resource name="my_template.gsz"/>
 + </FilterSourceFactory>
 + </ref>
 +  </ref>
 +</code>
  
 +Additionally the name shown in the menu can be set in the properties file. 
  
 See more: See more:
dev-guide/creating-own-plugin.1721383477.txt.gz · Last modified: 2024/07/19 12:04 by timOb