test
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
using Unity.PlasticSCM.Editor.Views.IncomingChanges;
|
||||
using Unity.PlasticSCM.Editor.Views.PendingChanges;
|
||||
|
||||
namespace Unity.PlasticSCM.Editor
|
||||
{
|
||||
internal static class AutoRefresh
|
||||
{
|
||||
internal static void PendingChangesView(PendingChangesTab pendingChangesTab)
|
||||
{
|
||||
if (pendingChangesTab == null)
|
||||
return;
|
||||
|
||||
pendingChangesTab.AutoRefresh();
|
||||
}
|
||||
|
||||
internal static void IncomingChangesView(IIncomingChangesTab incomingChangesTab)
|
||||
{
|
||||
if (incomingChangesTab == null)
|
||||
return;
|
||||
|
||||
if (!incomingChangesTab.IsVisible)
|
||||
return;
|
||||
|
||||
incomingChangesTab.AutoRefresh();
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user