Singularity/Library/PackageCache/com.unity.collab-proxy@2.0.3/Editor/PlasticSCM/Views/PendingChanges/ChangeTreeViewItem.cs

22 lines
597 B
C#
Raw Permalink Normal View History

2024-05-06 14:45:45 -04:00
using UnityEditor.IMGUI.Controls;
using PlasticGui;
using PlasticGui.WorkspaceWindow.PendingChanges;
namespace Unity.PlasticSCM.Editor.Views.PendingChanges
{
internal class ChangeTreeViewItem : TreeViewItem
{
internal PendingChangeInfo ChangeInfo { get; private set; }
internal ChangeTreeViewItem(int id, PendingChangeInfo change, int depth)
: base(id, depth)
{
ChangeInfo = change;
displayName = change.GetColumnText(PlasticLocalization.GetString(
PlasticLocalization.Name.ItemColumn));
}
}
}