protected override void OnValidationBeginning(ValidationContext context)
		{
            if (context != null)
            {
                if (context.Categories != ValidationCategories.Load &&
                    context.Categories != ValidationCategories.Open)
                {
                    Logger.Clear();
                }
                Logger.SuspendRefresh();
            }
            status = new VSStatusBar(serviceProvider);
            status.ShowMessage(Properties.Resources.ValidationProgressMessage);
		}
Ejemplo n.º 2
0
 private static void ShowStatus(ModelElement element)
 {
     VSStatusBar status = new VSStatusBar(element.Store);
     status.ShowMessage(string.Format(CultureInfo.CurrentCulture, Resources.ValidationStatusProgressMessage, ModelElementToString(element)));
 }