public ConnectionData(ConnectionGUI c)
 {
     m_id         = c.Id;
     m_label      = c.Label;
     m_fromNodeId = c.OutputNodeId;
     m_fromNodeConnectionPointId = c.OutputPoint.Id;
     m_toNodeId = c.InputNodeId;
     m_toNodeConnectionPoiontId = c.InputPoint.Id;
 }
        public void UpdateCon(ConnectionGUI con, Dictionary <string, List <DepreacatedThroughputAsset> > throughputListDict)
        {
            this.con = con;
            this.throughputListDict = throughputListDict;

            this.foldouts = new List <bool>();
            for (var i = 0; i < this.throughputListDict.Count; i++)
            {
                foldouts.Add(true);
            }
        }
        public void UpdateInspector(ConnectionGUI con, Dictionary <string, List <Asset> > assetGroups)
        {
            this.connectionGUI = con;
            this.assetGroups   = assetGroups;

            this.foldouts = new List <bool>();
            if (assetGroups != null)
            {
                for (var i = 0; i < this.assetGroups.Count; i++)
                {
                    foldouts.Add(true);
                }
            }
        }