Difference between revisions of "Development/Developing Plugins"

From MatterControl Manual
Jump to: navigation, search
(Created page with "MatterControl uses plugins to add features and functionality. Below is some documentation about creating your own plugins for MatterControl. Each plugin inherits from MatterC...")
 
m (MatterHackers moved page Developing Plugins to Development/Developing Plugins)
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
MatterControl uses plugins to add features and functionality. Below is some documentation about creating your own plugins for MatterControl.
+
MatterControl allows the use of plugins to add features and functionality.  
  
Each plugin inherits from MatterControlPlugin and implements the two functions from the interface
+
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:Plugins]]
+
[[Category:Incomplete]]

Latest revision as of 15: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