public ToolWindowIntegration(IProject project, ICommunicationChannel channel, IActionLauncher actionLauncher, DebuggerIntegration debugger, SVsServiceProvider serviceProvider)
 {
     Project = project;
     CommunicationChannel = channel;
     ActionLauncher       = actionLauncher;
     _debugger            = debugger;
     _serviceProvider     = serviceProvider;
 }
Exemplo n.º 2
0
        public DebuggerIntegration(IProject project, IActionLauncher actionLauncher, IActiveCodeEditor codeEditor, IBreakpointTracker breakpointTracker)
        {
            _project        = project;
            _actionLauncher = actionLauncher;
            _actionLauncher.ActionCompleted += ActionCompleted;
            _codeEditor        = codeEditor;
            _breakpointTracker = breakpointTracker;

            // Cannot import BreakLineGlyphTaggerProvider directly because there are
            // multiple IViewTaggerProvider exports and we don't want to instantiate each one
            _breakLineTagger = (BreakLineGlyphTaggerProvider)
                               _project.GetExportByMetadataAndType <IViewTaggerProvider, IAppliesToMetadataView>(
                m => m.AppliesTo == Constants.RadOrVisualCProjectCapability,
                e => e.GetType() == typeof(BreakLineGlyphTaggerProvider));
        }
Exemplo n.º 3
0
 public StatusBarIntegration(SVsServiceProvider serviceProvider, IActionLauncher actionLauncher)
 {
     _serviceProvider = serviceProvider;
     actionLauncher.ActionExecutionStateChanged += ShowActionStateInStatusBar;
 }
Exemplo n.º 4
0
 public ActionsMenuCommand(IProject project, IActionLauncher actionLauncher)
 {
     _project        = project;
     _actionLauncher = actionLauncher;
 }