Ejemplo n.º 1
0
 public void ResolveCollapsedPorts()
 {
     InportContainer?.ResolveCollapsed();
     for (int i = 0; i < OutportContainers.Count; i++)
     {
         OutportContainers[i].ResolveCollapsed();
     }
 }
Ejemplo n.º 2
0
 public void ClearDisplays(bool deletePorts)
 {
     HeaderContainer.Clear();
     PreTitleContainer.Clear();
     PostTitleContainer.Clear();
     PrimaryBodyContainer.Clear();
     InportContainer?.ClearContainers();
     for (int i = 0; i < OutportContainers.Count; i++)
     {
         OutportContainers[i]?.ClearContainers();
     }
     if (deletePorts)
     {
         OutportContainers.Clear();
         AllOutportsContainer.Clear();
     }
     SecondaryBodyContainer.Clear();
     FooterContainer.Clear();
     UpdateColor();
 }
Ejemplo n.º 3
0
 public void SetInport(PortView inport)
 {
     InportContainer = new InportContainer(inport);
     NodeView.inputContainer.Add(InportContainer);
     NodeView.inputContainer.style.flexGrow = 0;
 }
 public virtual void OnDrawInport(InportContainer inportContainer)
 {
 }