protected override void CreateControls() { var transition = new ContainerTransition { Label = "Please enter transition", Name = "transition", Source = new FieldSourceDTO() { ManifestType = CrateManifestTypes.StandardDesignTimeFields, RequestUpstream = true } }; AddControls(transition); }
public static void ValidateTransitions(this ValidationManager validationManager, ContainerTransition control) { for (var i = 0; i < control.Transitions.Count; i++) { var transition = control.Transitions[i]; if (transition.Transition.RequiresTargetNodeId() && transition.TargetNodeId == null) { validationManager.SetError(GetMissingNodeTransitionErrorMessage(transition.Transition), $"transition_{i}"); } } }