ClientDiffTreeViewItem.cs 480 B

1234567891011121314151617181920
  1. using UnityEditor.IMGUI.Controls;
  2. using PlasticGui.WorkspaceWindow.Diff;
  3. namespace Unity.PlasticSCM.Editor.Views.Diff
  4. {
  5. internal class ClientDiffTreeViewItem : TreeViewItem
  6. {
  7. internal ClientDiffInfo Difference { get; private set; }
  8. internal ClientDiffTreeViewItem(
  9. int id, int depth, ClientDiffInfo diff)
  10. : base(id, depth)
  11. {
  12. Difference = diff;
  13. displayName = diff.PathString;
  14. }
  15. }
  16. }