Difference between revisions of "Development/Developing Plugins"
From MatterControl Manual
m (MatterHackers moved page Developing Plugins to Development/Developing Plugins) |
|||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
MatterControl allows the use of plugins to add features and functionality. | MatterControl allows the use of plugins to add features and functionality. | ||
− | Each plugin inherits from the | + | Each plugin inherits from the MatterControlPlugin class and implements the two functions from the interface: |
<code>public override void Initialize(GuiWidget application)</code> | <code>public override void Initialize(GuiWidget application)</code> | ||
Line 14: | Line 14: | ||
* Field: "Developer" - Example: "MatterHackers, Inc." | * Field: "Developer" - Example: "MatterHackers, Inc." | ||
* Field: "URL" - Example: "https://www.matterhackers.com\" | * Field: "URL" - Example: "https://www.matterhackers.com\" | ||
+ | |||
+ | GitHub repository: https://github.com/MatterHackers/MatterControl/tree/master/PluginSystem | ||
[[Category:Development]] | [[Category:Development]] | ||
+ | [[Category:Incomplete]] |
Latest revision as of 14:17, 30 November 2016
MatterControl allows the use of plugins to add features and functionality.
Each plugin inherits from the MatterControlPlugin class and implements the two functions from the interface:
public override void Initialize(GuiWidget application)
public override string GetPuginInfoJSon()
Currently GetPluginInfoJSon has the following defined
- Field: "Name" - Example: "Name Creator"
- Field: "UUID" - Example "xxx06000-66c3-11e3-949a-0800200c9a66"
- Field: "About" - Example: "A Creator that allows you to type in text"
- Field: "Developer" - Example: "MatterHackers, Inc."
- Field: "URL" - Example: "https://www.matterhackers.com\"
GitHub repository: https://github.com/MatterHackers/MatterControl/tree/master/PluginSystem