Skip to main content
View as Markdown

CommandLauncher class

No description yet.

public class CommandLauncher : SupportService, ICommandLauncher

Namespace: DXP · Assembly: Altium.SDK

Implements: ICommandLauncher

Constructors​

public CommandLauncher(string argModuleName);

Methods​

MethodReturnsDescription
GetCommandStatevoid
LaunchCommandvoid
RegisterCommandvoid

GetCommandState​

No description yet.

void GetCommandState(string argCommandName, ref string argParameters, object argContext, ref bool argEnabled, ref bool argChecked, ref bool argVisible, ref string argCaption, ref string argImageFile);
ParameterTypePassing
argCommandNamestringvalue
argParametersstringref
argContextobjectvalue
argEnabledboolref
argCheckedboolref
argVisibleboolref
argCaptionstringref
argImageFilestringref

Returns: nothing (void)

LaunchCommand​

No description yet.

void LaunchCommand(string argCommandName, ref string argParameters, object argContext);
ParameterTypePassing
argCommandNamestringvalue
argParametersstringref
argContextobjectvalue

Returns: nothing (void)

RegisterCommand​

No description yet.

void RegisterCommand(string argCommandId, CommandProc argCommandProc, GetStateProc argGetStateProc);
ParameterTypePassing
argCommandIdstringvalue
argCommandProcCommandProcvalue
argGetStateProcGetStateProcvalue

Returns: nothing (void)