Table of Contents

Interface IMacroActionCreator

Namespace
TabularEditor.Shared.Scripting
Assembly
TabularEditor3.Shared.dll
C#
public interface IMacroActionCreator
Extension Methods

Methods

CreateMacroItem(int, string, Func<Selection, Model, bool>, Action<Selection, Model>, Context, string)

C#
void CreateMacroItem(int id, string name, Func<Selection, Model, bool> enabled, Action<Selection, Model> execute, Context validContexts, string toolTip = null)

Parameters

Type Name Description
int id
string name
Func<Selection, Model, bool> enabled
Action<Selection, Model> execute
Context validContexts
string toolTip

DeleteMacroItem(int)

C#
void DeleteMacroItem(int id)

Parameters

Type Name Description
int id

RemoveUnassignedMacroItems()

C#
void RemoveUnassignedMacroItems()

UpdateMacroItemName(int, string)

C#
void UpdateMacroItemName(int id, string newName)

Parameters

Type Name Description
int id
string newName