/// <summary> /// Initializes a new instance of the <see cref="FrameBlockStateView"/> class. /// </summary> /// <param name="controllerView">The controller view to which this object belongs.</param> /// <param name="blockState">The block state.</param> public FrameBlockStateView(FrameControllerView controllerView, IFrameBlockState blockState) : base(controllerView, blockState) { Type BlockType = BlockState.ParentInner.BlockType; Template = ControllerView.TemplateSet.BlockTypeToTemplate(BlockType); }
/// <summary> /// Initializes a new instance of the <see cref="FocusCellViewTreeContext"/> class. /// </summary> /// <param name="controllerView">The view in which cells are created.</param> /// <param name="stateView">The state view for which to create cells.</param> /// <param name="forcedCommentStateView">The state view for which the comment must be visible, even if empty.</param> public FocusCellViewTreeContext(FrameControllerView controllerView, IFrameNodeStateView stateView, IFocusNodeStateView forcedCommentStateView) : base(controllerView, stateView) { ForcedCommentStateView = forcedCommentStateView; IsFrameVisible = true; IsUserVisible = false; SelectorTable = new Dictionary <Type, string>(); }
/// <summary> /// Initializes a new instance of the <see cref="FrameNodeStateView"/> class. /// </summary> /// <param name="controllerView">The controller view to which this object belongs.</param> /// <param name="state">The node state.</param> public FrameNodeStateView(FrameControllerView controllerView, IFrameNodeState state) : base(controllerView, state) { }
/// <summary> /// Initializes a new instance of the <see cref="FramePlaceholderNodeStateView"/> class. /// </summary> /// <param name="controllerView">The controller view to which this object belongs.</param> /// <param name="state">The child node state.</param> public FramePlaceholderNodeStateView(FrameControllerView controllerView, IFramePlaceholderNodeState state) : base(controllerView, state) { }
/// <summary> /// Initializes a new instance of the <see cref="FrameBlockStateView"/> class. /// </summary> /// <param name="controllerView">The controller view to which this object belongs.</param> /// <param name="blockState">The block state.</param> /// <param name="template">The frame template.</param> protected FrameBlockStateView(FrameControllerView controllerView, IFrameBlockState blockState, IFrameTemplate template) : base(controllerView, blockState) { Template = template; }
/// <summary> /// Initializes a new instance of the <see cref="FramePatternStateView"/> class. /// </summary> /// <param name="controllerView">The controller view to which this object belongs.</param> /// <param name="state">The pattern state.</param> public FramePatternStateView(FrameControllerView controllerView, IFramePatternState state) : base(controllerView, state) { }
/// <summary> /// Initializes a new instance of the <see cref="FrameCellViewTreeContext"/> class. /// </summary> /// <param name="controllerView">The view in which cells are created.</param> /// <param name="stateView">The state view for which to create cells.</param> public FrameCellViewTreeContext(FrameControllerView controllerView, IFrameNodeStateView stateView) { ControllerView = controllerView; StateView = stateView; BlockStateView = null; }
/// <summary> /// Initializes a new instance of the <see cref="FrameEmptyNodeStateView"/> class. /// </summary> /// <param name="controllerView">The controller view to which this object belongs.</param> /// <param name="state">The child node state.</param> protected FrameEmptyNodeStateView(FrameControllerView controllerView, IFrameNodeState state) : base(controllerView, state) { }