internal TerminatorNodePropertiesEditor(TerminatorNodeConfiguration node, NodeSelectionManager nodeSelectionManager)
        {
            InitializeComponent();
            this.node = node;
            this.nodeSelectionManager = nodeSelectionManager;

            uiName.Text = node.Name;
            uiIsReturningOutput.IsChecked = node.IsReturningOutput;
            uiResultMessage.IsEnabled = node.IsReturningOutput;

            if (node.ResultMessageSelection == null) {
                node.ResultMessageSelection = new TokenSelection();
            }
            uiResultMessage.Selection = node.ResultMessageSelection;
        }
Beispiel #2
0
 /// <summary>
 /// Initializes a terminator node.
 /// </summary>
 /// <param name="configuration">TerminatorNodeConfiguration is expected
 /// </param>
 public override void InitializeCore(NodeConfiguration configuration)
 {
     Config = (TerminatorNodeConfiguration)configuration;
 }