Пример #1
0
 /// <summary>
 /// Creates a IxxxEmptyCellView object.
 /// </summary>
 private protected virtual IFocusEmptyCellView CreateEmptyCellView(IFocusNodeStateView stateView, IFocusCellViewCollection parentCellView)
 {
     ControllerTools.AssertNoOverride(this, Type.FromTypeof <FocusNumberFrame>());
     return(new FocusEmptyCellView(stateView, parentCellView));
 }
Пример #2
0
 /// <summary>
 /// Creates a IxxxFrameSelectorList object.
 /// </summary>
 private protected virtual FocusFrameSelectorList CreateEmptySelectorList()
 {
     ControllerTools.AssertNoOverride(this, Type.FromTypeof <FocusBlockListFrame>());
     return(new FocusFrameSelectorList());
 }
 /// <summary>
 /// Creates a IxxxBrowsingExistingBlockNodeIndex object.
 /// </summary>
 private protected override IReadOnlyBrowsingExistingBlockNodeIndex CreateExistingBlockNodeIndex(IReadOnlyBrowseContext browseNodeContext, INode node, string propertyName, int blockIndex, int index, INode childNode)
 {
     ControllerTools.AssertNoOverride(this, typeof(LayoutOptionalNodeState <IInner>));
     return(new LayoutBrowsingExistingBlockNodeIndex(node, childNode, propertyName, blockIndex, index));
 }
Пример #4
0
 /// <inheritdoc/>
 private protected override ReadOnlyIndexCollectionList CreateIndexCollectionList()
 {
     ControllerTools.AssertNoOverride(this, Type.FromTypeof <WriteableBrowseContext>());
     return(new WriteableIndexCollectionList());
 }
 /// <summary>
 /// Creates a IxxxContainerCellView object.
 /// </summary>
 private protected override IFrameContainerCellView CreateFrameCellView(IFrameNodeStateView stateView, IFrameCellViewCollection parentCellView, IFrameNodeStateView childStateView)
 {
     ControllerTools.AssertNoOverride(this, Type.FromTypeof <FocusHorizontalListFrame>());
     return(new FocusContainerCellView((IFocusNodeStateView)stateView, (IFocusCellViewCollection)parentCellView, (IFocusNodeStateView)childStateView, this));
 }
Пример #6
0
 /// <summary>
 /// Creates a IxxxIndexCollection with IxxxBrowsingBlockNodeIndex objects.
 /// </summary>
 private protected override IReadOnlyIndexCollection CreateBlockIndexCollection(ReadOnlyBrowseContext browseNodeContext, string propertyName, ReadOnlyBrowsingBlockNodeIndexList nodeIndexList)
 {
     ControllerTools.AssertNoOverride(this, Type.FromTypeof <LayoutPlaceholderNodeState <IInner> >());
     return(new LayoutIndexCollection <ILayoutBrowsingBlockNodeIndex>(propertyName, (LayoutBrowsingBlockNodeIndexList)nodeIndexList));
 }
Пример #7
0
 /// <summary>
 /// Creates a IxxxEmptyCellView object.
 /// </summary>
 private protected override IFocusEmptyCellView CreateEmptyCellView(IFocusNodeStateView stateView, IFocusCellViewCollection parentCellView)
 {
     ControllerTools.AssertNoOverride(this, Type.FromTypeof <LayoutKeywordFrame>());
     return(new LayoutEmptyCellView((ILayoutNodeStateView)stateView, (ILayoutCellViewCollection)parentCellView));
 }
 /// <summary>
 /// Creates a IxxxTextFocus object.
 /// </summary>
 protected override IFocusStringContentFocus CreateFocus()
 {
     ControllerTools.AssertNoOverride(this, typeof(LayoutStringContentFocusableCellView));
     return(new LayoutStringContentFocus(this));
 }
Пример #9
0
 /// <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(FrameRemoveBlockOperation));
     return(new FrameInsertBlockOperation(ParentNode, PropertyName, blockIndex, block, node, handlerRedo, handlerUndo, isNested));
 }
Пример #10
0
 /// <summary>
 /// Creates a IxxxPlaceholderNodeState object.
 /// </summary>
 private protected override IReadOnlyPlaceholderNodeState CreateNodeState(IReadOnlyBrowsingPlaceholderNodeIndex nodeIndex)
 {
     ControllerTools.AssertNoOverride(this, Type.FromTypeof <FramePlaceholderInner <IIndex> >());
     return(new FramePlaceholderNodeState <IFrameInner <IFrameBrowsingChildIndex> >((IFrameBrowsingPlaceholderNodeIndex)nodeIndex));
 }
Пример #11
0
 /// <summary>
 /// Creates a IxxxBrowsingPlaceholderNodeIndex object.
 /// </summary>
 private protected override IWriteableBrowsingPlaceholderNodeIndex CreateBrowsingNodeIndex(Node node)
 {
     ControllerTools.AssertNoOverride(this, Type.FromTypeof <FramePlaceholderInner <IIndex> >());
     return(new FrameBrowsingPlaceholderNodeIndex(Owner.Node, node, PropertyName));
 }
 /// <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(LayoutBlockListSelection));
     return(new LayoutInsertionExistingBlockNodeIndex(parentNode, propertyName, node, blockIndex, index));
 }
 /// <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(LayoutBlockListSelection));
     return(new LayoutInsertionNewBlockNodeIndex(parentNode, propertyName, node, blockIndex, patternNode, sourceNode));
 }
 /// <summary>
 /// Creates a IxxxBrowsingOptionalNodeIndex object.
 /// </summary>
 private protected override IWriteableBrowsingOptionalNodeIndex CreateBrowsingIndex()
 {
     ControllerTools.AssertNoOverride(this, typeof(FrameInsertionOptionalNodeIndex));
     return(new FrameBrowsingOptionalNodeIndex(ParentNode, PropertyName));
 }
Пример #15
0
 /// <summary>
 /// Creates a IxxxBrowsingExistingBlockNodeIndex object.
 /// </summary>
 private protected override IReadOnlyBrowsingExistingBlockNodeIndex CreateExistingBlockNodeIndex(ReadOnlyBrowseContext browseNodeContext, Node node, string propertyName, int blockIndex, int index, Node childNode)
 {
     ControllerTools.AssertNoOverride(this, Type.FromTypeof <LayoutPlaceholderNodeState <IInner> >());
     return(new LayoutBrowsingExistingBlockNodeIndex(node, childNode, propertyName, blockIndex, index));
 }
Пример #16
0
 /// <summary>
 /// Creates a IxxxCellViewList object.
 /// </summary>
 private protected override IFrameCellViewList CreateCellViewList()
 {
     ControllerTools.AssertNoOverride(this, typeof(FocusVerticalBlockListFrame));
     return(new FocusCellViewList());
 }
Пример #17
0
 /// <summary>
 /// Creates a IxxxBrowsingBlockNodeIndexList object.
 /// </summary>
 private protected override ReadOnlyBrowsingBlockNodeIndexList CreateBrowsingBlockNodeIndexList()
 {
     ControllerTools.AssertNoOverride(this, Type.FromTypeof <LayoutPlaceholderNodeState <IInner> >());
     return(new LayoutBrowsingBlockNodeIndexList());
 }
Пример #18
0
 /// <summary>
 /// Creates a IxxxBlockCellView object.
 /// </summary>
 private protected override IFrameBlockCellView CreateBlockCellView(IFrameNodeStateView stateView, IFrameCellViewCollection parentCellView, IFrameBlockStateView blockStateView)
 {
     ControllerTools.AssertNoOverride(this, typeof(FocusVerticalBlockListFrame));
     return(new FocusBlockCellView((IFocusNodeStateView)stateView, (IFocusCellViewCollection)parentCellView, (IFocusBlockStateView)blockStateView));
 }
Пример #19
0
 /// <summary>
 /// Creates a IxxxInsertionChildNodeIndexList object.
 /// </summary>
 private protected override FocusInsertionChildNodeIndexList CreateInsertionChildIndexList()
 {
     ControllerTools.AssertNoOverride(this, Type.FromTypeof <LayoutPlaceholderNodeState <IInner> >());
     return(new LayoutInsertionChildNodeIndexList());
 }
Пример #20
0
 /// <summary>
 /// Creates a IxxxCellViewCollection object.
 /// </summary>
 private protected override IFrameCellViewCollection CreateEmbeddingCellView(IFrameNodeStateView stateView, IFrameCellViewCollection parentCellView, IFrameCellViewList list)
 {
     ControllerTools.AssertNoOverride(this, typeof(FocusVerticalBlockListFrame));
     return(new FocusColumn((IFocusNodeStateView)stateView, (IFocusCellViewCollection)parentCellView, (IFocusCellViewList)list, this));
 }
Пример #21
0
 /// <summary>
 /// Creates a IxxxSplitBlockOperation object.
 /// </summary>
 private protected override IWriteableSplitBlockOperation CreateSplitBlockOperation(int blockIndex, int index, IBlock block, Action <IWriteableOperation> handlerRedo, Action <IWriteableOperation> handlerUndo, bool isNested)
 {
     ControllerTools.AssertNoOverride(this, typeof(FocusMergeBlocksOperation));
     return(new FocusSplitBlockOperation(ParentNode, PropertyName, blockIndex, index, block, handlerRedo, handlerUndo, isNested));
 }
Пример #22
0
 /// <summary>
 /// Creates a IxxxFrameSelectorList object.
 /// </summary>
 private protected virtual IFocusFrameSelectorList CreateEmptySelectorList()
 {
     ControllerTools.AssertNoOverride(this, typeof(FocusVerticalBlockListFrame));
     return(new FocusFrameSelectorList());
 }
 /// <summary>
 /// Creates a IxxxCellViewList object.
 /// </summary>
 private protected override FrameCellViewList CreateCellViewList()
 {
     ControllerTools.AssertNoOverride(this, Type.FromTypeof <FocusHorizontalListFrame>());
     return(new FocusCellViewList());
 }
Пример #24
0
 /// <summary>
 /// Creates a IxxxChangeBlockOperation object.
 /// </summary>
 private protected override WriteableChangeBlockOperation CreateChangeBlockOperation(ReplicationStatus replication, System.Action <IWriteableOperation> handlerRedo, System.Action <IWriteableOperation> handlerUndo, bool isNested)
 {
     ControllerTools.AssertNoOverride(this, Type.FromTypeof <FrameChangeBlockOperation>());
     return(new FrameChangeBlockOperation(ParentNode, PropertyName, BlockIndex, replication, handlerRedo, handlerUndo, isNested));
 }
 /// <summary>
 /// Creates a IxxxCellViewCollection object.
 /// </summary>
 private protected override IFrameCellViewCollection CreateEmbeddingCellView(IFrameNodeStateView stateView, IFrameCellViewCollection parentCellView, FrameCellViewList list)
 {
     ControllerTools.AssertNoOverride(this, Type.FromTypeof <FocusHorizontalListFrame>());
     return(new FocusLine((IFocusNodeStateView)stateView, (IFocusCellViewCollection)parentCellView, (FocusCellViewList)list, this));
 }
 /// <summary>
 /// Creates a IxxxReplaceOperation object.
 /// </summary>
 private protected override IFocusReplaceWithCycleOperation CreateReplaceWithCycleOperation(int blockIndex, int index, IFocusInsertionChildNodeIndexList cycleIndexList, int cyclePosition, Action <IWriteableOperation> handlerRedo, Action <IWriteableOperation> handlerUndo, bool isNested)
 {
     ControllerTools.AssertNoOverride(this, typeof(LayoutReplaceWithCycleOperation));
     return(new LayoutReplaceWithCycleOperation(ParentNode, PropertyName, blockIndex, index, (ILayoutInsertionChildNodeIndexList)cycleIndexList, cyclePosition, handlerRedo, handlerUndo, isNested));
 }
 /// <summary>
 /// Creates a IxxxBrowsingOptionalNodeIndex object.
 /// </summary>
 private protected override IReadOnlyBrowsingOptionalNodeIndex CreateOptionalNodeIndex(IReadOnlyBrowseContext browseNodeContext, INode node, string propertyName)
 {
     ControllerTools.AssertNoOverride(this, typeof(LayoutOptionalNodeState <IInner>));
     return(new LayoutBrowsingOptionalNodeIndex(node, propertyName));
 }
Пример #28
0
 /// <summary>
 /// Creates a IxxxBrowsingOptionalNodeIndex object.
 /// </summary>
 private protected override IReadOnlyBrowsingOptionalNodeIndex CreateOptionalNodeIndex(ReadOnlyBrowseContext browseNodeContext, Node node, string propertyName)
 {
     ControllerTools.AssertNoOverride(this, Type.FromTypeof <LayoutPlaceholderNodeState <IInner> >());
     return(new LayoutBrowsingOptionalNodeIndex(node, propertyName));
 }
 /// <summary>
 /// Creates a IxxxBrowsingListNodeIndexList object.
 /// </summary>
 private protected override IReadOnlyBrowsingListNodeIndexList CreateBrowsingListNodeIndexList()
 {
     ControllerTools.AssertNoOverride(this, typeof(LayoutOptionalNodeState <IInner>));
     return(new LayoutBrowsingListNodeIndexList());
 }
Пример #30
0
 /// <summary>
 /// Creates a IxxxTextFocusableCellView object.
 /// </summary>
 private protected override IFrameVisibleCellView CreateVisibleCellView(IFrameNodeStateView stateView, IFrameCellViewCollection parentCellView)
 {
     ControllerTools.AssertNoOverride(this, Type.FromTypeof <FocusNumberFrame>());
     return(new FocusStringContentFocusableCellView((IFocusNodeStateView)stateView, (IFocusCellViewCollection)parentCellView, this, PropertyName));
 }