准备将逻辑树变更方法迁移到可变容器元素中
This commit is contained in:
@@ -92,18 +92,21 @@ namespace Deedy.Activity
|
||||
/// <summary>
|
||||
/// 动作节点
|
||||
/// </summary>
|
||||
public IActionElement DeedyAction
|
||||
public IActionElement ActionElement
|
||||
{
|
||||
get { return (IActionElement)GetValue(DeedyActionProperty); }
|
||||
set { SetValue(DeedyActionProperty, value); }
|
||||
get { return (IActionElement)GetValue(ActionElementProperty); }
|
||||
set { SetValue(ActionElementProperty, value); }
|
||||
}
|
||||
public static readonly DependencyProperty DeedyActionProperty =
|
||||
DependencyProperty.Register("DeedyAction", typeof(IActionElement), typeof(ActionViewer), new PropertyMetadata(null,
|
||||
(d, e) => (d as ActionViewer)?.DeedyAction_PropertyChangedCallback(e)));
|
||||
|
||||
public Runtime Runtime => throw new NotImplementedException();
|
||||
|
||||
public static readonly DependencyProperty ActionElementProperty =
|
||||
DependencyProperty.Register("ActionElement", typeof(IActionElement), typeof(ActionViewer), new PropertyMetadata(null,
|
||||
(d, e) => (d as ActionViewer)?.ActionElement_PropertyChangedCallback(e)));
|
||||
/// <summary>
|
||||
/// 处理「DeedyActionViewer.DeedyAction」属性变更
|
||||
/// 处理「ActionElementViewer.ActionElement」属性变更
|
||||
/// </summary>
|
||||
protected virtual void DeedyAction_PropertyChangedCallback(DependencyPropertyChangedEventArgs e)
|
||||
protected virtual void ActionElement_PropertyChangedCallback(DependencyPropertyChangedEventArgs e)
|
||||
{
|
||||
//
|
||||
}
|
||||
@@ -111,5 +114,15 @@ namespace Deedy.Activity
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public void ReadyToEditing(Runtime runtime)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public void ReadyToRunning(Runtime runtime)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user