Beispiel #1
0
 public Slot(string name, Type sourceType, bool allowMultiple, SectionVisibility visibility)
 {
     Name          = name;
     SourceType    = sourceType;
     AllowMultiple = allowMultiple;
     Visibility    = visibility;
 }
Beispiel #2
0
 public Slot(string name, Type sourceType, bool allowMultiple, SectionVisibility visibility)
 {
     Name = name;
     SourceType = sourceType;
     AllowMultiple = allowMultiple;
     Visibility = visibility;
 }
 public ReferenceSection(string name, SectionVisibility visibility, bool allowDuplicates, bool automatic, Type referenceType, bool editable = true)
     : base(name, visibility)
 {
     AllowDuplicates = allowDuplicates;
     Automatic       = automatic;
     ReferenceType   = referenceType;
     Editable        = editable;
 }
 public ReferenceSection(string name, SectionVisibility visibility, bool allowDuplicates, bool automatic, Type referenceType, bool editable = true)
     : base(name, visibility)
 {
     AllowDuplicates = allowDuplicates;
     Automatic = automatic;
     ReferenceType = referenceType;
     Editable = editable;
 }
Beispiel #5
0
 protected bool IsVisible(SectionVisibility section)
 {
     if (DiagramViewModel == null)
     {
         return(true);
     }
     if (section == SectionVisibility.Always)
     {
         return(true);
     }
     if (section == SectionVisibility.WhenNodeIsFilter)
     {
         return(DiagramViewModel.GraphData.CurrentFilter == GraphItem);
     }
     return(DiagramViewModel.GraphData.CurrentFilter != GraphItem);
 }
Beispiel #6
0
 public ConfigProxy(SectionVisibility visibility)
 {
     Visibility = visibility;
 }
Beispiel #7
0
 public Section(string name, SectionVisibility visibility)
 {
     Name       = name;
     Visibility = visibility;
 }
Beispiel #8
0
 public ProxySection(string name, SectionVisibility visibility) : base(name, visibility)
 {
 }
Beispiel #9
0
 public InputSlot(string name, bool allowMultiple, SectionVisibility visibility) : base(name, allowMultiple, visibility)
 {
 }
Beispiel #10
0
 public Section(string name, SectionVisibility visibility)
 {
     Name = name;
     Visibility = visibility;
 }
 public ReferenceSection(string name, SectionVisibility visibility, bool allowDuplicates) : base(name, visibility)
 {
     AllowDuplicates = allowDuplicates;
 }
 public ConfigProxy(SectionVisibility visibility)
 {
     Visibility = visibility;
 }
 public ReferenceSection(string name, SectionVisibility visibility, bool allowDuplicates) : base(name, visibility)
 {
     AllowDuplicates = allowDuplicates;
 }
Beispiel #14
0
 public TypedSection(string name, SectionVisibility visibility) : base(name, visibility)
 {
 }