Difference between revisions of "Development/Developing Plugins"

From MatterControl Manual
Jump to: navigation, search
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 [https://github.com/MatterHackers/MatterControlPlugins MatterControlPlugins GitHub repository] and implements the two functions from the interface:
  
 
<code>public override void Initialize(GuiWidget application)</code>
 
<code>public override void Initialize(GuiWidget application)</code>

Revision as of 10:03, 2 February 2016

MatterControl allows the use of plugins to add features and functionality.

Each plugin inherits from the MatterControlPlugins GitHub repository 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\"