No Description
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

AutoRefresh.cs 712B

123456789101112131415161718192021222324252627
  1. using Unity.PlasticSCM.Editor.Views.IncomingChanges;
  2. using Unity.PlasticSCM.Editor.Views.PendingChanges;
  3. namespace Unity.PlasticSCM.Editor
  4. {
  5. internal static class AutoRefresh
  6. {
  7. internal static void PendingChangesView(PendingChangesTab pendingChangesTab)
  8. {
  9. if (pendingChangesTab == null)
  10. return;
  11. pendingChangesTab.AutoRefresh();
  12. }
  13. internal static void IncomingChangesView(IIncomingChangesTab incomingChangesTab)
  14. {
  15. if (incomingChangesTab == null)
  16. return;
  17. if (!incomingChangesTab.IsVisible)
  18. return;
  19. incomingChangesTab.AutoRefresh();
  20. }
  21. }
  22. }