IPluginRibbonCommand Methods

Methods

InitEvents After loading the Plugin PCB-Investigator init all events and set the parent.
(Inherited from IPlugin)
IsActionAllowed Ast plugin for handling of special ID_ActionItem or registrated IDs. default is return false.
(Inherited from IPlugin)
OnCommandExecute Will be called with each command to execute.
RegisterCommand 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