暂存一下

This commit is contained in:
艾竹
2023-03-11 12:40:44 +08:00
parent 5cfb32bb19
commit 84f413320f
18 changed files with 763 additions and 144 deletions

View File

@@ -89,6 +89,87 @@ namespace AIStudio.Wpf.Mind.ViewModels
}
}
private SimpleCommand _addLinkCommand;
public SimpleCommand AddLinkCommand
{
get
{
return this._addLinkCommand ?? (this._addLinkCommand = new SimpleCommand(MindExecuteEnable, ExecuteAddLinkCommand));
}
}
private SimpleCommand _removeLinkCommand;
public SimpleCommand RemoveLinkCommand
{
get
{
return this._removeLinkCommand ?? (this._removeLinkCommand = new SimpleCommand(MindExecuteEnable, ExecuteRemoveLinkCommand));
}
}
private SimpleCommand _addImageCommand;
public SimpleCommand AddImageCommand
{
get
{
return this._addImageCommand ?? (this._addImageCommand = new SimpleCommand(MindExecuteEnable, ExecuteAddImageCommand));
}
}
private SimpleCommand _removeImageCommand;
public SimpleCommand RemoveImageCommand
{
get
{
return this._removeImageCommand ?? (this._removeImageCommand = new SimpleCommand(MindExecuteEnable, ExecuteRemoveImageCommand));
}
}
private SimpleCommand _addRemarkCommand;
public SimpleCommand AddRemarkCommand
{
get
{
return this._addRemarkCommand ?? (this._addRemarkCommand = new SimpleCommand(MindExecuteEnable, ExecuteAddRemarkCommand));
}
}
private SimpleCommand _removeRemarkCommand;
public SimpleCommand RemoveRemarkCommand
{
get
{
return this._removeRemarkCommand ?? (this._removeRemarkCommand = new SimpleCommand(MindExecuteEnable, ExecuteRemoveRemarkCommand));
}
}
private SimpleCommand _addPriorityCommand;
public SimpleCommand AddPriorityCommand
{
get
{
return this._addPriorityCommand ?? (this._addPriorityCommand = new SimpleCommand(MindExecuteEnable, ExecuteAddPriorityCommand));
}
}
private SimpleCommand _addRatioCommand;
public SimpleCommand AddRatioCommand
{
get
{
return this._addRatioCommand ?? (this._addRatioCommand = new SimpleCommand(MindExecuteEnable, ExecuteAddRatioCommand));
}
}
private SimpleCommand _addTagCommand;
public SimpleCommand AddTagCommand
{
get
{
return this._addTagCommand ?? (this._addTagCommand = new SimpleCommand(MindExecuteEnable, ExecuteAddTagCommand));
}
}
private SimpleCommand _changeMindTypeCommand;
public SimpleCommand ChangeMindTypeCommand
{
@@ -180,7 +261,7 @@ namespace AIStudio.Wpf.Mind.ViewModels
public void InitRootItem()
{
MindNode level1node = new MindNode(this) { Root = this, Id = Guid.NewGuid(), Left = 200, Top = 200, Text = "思维导图" };
MindNode level1node = new MindNode(this) { Root = this, Id = Guid.NewGuid(), Left = 500, Top = 500, Text = "思维导图" };
level1node.InitLayout(true);
Items.Add(level1node);
level1node.IsSelected = true;
@@ -454,8 +535,56 @@ namespace AIStudio.Wpf.Mind.ViewModels
}
else
return false;
}
private void ExecuteAddLinkCommand(object obj)
{
throw new NotImplementedException();
}
private void ExecuteRemoveLinkCommand(object obj)
{
throw new NotImplementedException();
}
private void ExecuteAddImageCommand(object obj)
{
throw new NotImplementedException();
}
private void ExecuteRemoveImageCommand(object obj)
{
throw new NotImplementedException();
}
private void ExecuteAddRemarkCommand(object obj)
{
throw new NotImplementedException();
}
private void ExecuteRemoveRemarkCommand(object obj)
{
throw new NotImplementedException();
}
private void ExecuteAddPriorityCommand(object obj)
{
throw new NotImplementedException();
}
private void ExecuteAddRatioCommand(object obj)
{
throw new NotImplementedException();
}
private void ExecuteAddTagCommand(object obj)
{
throw new NotImplementedException();
}
private void ExecuteRemoveTagCommand(object obj)
{
throw new NotImplementedException();
}
private void ExecutedChangeMindTypeCommand(object obj)