dev-guide:creating-own-plugin
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
dev-guide:creating-own-plugin [2024/07/08 11:26] – [Embedded documentation] timOb | dev-guide:creating-own-plugin [2025/04/02 15:30] (current) – gaetan | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ===== Creating a new Plugin ===== | + | ===== GroIMP |
==== Plugin structure ==== | ==== Plugin structure ==== | ||
Line 299: | Line 299: | ||
The compilation including the embedded help is described [[maintainer-guide: | The compilation including the embedded help is described [[maintainer-guide: | ||
- | The linking of the embedded | + | The linking of the embedded |
===== Linking an example ===== | ===== Linking an example ===== | ||
Line 305: | Line 305: | ||
In order to make your plugin easier to get started with, it is recommended to add an example project with it. The example projects are available in GroIMP from the [[user-guide: | In order to make your plugin easier to get started with, it is recommended to add an example project with it. The example projects are available in GroIMP from the [[user-guide: | ||
- | To include an example project in the plugin the project needs to be referenced in the '' | + | To include an example project,the gsz file needs to be placed in ' |
<code xml> | <code xml> | ||
Line 349: | Line 349: | ||
/ | / | ||
</ | </ | ||
+ | |||
+ | ===== Linking a Template ===== | ||
+ | |||
+ | Similar to the examples a FilterSourceFactory can be used to add new templates. Templates are the files that can be selected by creating a new project ' | ||
+ | To add a gsz file stored in ' | ||
+ | |||
+ | <code xml> | ||
+ | <ref name=" | ||
+ | <ref name=" | ||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | Additionally the name shown in the menu can be set in the properties file. | ||
See more: | See more: |
dev-guide/creating-own-plugin.1720430772.txt.gz · Last modified: 2024/07/08 11:26 by timOb