public RubberduckCommandBar(RubberduckParserState state, VBE vbe, IShowParserErrorsCommand command)
 {
     _state = state;
     _vbe = vbe;
     _command = command;
     _state.StateChanged += State_StateChanged;
     Initialize();
 }
 public RubberduckCommandBar(RubberduckParserState state, VBE vbe, IShowParserErrorsCommand command)
 {
     _state               = state;
     _vbe                 = vbe;
     _command             = command;
     _state.StateChanged += State_StateChanged;
     Initialize();
 }
        public RubberduckCommandBar(RubberduckParserState state, VBE vbe, ISinks sinks, IShowParserErrorsCommand command)
        {
            _state               = state;
            _vbe                 = vbe;
            _sinks               = sinks;
            _command             = command;
            _state.StateChanged += State_StateChanged;
            Initialize();

            _sinks.ProjectRemoved     += ProjectRemoved;
            _sinks.ComponentActivated += ComponentActivated;
            _sinks.ComponentSelected  += ComponentSelected;
        }