PlugInToolBarConnection Class
Namespace: Color_GoupAssembly: PCBI_ColorGroups (in PCBI_ColorGroups.dll) Version: 17.0.0.0 (17.0.0.0)
public class PlugInToolBarConnection : IPluginRibbonCommand,
IPlugin
Public Class PlugInToolBarConnection
Implements IPluginRibbonCommand, IPlugin
public ref class PlugInToolBarConnection : IPluginRibbonCommand,
IPlugin
type PlugInToolBarConnection =
class
interface IPluginRibbonCommand
interface IPlugin
end
- Inheritance
- Object PlugInToolBarConnection
- Implements
- IPlugin, IPluginRibbonCommand
| 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 });
|