PCBI_Connection Class

Definition

Namespace: PCBI_PanelBuilder
Assembly: PCBI_Panel_Editor (in PCBI_Panel_Editor.dll) Version: 17.0.0.0 (17.0.0.0)
C#
public class PCBI_Connection : IPluginRibbonCommand, 
	IPlugin, IPluginMessageReceiver, IDisposable, IMCPToolProvider
Inheritance
Object    PCBI_Connection
Implements
IMCPToolProvider, IPlugin, IPluginMessageReceiver, IPluginRibbonCommand, IDisposable

Constructors

PCBI_ConnectionInitializes a new instance of the PCBI_Connection class

Properties

Methods

DisposeReleases all resources used by the PCBI_Connection
GetMCPTools 
InitEvents 
IsActionAllowed 
ReceiveMessage Processes external plugin/host messages for panel-related actions.

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