AGS.Editor.GUIController.RegisterMenuCommand C# (CSharp) Method

RegisterMenuCommand() private method

private RegisterMenuCommand ( string id, IEditorComponent component ) : string
id string
component IEditorComponent
return string
        private string RegisterMenuCommand(string id, IEditorComponent component)
        {
            id = GetMenuCommandID(id, component);

            if (!_menuItems.ContainsKey(id))
            {
                _menuItems.Add(id, component);
            }

            return id;
        }
GUIController