Table of Contents

Interface IMacroActionCreator

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

Methods

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

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)

void DeleteMacroItem(int id)

Parameters

Type Name Description
int id

RemoveUnassignedMacroItems()

void RemoveUnassignedMacroItems()

UpdateMacroItemName(int, string)

void UpdateMacroItemName(int id, string newName)

Parameters

Type Name Description
int id
string newName