public void SetMenuItemEnabled(IEditorComponent plugin, string id, bool enabled) { string commandID = GetMenuCommandID(id, plugin); _menuManager.SetMenuItemEnabled(commandID, enabled); }