Plugin Class

Definition

Namespace: ExportComponentReport
Assembly: PCBI_AssemblyDrawing_Report (in PCBI_AssemblyDrawing_Report.dll) Version: 17.0.0.0 (17.0.0.0)
C#
public class Plugin : IPluginRibbonCommand, IPlugin, 
	IDisposable
Inheritance
Object    Plugin
Implements
IPlugin, IPluginRibbonCommand, IDisposable

Constructors

PluginInitializes a new instance of the Plugin class

Properties

Methods

DisposeReleases all resources used by the Plugin
InitEvents 
IsActionAllowed 

Explicit Interface Implementations

IPluginRibbonCommandOnCommandExecute Will be called with each command to execute.
IPluginRibbonCommandRegisterCommand Register your own commands here like this: int MyCmdID = Parent.UIAction.RegisterID(new PCBI.Plugin.Interfaces.IRegisterItem() { Text = PCB_Investigator.Localization.PCBILocalization.TranslateToCurrentLanguage("CommandName"), MetroStyleIcon = icon, ToolTip = "...", RegisterType = RegisterItemType.BUTTON, GUID = "ID_MY_COMMAND", Category = "PlugIn", EnableOn = Availability.Always });

See Also