Example #1
0
        /// <summary>
        /// Creates and initializes a new instance of a <see cref="WriteableControllerView"/> object.
        /// </summary>
        /// <param name="controller">The controller on which the view is attached.</param>
        public static WriteableControllerView Create(WriteableController controller)
        {
            WriteableControllerView View = new WriteableControllerView(controller);

            View.Init();
            return(View);
        }
Example #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="WriteablePatternStateView"/> class.
 /// </summary>
 /// <param name="controllerView">The controller view to which this object belongs.</param>
 /// <param name="state">The pattern state.</param>
 public WriteablePatternStateView(WriteableControllerView controllerView, IWriteablePatternState state)
     : base(controllerView, state)
 {
 }
Example #3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="WriteableSourceStateView"/> class.
 /// </summary>
 /// <param name="controllerView">The controller view to which this object belongs.</param>
 /// <param name="state">The source state.</param>
 public WriteableSourceStateView(WriteableControllerView controllerView, IWriteableSourceState state)
     : base(controllerView, state)
 {
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="WriteableBlockStateView"/> class.
 /// </summary>
 /// <param name="controllerView">The controller view to which this object belongs.</param>
 /// <param name="blockState">The block state.</param>
 public WriteableBlockStateView(WriteableControllerView controllerView, IWriteableBlockState blockState)
     : base(controllerView, blockState)
 {
 }
Example #5
0
 /// <summary>
 /// Initializes a new instance of the <see cref="WriteableOptionalNodeStateView"/> class.
 /// </summary>
 /// <param name="controllerView">The controller view to which this object belongs.</param>
 /// <param name="state">The optional node state.</param>
 public WriteableOptionalNodeStateView(WriteableControllerView controllerView, IWriteableOptionalNodeState state)
     : base(controllerView, state)
 {
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="WriteablePlaceholderNodeStateView"/> class.
 /// </summary>
 /// <param name="controllerView">The controller view to which this object belongs.</param>
 /// <param name="state">The child node state.</param>
 public WriteablePlaceholderNodeStateView(WriteableControllerView controllerView, IWriteablePlaceholderNodeState state)
     : base(controllerView, state)
 {
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="WriteableEmptyNodeStateView"/> class.
 /// </summary>
 /// <param name="controllerView">The controller view to which this object belongs.</param>
 /// <param name="state">The node state.</param>
 protected WriteableEmptyNodeStateView(WriteableControllerView controllerView, IWriteableNodeState state)
     : base(controllerView, state)
 {
 }