using CommunityToolkit.Mvvm.ComponentModel;
using Newtonsoft.Json.Linq;
using Serein.Library;
using Serein.Workbench.ViewModels;
using Serein.Workbench.Views;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Reflection.Metadata;
using System.Runtime.CompilerServices;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Linq;
namespace Serein.Workbench.Models
{
///
/// FlowEditorTabModel 类表示一个流程编辑器的标签模型。
///
public partial class FlowEditorTabModel : ObservableObject
{
[ObservableProperty]
private FlowCanvasDetails? _model;
///
/// 正在选中
///
[ObservableProperty]
private bool _isSelected;
///
/// 正在编辑标题
///
[ObservableProperty]
private bool _isEditing;
///
/// tab对应的控件
///
[ObservableProperty]
private FlowCanvasView? content;
///
/// FlowEditorTabModel 构造函数
///
///
public FlowEditorTabModel(FlowCanvasView content)
{
this.Content = content;
}
}
}