internal bool EditEnter(TActionComponent component) { component.ThrowNull(); var entityAction = TEntityAction.CreateDefault; TActionConverter.Request(TCategory.Target, component, entityAction); // update Material selection var tag = component.Models.GadgetTargetModel.MaterialId; entityAction.SupportAction.SelectionInfo.Select(component.Models.GadgetTargetModel.Material, tag, enabled: component.Models.GadgetTargetModel.Enabled); ComponentModelProperty.SelectModel(entityAction); ComponentModelProperty.SelectionLock(component.Models.GadgetTargetModel.Busy); return(component.Models.GadgetTargetModel.ValidateId); }
internal void Cleanup() { ComponentModelProperty.Cleanup(); ComponentModelProperty.SelectionLock(lockCurrent: false); }