using System.Collections.Generic;
using System.Windows;
using Machinations.UserComponents;

namespace Machinations.GUI
{
    /// <summary>
    /// view for component outer inout,those which are connected with component view
    /// </summary>
    public class InOutOuterView : InOutView, IObjectView<OuterInOut>
    {
        /// <summary>
        /// pro load
        /// </summary>
        /// <param name="input"></param>
        public InOutOuterView(OuterInOut input) : base(input)
        {
        }

        public InOutOuterView(OuterInOut input, Point position) : base(input)
        {
            Position = position;
        }

        public List<IConnectionView> InputConnections
        {
            get { return m_inputConnections; }
        }

        public List<IConnectionView> OutputConnections
        {
            get { return m_outputConnections; }
        }

        public override void Move(double deltaX, double deltaY)
        {
            //base.Move(deltaX, deltaY);
        }

        public OuterInOut Model { get { return (OuterInOut)m_input; } }
    }
}
