void CheckIncomingChanges.IUpdateIncomingChanges.Show( string infoText, string actionText, string tooltipText, CheckIncomingChanges.Severity severity) { PlasticNotification.Status status = PlasticNotification.Status.None; if (severity == CheckIncomingChanges.Severity.Info) { status = PlasticNotification.Status.IncomingChanges; } else if (severity == CheckIncomingChanges.Severity.Warning) { status = PlasticNotification.Status.Conflicts; } PlasticPlugin.SetNotificationStatus( mPlasticWindow, status); UpdateData( mNotification, infoText, actionText, tooltipText, status); mHasNotification = true; mPlasticWindow.Repaint(); }
void CheckIncomingChanges.IUpdateIncomingChanges.Hide() { PlasticPlugin.SetNotificationStatus( mPlasticWindow, PlasticNotification.Status.None); mNotification.Clear(); mHasNotification = false; mPlasticWindow.Repaint(); }