コード例 #1
0
 /// <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(IFrameControllerView controllerView, IFrameNodeStateView stateView, IFocusNodeStateView forcedCommentStateView)
     : base(controllerView, stateView)
 {
     ForcedCommentStateView = forcedCommentStateView;
     IsFrameVisible         = true;
     IsUserVisible          = false;
     SelectorTable          = new Dictionary <Type, string>();
 }
コード例 #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="FrameOptionalNodeStateView"/> class.
 /// </summary>
 /// <param name="controllerView">The controller view to which this object belongs.</param>
 /// <param name="state">The optional node state.</param>
 public FrameOptionalNodeStateView(IFrameControllerView controllerView, IFrameOptionalNodeState state)
     : base(controllerView, state)
 {
 }
コード例 #3
0
 /// <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(IFrameControllerView controllerView, IFrameNodeStateView stateView)
 {
     ControllerView = controllerView;
     StateView      = stateView;
     BlockStateView = null;
 }
コード例 #4
0
 /// <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(IFrameControllerView controllerView, IFramePlaceholderNodeState state)
     : base(controllerView, state)
 {
 }
コード例 #5
0
 /// <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(IFrameControllerView controllerView, IFrameBlockState blockState)
     : base(controllerView, blockState)
 {
 }
コード例 #6
0
 /// <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(IFrameControllerView controllerView, IFramePatternState state)
     : base(controllerView, state)
 {
 }
コード例 #7
0
 /// <summary>
 /// Initializes a new instance of the <see cref="FrameSourceStateView"/> class.
 /// </summary>
 /// <param name="controllerView">The controller view to which this object belongs.</param>
 /// <param name="state">The source state.</param>
 public FrameSourceStateView(IFrameControllerView controllerView, IFrameSourceState state)
     : base(controllerView, state)
 {
 }