public interface IPluginRibbonCommand : IPluginPublic Interface IPluginRibbonCommand
Inherits IPluginpublic interface class IPluginRibbonCommand : IPlugintype IPluginRibbonCommand =
interface
interface IPlugin
end| Assembly | (Inherited from IPlugin) |
| Parent | (Inherited from IPlugin) |
| Path | (Inherited from IPlugin) |
| PluginDestination | (Inherited from IPlugin) |
| PluginEnabled | (Inherited from IPlugin) |
| Type | (Inherited from IPlugin) |
| 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 }); |