Exemplo n.º 1
0
        public void OnExecute(object sender, EventArgs args)
        {
            _threadFixPlugin.ClearMarkers();
            _threadFixPlugin.UpdateMarkers();
            _threadFixPlugin.StorePluginData();

            var toolWindow = (ToolWindowControl)_threadFixPlugin.ToolWindow.Content;

            toolWindow.ClearList();
        }
Exemplo n.º 2
0
        private void OnAppsSelected(object sender, ApplicationsSelectedEventArgs args)
        {
            _threadFixPlugin.ToggleMenuCommands(false);
            _threadFixPlugin.ImportMarkers(_viewModelService.GetSelectedAppIds(args.Model), () =>
            {
                _threadFixPlugin.StorePluginData();
                _threadFixPlugin.UpdateMarkers();
                _threadFixPlugin.ToggleMenuCommands(true);

                new ShowAction(_threadFixPlugin).OnExecute(this, null);
            });
        }