public void RegisterMainGraph(ViewInfo viewInfo, ITreeViewControl treeView, PropertyGridView wpfPropertyGrid, CommandLineView commandLineView, LayerView layerView, IHelpView helpView, BooView booView) { ActionsGraph = CreateMainGraph(viewInfo, treeView, wpfPropertyGrid, commandLineView, layerView, helpView, booView); }
private ActionsGraph CreateMainGraph(ViewInfo viewInfo, ITreeViewControl treeView, PropertyGridView wpfPropertyGrid, CommandLineView commandLineView, LayerView layerView, IHelpView helpView, BooView booView) { var result = new ActionsGraph(); ActionsGraph = result; result.Register(this); var defaultAppInputs = new DefaultAppInputs(ActionsGraph); defaultAppInputs.InitializeInputs(viewInfo, treeView, wpfPropertyGrid, commandLineView, layerView, helpView, booView); return(result); }
public CommandLineInput(CommandLineView commandLineView) : base(InputNames.CommandLineView) { _commandLineView = commandLineView; _commandLineView.OnTextEnter += OnTextEvent; }