PCBI_Connection Class

Definition

Namespace: PCBI_NetGroups
Assembly: PCBI_NetGroups (in PCBI_NetGroups.dll) Version: 17.0.0.0 (17.0.0.0)
C#
public class PCBI_Connection : IPluginRibbonCommand, 
	IPlugin, IPluginReport, IPluginMessageReceiver
Inheritance
Object    PCBI_Connection
Implements
IPlugin, IPluginMessageReceiver, IPluginRibbonCommand, IPluginReport

Constructors

PCBI_ConnectionInitializes a new instance of the PCBI_Connection class

Properties

Methods

Execute(IAnalysisParams) 
Execute(String) 
GetHtmlReport 
GetReportSettingsControl 
GetTitle 
InitEvents 
IsActionAllowed 
IsReportAvailable 
IsReportEnabled 
ReceiveMessage Do some actions depending on the ID: 1 = import rulf file (params: IFileData, string with path) 2 = run analysis (params: string path ngr file, XMLSettings, NetGroupList, 3x double for minOuter, MinInner and min 3D distances, RuleManager) 3 = open netgroup dialog 4 = show net rule dialog (param IStep, string/IFileData to show result) 5 = import net groups to design, internal is async this do not stop for the import and return alwais true! (params IFileData or string, optional IStep)
SaveSettings 
SetReportEnabledState 
SetReportSettings 
SetResultFileInfo 
ShowNetGroupDLG Option to show net group dialog directly.
WatchReportSetting 

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