Commit 69775865 by wangonghui

修改配置文件

parent 02acfd1c
......@@ -97,7 +97,7 @@ namespace VIZ.TVP.Module
selectedFolderModel = value;
this.RaisePropertyChanged(nameof(SelectedFolderModel));
// 更新文件模型
this.vizResourceFileController.UpdateFileModels(value);
// this.vizResourceFileController.UpdateFileModels(value);
}
}
......@@ -498,28 +498,28 @@ namespace VIZ.TVP.Module
catch { }
// 为目录做迭代,添加目录
directories.ForEach(directoryPath =>
{
// 创建目录项
var subItem = new TreeViewItem()
{
// 将标题设置为文件夹名称
Header = GetFileFolderName(directoryPath),
// 标记为完整路径
Tag = directoryPath
};
//directories.ForEach(directoryPath =>
//{
// // 创建目录项
// var subItem = new TreeViewItem()
// {
// // 将标题设置为文件夹名称
// Header = GetFileFolderName(directoryPath),
// // 标记为完整路径
// Tag = directoryPath
// };
// 添加虚拟项目,以便我们可以扩展文件夹
subItem.Items.Add(null);
// 处理扩展
subItem.Expanded += Folder_Expanded;
// 将此项目添加到父项
item.Items.Add(subItem);
// // 添加虚拟项目,以便我们可以扩展文件夹
// subItem.Items.Add(null);
// // 处理扩展
// subItem.Expanded += Folder_Expanded;
// // 将此项目添加到父项
// item.Items.Add(subItem);
});
//});
#endregion
#region Get Files
......@@ -539,20 +539,20 @@ namespace VIZ.TVP.Module
catch { }
// 为目录做迭代,添加文件
Files.ForEach(filePath =>
{
// 创建文件
var subItem = new TreeViewItem()
{
// 将标题设置为文件名称
Header = GetFileFolderName(filePath),
// 标记为完整路径
Tag = filePath
};
// 将此项目添加到父项
item.Items.Add(subItem);
});
//Files.ForEach(filePath =>
//{
// // 创建文件
// var subItem = new TreeViewItem()
// {
// // 将标题设置为文件名称
// Header = GetFileFolderName(filePath),
// // 标记为完整路径
// Tag = filePath
// };
// // 将此项目添加到父项
// item.Items.Add(subItem);
//});
#endregion
......
......@@ -25,7 +25,7 @@ namespace VIZ.TVP.Plugin.Test
/// <summary>
/// 插件显示名称
/// </summary>
public const string PLUGIN_DISPLAY_NAME = "测试插件";
public const string PLUGIN_DISPLAY_NAME = "TestPluginView";
/// <summary>
/// 注册
......
ID,PluginID,Group,DisplayName,Type
1,TestPlugin,,Բ,TemplatePlugin
1,TestPlugin,,TestPluginView,TemplatePlugin
2,DayMatchUI,,DayMatchUI,TemplatePlugin
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment