Exemple #1
0
 /// <inheritdoc />
 protected override void BuildPartList()
 {
     PartList.AppendPart(SinglePortContainerPart.Create(inputPortContainerPartName, ExtractInputPortModel(Model), this, ussClassName));
     PartList.AppendPart(IconTitleProgressPart.Create(titleIconContainerPartName, Model, this, ussClassName));
     PartList.AppendPart(ConstantNodeEditorPart.Create(constantEditorPartName, Model, this, ussClassName));
     PartList.AppendPart(SinglePortContainerPart.Create(outputPortContainerPartName, ExtractOutputPortModel(Model), this, ussClassName));
 }
Exemple #2
0
        /// <inheritdoc />
        protected override void BuildPartList()
        {
            base.BuildPartList();

            PartList.AppendPart(BlackboardVariablePart.Create(rowFieldPartName, Model, this, ussClassName));
            PartList.AppendPart(BlackboardVariablePropertiesPart.Create(rowPropertiesPartName, Model, this, ussClassName));
        }
        /// <inheritdoc />
        protected override void BuildPartList()
        {
            PartList.AppendPart(VerticalPortContainerPart.Create(topPortContainerPartName, PortDirection.Input, Model, this, ussClassName));

            PartList.AppendPart(IconTitleProgressPart.Create(titleIconContainerPartName, Model, this, ussClassName));
            PartList.AppendPart(InOutPortContainerPart.Create(portContainerPartName, Model, this, ussClassName));

            PartList.AppendPart(VerticalPortContainerPart.Create(bottomPortContainerPartName, PortDirection.Output, Model, this, ussClassName));
        }
Exemple #4
0
 /// <summary>
 /// Initializes a new instance of the <see cref="IconTitleProgressPart"/> class.
 /// </summary>
 /// <param name="name">The name of the part.</param>
 /// <param name="model">The model displayed in this part.</param>
 /// <param name="ownerElement">The owner of the part.</param>
 /// <param name="parentClassName">The class name of the parent.</param>
 protected IconTitleProgressPart(string name, IGraphElementModel model, IModelUI ownerElement, string parentClassName)
     : base(name, model, ownerElement, parentClassName, multiline: false)
 {
     if (model.IsCollapsible())
     {
         var collapseButtonPart = NodeCollapseButtonPart.Create(collapseButtonPartName, model, ownerElement, ussClassName);
         PartList.AppendPart(collapseButtonPart);
     }
 }
        protected override void BuildPartList()
        {
            base.BuildPartList();

            PartList.AppendPart(PrintResultPart.Create(printResultPartName, Model, this, ussClassName));
        }
Exemple #6
0
 /// <inheritdoc />
 protected override void BuildPartList()
 {
     PartList.AppendPart(EditableTitlePart.Create(titleContainerPartName, Model, this, ussClassName, true));
     PartList.AppendPart(StickyNoteContentPart.Create(contentContainerPartName, Model, this, ussClassName));
     PartList.AppendPart(FourWayResizerPart.Create(resizerPartName, Model, this, ussClassName));
 }