PlugInToolBarConnection Class
Namespace: PCBI_InstanceSyncAssembly: PCBI_InstanceSync (in PCBI_InstanceSync.dll) Version: 16.0.0.0 (16.0.0.0)
public class PlugInToolBarConnection : IPluginRibbonCommand,
IPlugin, IDisposable
Public Class PlugInToolBarConnection
Implements IPluginRibbonCommand, IPlugin, IDisposable
public ref class PlugInToolBarConnection : IPluginRibbonCommand,
IPlugin, IDisposable
type PlugInToolBarConnection =
class
interface IPluginRibbonCommand
interface IPlugin
interface IDisposable
end
- Inheritance
- Object PlugInToolBarConnection
- Implements
- IPlugin, IPluginRibbonCommand, IDisposable
Dispose | Releases all resources used by the PlugInToolBarConnection |
InitEvents |
This method is called from the PCB-I after adding the PlugIn.
|
IsActionAllowed |
The PCB-I checks for existing of the id to execute actions or key-combination.
|
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 });
|