public StandardShowCommands( ICommandService commandService, IContextRegistry contextRegistry) { m_commandService = commandService; m_contextRegistry = contextRegistry; }
public TerrainManipulator(IContextRegistry contextRegistry, TerrainNamingBridge namingBridge) { _manipContext = new GUILayer.ActiveManipulatorContext(); _manipContext.OnActiveManipulatorChange += (object sender, EventArgs e) => { if (this.OnHoveringControlChanged != null) { this.OnHoveringControlChanged(null, EventArgs.Empty); } }; _nativeManip = null; _attachedSceneManager = new WeakReference(null); _attachedTerrainManiContext = null; _contextRegistry = new WeakReference(contextRegistry); contextRegistry.ActiveContextChanged += OnActiveContextChanged; _nativeManip = new GUILayer.NativeManipulatorLayer(_manipContext); _baseTextureCombo = new System.Windows.Forms.ComboBox(); _baseTextureCombo.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; _baseTextureCombo.DisplayMember = "Text"; _baseTextureCombo.ValueMember = "Value"; _decorationMaterialCombo = new System.Windows.Forms.ComboBox(); _decorationMaterialCombo.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; _decorationMaterialCombo.DisplayMember = "Text"; _decorationMaterialCombo.ValueMember = "Value"; _namingBridge = namingBridge; _namingBridge.OnBaseTextureMaterialsChanged += OnBaseTextureMaterialsChanged; _namingBridge.OnDecorationMaterialsChanged += OnDecorationMaterialsChanged; }
public Editor( IControlHostService controlHostService, ICommandService commandService, IContextRegistry contextRegistry, IDocumentRegistry documentRegistry, IDocumentService documentService, PrototypeLister prototypeLister, LayerLister layerLister, SchemaLoader schemaLoader) { m_controlHostService = controlHostService; m_commandService = commandService; m_contextRegistry = contextRegistry; m_documentRegistry = documentRegistry; m_documentService = documentService; m_prototypeLister = prototypeLister; m_layerLister = layerLister; m_schemaLoader = schemaLoader; string initialDirectory = Path.Combine(Directory.GetCurrentDirectory(), "..\\..\\..\\..\\components\\wws_atf\\Samples\\CircuitEditor\\data"); EditorInfo.InitialDirectory = initialDirectory; m_theme = new D2dDiagramTheme(); m_circuitRenderer = new D2dCircuitRenderer<Module, Connection, ICircuitPin>(m_theme, documentRegistry); m_subGraphRenderer = new D2dSubCircuitRenderer<Module, Connection, ICircuitPin>(m_theme); // create d2dcontrol for displaying sub-circuit m_d2dHoverControl = new D2dAdaptableControl(); m_d2dHoverControl.Dock = DockStyle.Fill; var xformAdapter = new TransformAdapter(); xformAdapter.EnforceConstraints = false;//to allow the canvas to be panned to view negative coordinates m_d2dHoverControl.Adapt(xformAdapter, new D2dGraphAdapter<Module, Connection, ICircuitPin>(m_circuitRenderer, xformAdapter)); m_d2dHoverControl.DrawingD2d += new EventHandler(m_d2dHoverControl_DrawingD2d); }
public Editor( IControlHostService controlHostService, ICommandService commandService, IContextRegistry contextRegistry, IDocumentRegistry documentRegistry, IDocumentService documentService, PrototypeLister prototypeLister, SchemaLoader schemaLoader, DiagramTheme diagramTheme) { m_controlHostService = controlHostService; m_commandService = commandService; m_contextRegistry = contextRegistry; m_documentRegistry = documentRegistry; m_documentService = documentService; m_prototypeLister = prototypeLister; m_schemaLoader = schemaLoader; m_theme = new D2dDiagramTheme(); m_fsmRenderer = new D2dDigraphRenderer<State, Transition>(m_theme); string initialDirectory = Path.Combine(Directory.GetCurrentDirectory(), "..\\..\\..\\..\\components\\wws_atf\\Samples\\FsmEditor\\data"); EditorInfo.InitialDirectory = initialDirectory; }
public StandardSelectionCommands(ICommandService commandService, IContextRegistry contextRegistry) { m_commandService = commandService; m_contextRegistry = contextRegistry; m_contextRegistry.ActiveContextChanged += ActiveContextChanging; m_contextRegistry.ActiveContextChanged += ActiveContextChanged; }
public TimelineEditor( IControlHostService controlHostService, ICommandService commandService, IContextRegistry contextRegistry, IDocumentRegistry documentRegistry, IDocumentService documentService, IPaletteService paletteService, ISettingsService settingsService) { s_schemaLoader = new SchemaLoader(); s_repository.DocumentAdded += repository_DocumentAdded; s_repository.DocumentRemoved += repository_DocumentRemoved; paletteService.AddItem(Schema.markerType.Type, "Timelines", this); paletteService.AddItem(Schema.groupType.Type, "Timelines", this); paletteService.AddItem(Schema.trackType.Type, "Timelines", this); paletteService.AddItem(Schema.intervalType.Type, "Timelines", this); paletteService.AddItem(Schema.keyType.Type, "Timelines", this); paletteService.AddItem(Schema.timelineRefType.Type, "Timelines", this); m_contextRegistry = contextRegistry; m_documentRegistry = documentRegistry; m_controlHostService = controlHostService; m_documentService = documentService; m_settingsService = settingsService; }
public SourceControlContext( IDocumentRegistry documentRegistry, IContextRegistry contextRegistry) { m_documentRegistry = documentRegistry; m_contextRegistry = contextRegistry; }
public OpenSupportTicketTasks(IRepository <SupportTicket> supportTicketRepository, IContextRegistry contextRegistry, IRepository <Customer> customerRepository, IRepository <IssueType> issueTypeRepository) { if (supportTicketRepository == null) { throw new ArgumentNullException("supportTicketRepository is null"); } if (issueTypeRepository == null) { throw new ArgumentNullException("issueTypeRepository is null"); } if (customerRepository == null) { throw new ArgumentNullException("customerRepository is null"); } if (contextRegistry == null) { throw new ArgumentNullException("contextRegistry is null"); } _issueTypeRepository = issueTypeRepository; _supportTicketRepository = supportTicketRepository; _customerRepository = customerRepository; _contextRegistry = contextRegistry; }
public PropertyEditor( IControlHostService controlHostService, IContextRegistry contextRegistry) { ControlHostService = controlHostService; ContextRegistry = contextRegistry; }
public MyPropertyEditor( ICommandService commandService, IControlHostService controlHostService, IContextRegistry contextRegistry) : base(commandService, controlHostService, contextRegistry) { }
public ShowCommands( ICommandService commandService, IContextRegistry contextRegistry) { m_commandService = commandService; m_contextRegistry = contextRegistry; }
public GameEditor( IContextRegistry contextRegistry, IDocumentRegistry documentRegistry, IControlHostService controlHostService, ICommandService commandService, IDocumentService documentService, IPaletteService paletteService, ISettingsService settingsService, IResourceService resourceService, LevelEditorCore.ResourceLister resourceLister, BookmarkLister bookmarkLister ) { m_contextRegistry = contextRegistry; m_documentRegistry = documentRegistry; m_paletteService = paletteService; m_settingsService = settingsService; m_documentService = documentService; m_resourceService = resourceService; m_resourceLister = resourceLister; m_bookmarkLister = bookmarkLister; //to-do wire it to to command service InputScheme.ActiveControlScheme = new MayaControlScheme(); ResolveOnLoad = true; }
public ManipulatorCommands( IContextRegistry contextRegistry, ICommandService commandService) { m_contextRegistry = contextRegistry; m_commandService = commandService; }
public Editor( IControlHostService controlHostService, ICommandService commandService, IContextRegistry contextRegistry, IDocumentRegistry documentRegistry, IDocumentService documentService, SchemaLoader schemaLoader, PrototypeLister prototypeLister) { m_controlHostService = controlHostService; m_commandService = commandService; m_contextRegistry = contextRegistry; m_documentRegistry = documentRegistry; m_documentService = documentService; m_schemaLoader = schemaLoader; m_diagramTheme = new D2dDiagramTheme(); D2dGradientStop[] gradStops = { new D2dGradientStop(Color.WhiteSmoke, 0), new D2dGradientStop(Color.LightGray, 1) }; m_diagramTheme.FillGradientBrush = D2dFactory.CreateLinearGradientBrush(gradStops); m_diagramTheme.FillBrush = D2dFactory.CreateSolidBrush(Color.WhiteSmoke); m_statechartRenderer = new D2dStatechartRenderer <StateBase, Transition>(m_diagramTheme); string initialDirectory = Path.Combine(Directory.GetCurrentDirectory(), "..\\..\\..\\..\\components\\wws_atf\\Samples\\StatechartEditor\\data"); EditorInfo.InitialDirectory = initialDirectory; }
/// <summary> /// Constructor with IContextRegistry</summary> /// <param name="contextRegistry">Context registry</param> public SearchResultsListView(IContextRegistry contextRegistry) { // Configure ListView View = View.Details; LabelEdit = false; AllowColumnReorder = false; CheckBoxes = false; FullRowSelect = true; MultiSelect = true; GridLines = true; Sorting = SortOrder.Ascending; _syncContext = System.Threading.SynchronizationContext.Current; _selectionUpdateTimer = new System.Threading.Timer( (t) => { var listView = ((WeakReference)t).Target as SearchResultsListView; if (listView != null) { listView._syncContext.Post(new System.Threading.SendOrPostCallback(UpdateSelectionTick), listView); } }, new WeakReference(this), 100, System.Threading.Timeout.Infinite); SelectedIndexChanged += SearchResultsListView_SelectedIndexChanged; }
public Editor( IControlHostService controlHostService, ICommandService commandService, IContextRegistry contextRegistry, IDocumentRegistry documentRegistry, IDocumentService documentService, PrototypeLister prototypeLister, SchemaLoader schemaLoader, DiagramTheme diagramTheme) { m_controlHostService = controlHostService; m_commandService = commandService; m_contextRegistry = contextRegistry; m_documentRegistry = documentRegistry; m_documentService = documentService; m_prototypeLister = prototypeLister; m_schemaLoader = schemaLoader; m_theme = new D2dDiagramTheme(); m_fsmRenderer = new D2dDigraphRenderer <State, Transition>(m_theme); string initialDirectory = Path.Combine(Directory.GetCurrentDirectory(), "..\\..\\..\\..\\components\\wws_atf\\Samples\\FsmEditor\\data"); EditorInfo.InitialDirectory = initialDirectory; }
/// <summary> /// Constructor</summary> /// <param name="context">Property editor control context</param> public StringArrayEditingControl(PropertyEditorControlContext context) { m_context = context; m_initialSelectedObject = m_context.LastSelectedObject.As <DomNodeAdapter>().DomNode; m_initialSelectedObject.AttributeChanged += DomNode_AttributeChanged; m_toolStrip = new ToolStrip { Dock = DockStyle.Top }; InitToolStrip(); Controls.Add(m_toolStrip); Height = m_toolStrip.Height; m_toolStrip.SizeChanged += toolStrip_SizeChanged; // Get active contexts and subscribe to ContextChanged event IContextRegistry contextRegistry = m_context.ContextRegistry; if (contextRegistry != null) { contextRegistry.ActiveContextChanged += contextRegistry_ActiveContextChanged; TransactionContext = contextRegistry.GetActiveContext <ITransactionContext>(); } else if (context.TransactionContext != null) { TransactionContext = context.TransactionContext; } }
public CircuitTestCommands(ICommandService commandService, IContextRegistry contextRegistry, SchemaLoader schemaLoader) { m_commandService = commandService; m_schemaLoader = schemaLoader; }
public PaletteCommands( ICommandService commandService, IContextRegistry contextRegistry, PaletteService paletteService) { m_commandService = commandService; m_contextRegistry = contextRegistry; m_paletteService = paletteService; }
public TerrainManipulator(IContextRegistry contextRegistry) { _manipContext = new GUILayer.ActiveManipulatorContext(); _nativeManip = null; _contextRegistry = new WeakReference(contextRegistry); contextRegistry.ActiveContextChanged += OnActiveContextChanged; _nativeManip = new GUILayer.NativeManipulatorLayer(_manipContext); }
/// <summary> /// Constructor</summary> /// <param name="editingControlOwner">Interface for property editing control owners</param> /// <param name="descriptor">Property descriptor</param> /// <param name="transactionContext">Interface for transaction contexts</param> /// <param name="contextRegistry">Context registry</param> public PropertyEditorControlContext( IPropertyEditingControlOwner editingControlOwner, PropertyDescriptor descriptor, ITransactionContext transactionContext, IContextRegistry contextRegistry) : this(editingControlOwner, descriptor, transactionContext) { m_contextRegistry = contextRegistry; }
public LayeringCommands( ICommandService commandService, IContextRegistry contextRegistry, LayerLister layerLister) { m_commandService = commandService; m_contextRegistry = contextRegistry; m_layerLister = layerLister; }
protected TemplatingCommands( ICommandService commandService, IContextRegistry contextRegistry, TemplateLister templateLister) { m_commandService = commandService; m_contextRegistry = contextRegistry; m_templateLister = templateLister; }
public PivotCommands(ICommandService commandService, IContextRegistry contextRegistry) { m_commandService = commandService; m_contextRegistry = contextRegistry; // define functions for moving pivots //m_functions = new MovePivot[Enum.GetValues(typeof(Command)).Length]; m_functions = new Func <Vec3F, AABB, Vec3F> [Enum.GetValues(typeof(Command)).Length]; m_functions[(int)Command.XMin] = (Vec3F pivot, AABB aabb) => { return(new Vec3F(aabb.Min.X, pivot.Y, pivot.Z)); }; m_functions[(int)Command.XCenter] = (Vec3F pivot, AABB aabb) => { return(new Vec3F(aabb.Center.X, pivot.Y, pivot.Z)); }; m_functions[(int)Command.XMax] = (Vec3F pivot, AABB aabb) => { return(new Vec3F(aabb.Max.X, pivot.Y, pivot.Z)); }; m_functions[(int)Command.YMin] = (Vec3F pivot, AABB aabb) => { return(new Vec3F(pivot.X, aabb.Min.Y, pivot.Z)); }; m_functions[(int)Command.YCenter] = (Vec3F pivot, AABB aabb) => { return(new Vec3F(pivot.X, aabb.Center.Y, pivot.Z)); }; m_functions[(int)Command.YMax] = (Vec3F pivot, AABB aabb) => { return(new Vec3F(pivot.X, aabb.Max.Y, pivot.Z)); }; m_functions[(int)Command.ZMin] = (Vec3F pivot, AABB aabb) => { return(new Vec3F(pivot.X, pivot.Y, aabb.Min.Z)); }; m_functions[(int)Command.ZCenter] = (Vec3F pivot, AABB aabb) => { return(new Vec3F(pivot.X, pivot.Y, aabb.Center.Z)); }; m_functions[(int)Command.ZMax] = (Vec3F pivot, AABB aabb) => { return(new Vec3F(pivot.X, pivot.Y, aabb.Max.Z));; }; m_functions[(int)Command.AllCenter] = (Vec3F pivot, AABB aabb) => { return(aabb.Center); }; }
public PivotCommands(ICommandService commandService, IContextRegistry contextRegistry) { m_commandService = commandService; m_contextRegistry = contextRegistry; // define functions for moving pivots //m_functions = new MovePivot[Enum.GetValues(typeof(Command)).Length]; m_functions = new Func<Vec3F, AABB, Vec3F>[Enum.GetValues(typeof(Command)).Length]; m_functions[(int)Command.XMin] = (Vec3F pivot, AABB aabb) => { return new Vec3F(aabb.Min.X, pivot.Y, pivot.Z); }; m_functions[(int)Command.XCenter]=(Vec3F pivot, AABB aabb) => { return new Vec3F(aabb.Center.X, pivot.Y, pivot.Z); }; m_functions[(int)Command.XMax]=(Vec3F pivot, AABB aabb) => { return new Vec3F(aabb.Max.X, pivot.Y, pivot.Z); }; m_functions[(int)Command.YMin]=(Vec3F pivot, AABB aabb) => { return new Vec3F(pivot.X, aabb.Min.Y, pivot.Z); }; m_functions[(int)Command.YCenter]=(Vec3F pivot, AABB aabb) => { return new Vec3F(pivot.X, aabb.Center.Y, pivot.Z); }; m_functions[(int)Command.YMax]=(Vec3F pivot, AABB aabb) => { return new Vec3F(pivot.X, aabb.Max.Y, pivot.Z); }; m_functions[(int)Command.ZMin]=(Vec3F pivot, AABB aabb) => { return new Vec3F(pivot.X, pivot.Y, aabb.Min.Z); }; m_functions[(int)Command.ZCenter]=(Vec3F pivot, AABB aabb) => { return new Vec3F(pivot.X, pivot.Y, aabb.Center.Z); }; m_functions[(int)Command.ZMax]=(Vec3F pivot, AABB aabb) => { return new Vec3F(pivot.X, pivot.Y, aabb.Max.Z); ; }; m_functions[(int)Command.AllCenter] = (Vec3F pivot, AABB aabb) => { return aabb.Center; }; }
public GameProjectLister( ICommandService commandService, IControlHostService controlHostService, IContextRegistry contextRegistry) : base(commandService) { m_controlHostService = controlHostService; m_contextRegistry = contextRegistry; m_contextRegistry.ActiveContextChanged += ContextRegistry_ActiveContextChanged; }
public CircuitControlRegistry( IControlHostService controlHostService, IContextRegistry contextRegistry, IDocumentService documentService) { m_controlHostService = controlHostService; m_contextRegistry = contextRegistry; documentService.DocumentOpened += documentService_DocumentOpened; documentService.DocumentClosed += documentService_DocumentClosed; }
public DiagramControlRegistry( IControlHostService controlHostService, IContextRegistry contextRegistry, IDocumentService documentService) { _hostService = controlHostService; _contextRegistry = contextRegistry; documentService.DocumentOpened += documentService_DocumentOpened; documentService.DocumentClosed += documentService_DocumentClosed; }
public ResourceListEditor( IControlHostService controlHostService, ICommandService commandService, IContextRegistry contextRegistry) { m_controlHostService = controlHostService; m_commandService = commandService; m_contextRegistry = contextRegistry; m_contextRegistry.ActiveContextChanged += new EventHandler(contextRegistry_ActiveContextChanged); }
public ResourceListEditor( IControlHostService controlHostService, ICommandService commandService, IContextRegistry contextRegistry) { m_controlHostService = controlHostService; m_commandService = commandService; m_contextRegistry = contextRegistry; m_contextRegistry.ActiveContextChanged += contextRegistry_ActiveContextChanged; }
public CharacterEditor( IControlHostService controlHostService, ICommandService commandService, IContextRegistry contextRegistry) { m_controlHostService = controlHostService; m_commandService = commandService; m_contextRegistry = contextRegistry; m_contextRegistry.ActiveContextChanged += contextRegistry_ActiveContextChanged; }
public EventListEditor( IControlHostService controlHostService, ICommandService commandService, IContextRegistry contextRegistry) { m_commandService = commandService; m_contextRegistry = contextRegistry; m_contextRegistry.ActiveContextChanged += contextRegistry_ActiveContextChanged; m_contextRegistry.ContextAdded += contextRegistry_ContextAdded; m_contextRegistry.ContextRemoved += contextRegistry_ContextRemoved; }
public Editor( IContextRegistry contextRegistry, IDocumentRegistry documentRegistry, TreeLister treeLister, SchemaLoader schemaLoader) { m_contextRegistry = contextRegistry; m_documentRegistry = documentRegistry; m_documentRegistry.ActiveDocumentChanged += new EventHandler(documentRegistry_ActiveDocumentChanged); m_schemaLoader = schemaLoader; m_treeLister = treeLister; }
public Editor( IControlHostService controlHostService, IDocumentService documentService, IContextRegistry contextRegistry, IDocumentRegistry documentRegistry, DomTypes domTypes) { m_controlHostService = controlHostService; m_documentService = documentService; m_contextRegistry = contextRegistry; m_documentRegistry = documentRegistry; }
/// <summary> /// Constructor</summary> /// <param name="contextRegistry">Interface to dataset that has been been searched</param> public DomNodeSearchResultsListView(IContextRegistry contextRegistry) : base(contextRegistry) { // Create columns for the items and subitems. // Width of -2 indicates auto-size. Columns.Add("Node Name", -2, HorizontalAlignment.Center); Columns.Add("Type", -2, HorizontalAlignment.Center); Columns.Add("Property", -2, HorizontalAlignment.Right); Columns.Add("Value", -2, HorizontalAlignment.Left); if (UIChanged == null) return; }
/// <summary> /// Constructor with IContextRegistry</summary> /// <param name="contextRegistry">Context registry</param> public SearchResultsListView(IContextRegistry contextRegistry) { // Configure ListView View = View.Details; LabelEdit = false; AllowColumnReorder = false; CheckBoxes = false; FullRowSelect = true; MultiSelect = false; GridLines = true; Sorting = SortOrder.Ascending; }
public Editor( IContextRegistry contextRegistry, IDocumentRegistry documentRegistry, TreeLister treeLister, SchemaLoader schemaLoader) { m_contextRegistry = contextRegistry; m_documentRegistry = documentRegistry; m_documentRegistry.ActiveDocumentChanged += documentRegistry_ActiveDocumentChanged; m_schemaLoader = schemaLoader; m_treeLister = treeLister; }
public DomNodePropertySearchService( IContextRegistry contextRegistry, IControlHostService controlHostService) { m_contextRegistry = contextRegistry; m_controlHostService = controlHostService; // define root control m_rootControl = new UserControl(); m_rootControl.Name = "Search and Replace"; m_rootControl.SuspendLayout(); m_rootControl.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right; // Create and add the search input control var domNodeSearchToolStrip = new DomNodeSearchToolStrip(); SearchUI = domNodeSearchToolStrip; SearchUI.Control.Dock = DockStyle.None; m_rootControl.Controls.Add(SearchUI.Control); SearchUI.UIChanged += UIElement_Changed; _clearButton = new Button() { Text = "Clear" }; _clearButton.Click += (object sender, EventArgs args) => { m_contextRegistry.GetActiveContext <IQueryableContext>().Query(null); }; _clearButton.Dock = DockStyle.None; _clearButton.AutoSize = true; _clearButton.FlatStyle = FlatStyle.Flat; _clearButton.FlatAppearance.BorderSize = 0; m_rootControl.Controls.Add(_clearButton); // Create and add the replace input control var domNodeReplaceToolStrip = new DomNodeReplaceToolStrip(); // hack -- we can't set this property, because it's marked as "internal" in the // ATF library // domNodeReplaceToolStrip.DomNodeSearchToolStrip = domNodeSearchToolStrip; ReplaceUI = domNodeReplaceToolStrip; ReplaceUI.Control.Dock = DockStyle.None; m_rootControl.Controls.Add(ReplaceUI.Control); ReplaceUI.UIChanged += UIElement_Changed; // Create and add the results output control ResultsUI = new DomNodeSearchResultsListView(m_contextRegistry); ResultsUI.Control.Dock = DockStyle.None; m_rootControl.Controls.Add(ResultsUI.Control); ResultsUI.UIChanged += UIElement_Changed; m_rootControl.Layout += controls_Layout; m_rootControl.ResumeLayout(); }
public EventListEditor( IControlHostService controlHostService, ICommandService commandService, IContextRegistry contextRegistry) { m_controlHostService = controlHostService; m_commandService = commandService; m_contextRegistry = contextRegistry; m_contextRegistry.ActiveContextChanged += new EventHandler(contextRegistry_ActiveContextChanged); m_contextRegistry.ContextAdded += new EventHandler<ItemInsertedEventArgs<object>>(contextRegistry_ContextAdded); m_contextRegistry.ContextRemoved += new EventHandler<ItemRemovedEventArgs<object>>(contextRegistry_ContextRemoved); }
public OpenSupportTicketTasks(IRepository<SupportTicket> supportTicketRepository, IContextRegistry contextRegistry, IRepository<Customer> customerRepository, IRepository<IssueType> issueTypeRepository) { if (supportTicketRepository == null) throw new ArgumentNullException("supportTicketRepository is null"); if (issueTypeRepository == null) throw new ArgumentNullException("issueTypeRepository is null"); if (customerRepository == null) throw new ArgumentNullException("customerRepository is null"); if (contextRegistry == null) throw new ArgumentNullException("contextRegistry is null"); _issueTypeRepository = issueTypeRepository; _supportTicketRepository = supportTicketRepository; _customerRepository = customerRepository; _contextRegistry = contextRegistry; }
public GridPropertyEditor( ICommandService commandService, IControlHostService controlHostService, IContextRegistry contextRegistry) { m_commandService = commandService; m_controlHostService = controlHostService; m_contextRegistry = contextRegistry; Configure(out m_gridControl, out m_controlInfo); m_gridControl.MouseUp += gridControl_MouseUp; }
public Editor( IControlHostService controlHostService, IDocumentService documentService, IContextRegistry contextRegistry, IDocumentRegistry documentRegistry, SchemaLoader schemaLoader) { m_controlHostService = controlHostService; m_documentService = documentService; m_contextRegistry = contextRegistry; m_documentRegistry = documentRegistry; m_schemaLoader = schemaLoader; }