コード例 #1
0
        private void CreateEntryImpl(LocalizationTable table, string key)
        {
            // skipping header and "Add..." cell
            var index = keyColumn.childCount - 1;

            table.AddKey(key);
            Utils.ApplyChanges(table);
            keyColumn.Insert(index, MakeKeyCell(table, key, index - 1));
            for (var i = 0; i < localeColumns.Count; i++)
            {
                var col = i;
                localeColumns[i].Insert(index, MakeCell("", index - 1, col, table));
            }
        }