public GotoRecentFilesAction(Lifetime lifetime, Agent agent, ISolution solution, IShellLocks shellLocks,
                              IPsiFiles psiFiles, RecentFilesTracker tracker,
                              OccurencePresentationManager presentationManager,
                              MainWindowPopupWindowContext popupWindowContext)
     : base(lifetime, agent, solution, shellLocks, psiFiles, tracker, presentationManager, popupWindowContext)
 {
 }
 protected GotoRecentActionBase(Lifetime lifetime, Agent agent, ISolution solution,
                                IShellLocks shellLocks, IPsiFiles psiFiles, RecentFilesTracker tracker,
                                OccurencePresentationManager presentationManager, MainWindowPopupWindowContext popupWindowContext)
 {
     this.lifetime            = lifetime;
     this.agent               = agent;
     this.solution            = solution;
     this.shellLocks          = shellLocks;
     this.psiFiles            = psiFiles;
     this.tracker             = tracker;
     this.presentationManager = presentationManager;
     this.popupWindowContext  = popupWindowContext;
 }
Esempio n. 3
0
        public OverridingActionRegistrar(Lifetime lifetime, Agent agent, ISolution solution,
                                         IShellLocks shellLocks, IActionManager actionManager, IShortcutManager shortcutManager,
                                         IPsiFiles psiFiles, RecentFilesTracker tracker, OccurencePresentationManager presentationManager,
                                         MainWindowPopupWindowContext mainWindowPopupWindowContext)
        {
            RegisterHandler(actionManager, "RefactorThis", lifetime,
                            new RefactorThisAction(lifetime, agent, actionManager, shortcutManager));
            RegisterHandler(actionManager, "NavigateTo", lifetime,
                            new NavigateFromHereAction(lifetime, agent, actionManager, shortcutManager));
            RegisterHandler(actionManager, "Generate", lifetime,
                            new GenerateAction(lifetime, agent, actionManager, shortcutManager));
            RegisterHandler(actionManager, "GenerateFileBesides", lifetime,
                            new FileTemplatesGenerateAction(lifetime, agent, actionManager, shortcutManager));

            RegisterHandler(actionManager, "GotoRecentFiles", lifetime,
                            new GotoRecentFilesAction(lifetime, agent, solution, shellLocks, psiFiles, tracker, presentationManager, mainWindowPopupWindowContext));
            RegisterHandler(actionManager, "GotoRecentEdits", lifetime,
                            new GotoRecentEditsAction(lifetime, agent, solution, shellLocks, psiFiles, tracker, presentationManager, mainWindowPopupWindowContext));
        }