protected override void Execute()
        {
            IStudioEventAggregator ea = SdlTradosStudio.Application.GetService <IStudioEventAggregator>();

            var showNotification = new ShowStudioNotificationsViewEvent(true, true);

            ea.Publish(showNotification);
        }
        protected override void Execute()
        {
            var ea = SdlTradosStudio.Application.GetService <IStudioEventAggregator>();

            var notificationGroup = new StudioTestNotificationsGroup(NotificationGroupId)
            {
                Title = "First Group title"
            };

            notificationGroup.Notifications.Add(new StudioTestNotification(new Guid())
            {
                Title = "First notification title",
                AlwaysVisibleDetails = new List <string> {
                    "First notification description"
                }
            });

            notificationGroup.Notifications.Add(new StudioTestNotification(new Guid())
            {
                Title = "Second notification title",
                AlwaysVisibleDetails = new List <string> {
                    "Third notification  description", "Forth notification description"
                }
            });

            // add group notification
            var addTestGroup = new AddStudioGroupNotificationEvent(notificationGroup);

            ea.Publish(addTestGroup);

            // Add 1 Notification to group
            var notification1 = new StudioTestNotification(new Guid())
            {
                Title = "Dog title",
                AlwaysVisibleDetails = new List <string> {
                    "AAA", "BBB", "CCC"
                }
            };
            var addTestNotification = new AddStudioNotificationToGroupEvent(NotificationGroupId, notification1);

            ea.Publish(addTestNotification);

            // show notifications and set focus
            var showNotification = new ShowStudioNotificationsViewEvent(showNotifications: true, setFocus: true);

            ea.Publish(showNotification);
        }