using System.Collections.Generic; using UnityEditor.IMGUI.Controls; using UnityEngine.Localization.Tables; namespace UnityEditor.Localization.UI { class GenericAssetTableTreeViewItem : TreeViewItem { public virtual SharedTableData.SharedTableEntry SharedEntry { get; set; } public string Key { get => SharedEntry.Key; set => SharedEntry.Key = value; } public long KeyId => SharedEntry.Id; /// /// Called during the setup of the tree view. /// public virtual void Initialize(LocalizationTableCollection collection, int startIdx, List sortedTables) {} /// /// Called before the key entry is deleted. /// public virtual void OnDeleteKey() {} } }