Exemplo n.º 1
0
        protected override void Initialize()
        {
            base.Initialize();

            PaketOutputPane.SetServiceProvider(this);
            var tracker = new ActiveGraphNodeTracker(this);
            var menuCommandService = (OleMenuCommandService)GetService(typeof(IMenuCommandService));
            commandService = new PaketMenuCommandService(this, menuCommandService, tracker);
            commandService.Register();

            PaketErrorPane.SetServiceProvider(this);
            SolutionExplorerExtensions.SetServiceProvider(this);
            StatusBarService.SetServiceProvider(this);

            packageRestorer = new PackageRestorer(
                new AutoRestorer(
                    new OutputPaneRestorer(
                        new WaitDialogRestorer(
                            new ErrorReportRestorer(
                                new PaketRestorer()
                            ),
                            (IVsThreadedWaitDialogFactory)
                            GetService(typeof(SVsThreadedWaitDialogFactory))))
                    , new PaketSettings(new ShellSettingsManager(this))
                ));
        }
Exemplo n.º 2
0
        protected override void Initialize()
        {
            base.Initialize();

            PaketOutputPane.SetServiceProvider(this);
            var tracker = new ActiveGraphNodeTracker(this);
            var menuCommandService = (OleMenuCommandService)GetService(typeof(IMenuCommandService));
            commandService = new PaketMenuCommandService(this, menuCommandService, tracker);
            commandService.Register();

            PaketErrorPane.SetServiceProvider(this);
            SolutionExplorerExtensions.SetServiceProvider(this);
            StatusBarService.SetServiceProvider(this);
        }