mirror of
https://gitee.com/langsisi_admin/serein-flow
synced 2026-03-25 18:46:35 +08:00
重写了节点的view、viewmodel关系,实现了对画布元素的选取功能,重构了底层依赖,添加了对net .Framework4.6.1以上的Framework类库支持
This commit is contained in:
@@ -3,26 +3,13 @@ using Serein.WorkBench.Node.View;
|
||||
|
||||
namespace Serein.WorkBench.Node.ViewModel
|
||||
{
|
||||
public class ActionNodeControlViewModel : NodeControlViewModel
|
||||
public class ActionNodeControlViewModel : NodeControlViewModelBase
|
||||
{
|
||||
private readonly SingleActionNode node;
|
||||
|
||||
public ActionNodeControlViewModel(SingleActionNode node)
|
||||
public ActionNodeControlViewModel(SingleActionNode node):base(node)
|
||||
{
|
||||
this.node = node;
|
||||
MethodDetails = node.MethodDetails;
|
||||
//if (node.MethodDetails.ExplicitDatas.Length == 0)
|
||||
//{
|
||||
// // 没有显式项
|
||||
// IsExistExplicitData = false;
|
||||
// ExplicitDatas = [];
|
||||
//}
|
||||
//else
|
||||
//{
|
||||
// explicitDatas = node.MethodDetails.ExplicitDatas;
|
||||
// //ExplicitDatas = node.MethodDetails.ExplicitDatas;
|
||||
// IsExistExplicitData = true;
|
||||
//}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user