/// <summary> /// Creates a IxxxIndexNodeStateDictionary object. /// </summary> private protected override ReadOnlyNodeStateDictionary CreateChildStateTable() { ControllerTools.AssertNoOverride(this, Type.FromTypeof <WriteableController>()); return(new WriteableNodeStateDictionary()); }
/// <summary> /// Creates a IxxxAssignableCellViewDictionary{string} object. /// </summary> private protected virtual FrameAssignableCellViewDictionary <string> CreateCellViewTable() { ControllerTools.AssertNoOverride(this, Type.FromTypeof <FrameOptionalNodeStateView>()); return(new FrameAssignableCellViewDictionary <string>()); }
/// <summary> /// Creates a IxxxCellViewCollection object. /// </summary> private protected override IFrameCellViewCollection CreateEmbeddingCellView(IFrameNodeStateView stateView, IFrameCellViewCollection parentCellView, IFrameCellViewList list) { ControllerTools.AssertNoOverride(this, typeof(FrameVerticalCollectionPlaceholderFrame)); return(new FrameColumn(stateView, parentCellView, list, this)); }
/// <summary> /// Creates a IxxxTemplate object. /// </summary> private protected override IFrameBlockTemplate CreateBlockTemplate() { ControllerTools.AssertNoOverride(this, typeof(FocusTemplateSet)); return(new FocusBlockTemplate()); }
/// <summary> /// Creates a IxxxxMoveBlockOperation object. /// </summary> private protected virtual WriteableMoveBlockOperation CreateMoveBlockOperation(int blockIndex, int direction, System.Action <IWriteableOperation> handlerRedo, System.Action <IWriteableOperation> handlerUndo, bool isNested) { ControllerTools.AssertNoOverride(this, Type.FromTypeof <WriteableMoveBlockOperation>()); return(new WriteableMoveBlockOperation(ParentNode, PropertyName, blockIndex, direction, handlerRedo, handlerUndo, isNested)); }
/// <summary> /// Creates a IxxxTemplateDictionary object. /// </summary> private protected override IFrameTemplateDictionary CreateDefaultTemplateDictionary() { ControllerTools.AssertNoOverride(this, typeof(FocusTemplateSet)); return(new FocusTemplateDictionary(NodeHelper.CreateNodeDictionary <IFocusTemplate>())); }
/// <summary> /// Creates a IxxxOptionalFrame object. /// </summary> private protected override IFrameOptionalFrame CreateOptionalFrame() { ControllerTools.AssertNoOverride(this, typeof(FocusTemplateSet)); return(new FocusOptionalFrame()); }
/// <summary> /// Creates a IxxxInsertionPlaceholderNodeIndex object. /// </summary> private protected override IWriteableInsertionPlaceholderNodeIndex CreateInsertionIndex(INode parentNode, INode node) { ControllerTools.AssertNoOverride(this, typeof(FrameBrowsingPlaceholderNodeIndex)); return(new FrameInsertionPlaceholderNodeIndex(parentNode, PropertyName, node)); }
/// <summary> /// Creates a IxxxCommentFocus object. /// </summary> protected virtual IFocusCommentFocus CreateFocus() { ControllerTools.AssertNoOverride(this, Type.FromTypeof <FocusCommentCellView>()); return(new FocusCommentFocus(this)); }
/// <summary> /// Creates a IxxxNodeStateList object. /// </summary> private protected override IReadOnlyNodeStateList CreateNodeStateList() { ControllerTools.AssertNoOverride(this, typeof(WriteableSourceState <IInner>)); return(new WriteableNodeStateList()); }
/// <summary> /// Creates a IxxxInsertionOptionalNodeIndex object. /// </summary> private protected virtual IWriteableInsertionOptionalNodeIndex CreateInsertionOptionalNodeIndex(Node parentNode, Node node) { ControllerTools.AssertNoOverride(this, Type.FromTypeof <WriteableBrowsingOptionalNodeIndex>()); return(new WriteableInsertionOptionalNodeIndex(parentNode, PropertyName, node)); }
/// <summary> /// Creates a IxxxChangeDiscreteValueOperation object. /// </summary> private protected override WriteableChangeDiscreteValueOperation CreateChangeDiscreteValueOperation(int value, System.Action<IWriteableOperation> handlerRedo, System.Action<IWriteableOperation> handlerUndo, bool isNested) { ControllerTools.AssertNoOverride(this, Type.FromTypeof<FocusChangeDiscreteValueOperation>()); return new FocusChangeDiscreteValueOperation(ParentNode, PropertyName, value, handlerRedo, handlerUndo, isNested); }
/// <summary> /// Creates a IxxxOptionalInner{IxxxBrowsingOptionalNodeIndex} object. /// </summary> private protected override IReadOnlyOptionalInner <IReadOnlyBrowsingOptionalNodeIndex> CreateOptionalInner(IReadOnlyNodeState owner, IReadOnlyIndexCollection <IReadOnlyBrowsingOptionalNodeIndex> nodeIndexCollection) { ControllerTools.AssertNoOverride(this, Type.FromTypeof <WriteableController>()); return(new WriteableOptionalInner <IWriteableBrowsingOptionalNodeIndex>((IWriteableNodeState)owner, nodeIndexCollection.PropertyName)); }
/// <summary> /// Creates a IxxxxBrowseContext object. /// </summary> private protected override ReadOnlyBrowseContext CreateBrowseContext(ReadOnlyBrowseContext parentBrowseContext, IReadOnlyNodeState state) { ControllerTools.AssertNoOverride(this, Type.FromTypeof <WriteableController>()); return(new WriteableBrowseContext((IWriteableNodeState)state)); }
/// <summary> /// Creates a IxxxInsertBlockOperation object. /// </summary> private protected override IWriteableInsertBlockOperation CreateInsertBlockOperation(int blockIndex, IBlock block, INode node, Action <IWriteableOperation> handlerRedo, Action <IWriteableOperation> handlerUndo, bool isNested) { ControllerTools.AssertNoOverride(this, typeof(FocusRemoveBlockOperation)); return(new FocusInsertBlockOperation(ParentNode, PropertyName, blockIndex, block, node, handlerRedo, handlerUndo, isNested)); }
/// <summary> /// Creates a IxxxBrowsingOptionalNodeIndex object. /// </summary> private protected override IWriteableBrowsingOptionalNodeIndex CreateBrowsingIndex() { ControllerTools.AssertNoOverride(this, typeof(FocusInsertionOptionalClearIndex)); return(new FocusBrowsingOptionalNodeIndex(ParentNode, PropertyName)); }
/// <summary> /// Creates a IxxxTemplateDictionary object. /// </summary> private protected override IFrameTemplateDictionary CreateEmptyTemplateDictionary() { ControllerTools.AssertNoOverride(this, typeof(FocusTemplateSet)); return(new FocusTemplateDictionary()); }
/// <summary> /// Creates a IxxxBrowsingExistingBlockNodeIndex object. /// </summary> private protected override IReadOnlyBrowsingExistingBlockNodeIndex CreateExistingBlockIndex() { ControllerTools.AssertNoOverride(this, typeof(FrameBrowsingNewBlockNodeIndex)); return(new FrameBrowsingExistingBlockNodeIndex(ParentNode, Node, PropertyName, BlockIndex, 0)); }
/// <summary> /// Creates a IxxxPlaceholderFrame object. /// </summary> private protected override IFramePlaceholderFrame CreatePlaceholderFrame() { ControllerTools.AssertNoOverride(this, typeof(FocusTemplateSet)); return(new FocusPlaceholderFrame()); }
/// <summary> /// Creates a IxxxReplaceOperation object. /// </summary> private protected override IWriteableReplaceOperation CreateReplaceOperation(int blockIndex, int index, INode node, Action <IWriteableOperation> handlerRedo, Action <IWriteableOperation> handlerUndo, bool isNested) { ControllerTools.AssertNoOverride(this, typeof(FrameReplaceOperation)); return(new FrameReplaceOperation(ParentNode, PropertyName, blockIndex, index, node, handlerRedo, handlerUndo, isNested)); }
/// <summary> /// Creates a IxxxHorizontalBlockListFrame object. /// </summary> private protected override IFrameHorizontalBlockListFrame CreateHorizontalBlockListFrame() { ControllerTools.AssertNoOverride(this, typeof(FocusTemplateSet)); return(new FocusHorizontalBlockListFrame()); }
/// <summary> /// Creates a IxxxInsertionOptionalClearIndex object. /// </summary> private protected override IWriteableInsertionOptionalClearIndex CreateInsertionOptionalClearIndex(Node parentNode) { ControllerTools.AssertNoOverride(this, Type.FromTypeof <FrameBrowsingOptionalNodeIndex>()); return(new FrameInsertionOptionalClearIndex(parentNode, PropertyName)); }
/// <summary> /// Creates a IxxxTemplateSet object. /// </summary> private protected override IFrameTemplateSet CreateDefaultTemplateSet(IFrameTemplateReadOnlyDictionary nodeTemplateTable, IFrameTemplateReadOnlyDictionary blockTemplateTable) { ControllerTools.AssertNoOverride(this, typeof(FocusTemplateSet)); return(new FocusTemplateSet((IFocusTemplateReadOnlyDictionary)nodeTemplateTable, (IFocusTemplateReadOnlyDictionary)blockTemplateTable)); }
/// <summary> /// Creates a IxxxInsertionNewBlockNodeIndex object. /// </summary> private protected override IFocusInsertionNewBlockNodeIndex CreateNewBlockNodeIndex(INode parentNode, string propertyName, INode node, int blockIndex, IPattern patternNode, IIdentifier sourceNode) { ControllerTools.AssertNoOverride(this, typeof(LayoutEmptySelection)); return(new LayoutInsertionNewBlockNodeIndex(parentNode, propertyName, node, blockIndex, patternNode, sourceNode)); }
/// <summary> /// Creates a IxxxSelectableFrameList object. /// </summary> private protected virtual IFocusSelectableFrameList CreateSelectableFrameList() { ControllerTools.AssertNoOverride(this, typeof(FocusSelectionFrame)); return(new FocusSelectableFrameList()); }
/// <summary> /// Creates a IxxxInsertionExistingBlockNodeIndex object. /// </summary> private protected override IFocusInsertionExistingBlockNodeIndex CreateExistingBlockNodeIndex(INode parentNode, string propertyName, INode node, int blockIndex, int index) { ControllerTools.AssertNoOverride(this, typeof(LayoutEmptySelection)); return(new LayoutInsertionExistingBlockNodeIndex(parentNode, propertyName, node, blockIndex, index)); }
/// <summary> /// Creates a IxxxEmptyCellView object. /// </summary> private protected virtual IFrameEmptyCellView CreateEmptyCellView(IFrameNodeStateView stateView, IFrameCellViewCollection parentCellView) { ControllerTools.AssertNoOverride(this, Type.FromTypeof <FrameOptionalNodeStateView>()); return(new FrameEmptyCellView(stateView, parentCellView)); }
/// <summary> /// Creates a IxxxRemoveNodeOperation object. /// </summary> private protected override WriteableRemoveNodeOperation CreateRemoveNodeOperation(int blockIndex, int index, System.Action <IWriteableOperation> handlerRedo, System.Action <IWriteableOperation> handlerUndo, bool isNested) { ControllerTools.AssertNoOverride(this, Type.FromTypeof <LayoutInsertNodeOperation>()); return(new LayoutRemoveNodeOperation(ParentNode, PropertyName, blockIndex, index, handlerRedo, handlerUndo, isNested)); }
/// <summary> /// Creates a IxxxPlaceholderNodeState object. /// </summary> private protected override IReadOnlyPlaceholderNodeState CreateNodeState(IReadOnlyBrowsingPlaceholderNodeIndex nodeIndex) { ControllerTools.AssertNoOverride(this, typeof(WriteablePlaceholderInner <IIndex, TIndex>)); return(new WriteablePlaceholderNodeState <IWriteableInner <IWriteableBrowsingChildIndex> >((IWriteableBrowsingPlaceholderNodeIndex)nodeIndex)); }
/// <summary> /// Creates a IxxxInnerDictionary{string} object. /// </summary> private protected override ReadOnlyInnerDictionary <string> CreateInnerTable() { ControllerTools.AssertNoOverride(this, Type.FromTypeof <WriteableController>()); return(new WriteableInnerDictionary <string>()); }