public override void Init(DesignerItemViewModel parent)
        {
            base.Init(parent);

            FileContentsOutputConnector = new FullyCreatedConnectorInfo(
                Parent, ConnectorKind.Output, ConnectorOrientation.Right, typeof (string));
        }
        public ConnectionViewModel(IDiagramViewModel diagram, FullyCreatedConnectorInfo sourceConnectorInfo,
			FullyCreatedConnectorInfo sinkConnectorInfo)
            : base(diagram)
        {
            Init(sourceConnectorInfo, sinkConnectorInfo);
        }
 public ConnectionViewModel(FullyCreatedConnectorInfo sourceConnectorInfo, ConnectorInfoBase sinkConnectorInfo)
 {
     Init(sourceConnectorInfo, sinkConnectorInfo);
 }
        private void Init(FullyCreatedConnectorInfo sourceConnectorInfo, ConnectorInfoBase sinkConnectorInfo)
        {
            Diagram = sourceConnectorInfo.DesignerItem.Diagram;

            SourceConnectorInfo = sourceConnectorInfo;
            SinkConnectorInfo = sinkConnectorInfo;
        }