public void UpdateRendererTools()
        {
            tsTools.Items.Clear();

            var tools = _renderer.GetTools();

            foreach (var tool in tools)
            {
                var button = new ToolStripButton(tool.ButtonInfo.Text, tool.ButtonInfo.Icon);
                tsTools.Items.Add(button);

                button.Click += (sender, args) =>
                {
                    if (_tool != null)
                    {
                        _tool.Deactivate();
                        ClearToolPanel();
                        foreach (var toolStripButton in tsTools.Items.OfType <ToolStripButton>())
                        {
                            toolStripButton.Checked = false;
                        }
                    }

                    _tool = tool;
                    FillToolPanel(_tool);
                    button.Checked = true;
                    _tool.Activate();
                };
            }

            tsTools.Items.Add(new ToolStripSeparator());
        }
 public IReadOnlyCollection <ITool> GetTools()
 {
     return(_outputDataRenderer.GetTools());
 }