Commit 69775865 by wangonghui

修改配置文件

parent 02acfd1c
...@@ -97,7 +97,7 @@ namespace VIZ.TVP.Module ...@@ -97,7 +97,7 @@ namespace VIZ.TVP.Module
selectedFolderModel = value; selectedFolderModel = value;
this.RaisePropertyChanged(nameof(SelectedFolderModel)); this.RaisePropertyChanged(nameof(SelectedFolderModel));
// 更新文件模型 // 更新文件模型
this.vizResourceFileController.UpdateFileModels(value); // this.vizResourceFileController.UpdateFileModels(value);
} }
} }
...@@ -498,28 +498,28 @@ namespace VIZ.TVP.Module ...@@ -498,28 +498,28 @@ namespace VIZ.TVP.Module
catch { } catch { }
// 为目录做迭代,添加目录 // 为目录做迭代,添加目录
directories.ForEach(directoryPath => //directories.ForEach(directoryPath =>
{ //{
// 创建目录项 // // 创建目录项
var subItem = new TreeViewItem() // var subItem = new TreeViewItem()
{ // {
// 将标题设置为文件夹名称 // // 将标题设置为文件夹名称
Header = GetFileFolderName(directoryPath), // Header = GetFileFolderName(directoryPath),
// 标记为完整路径 // // 标记为完整路径
Tag = directoryPath // Tag = directoryPath
}; // };
// 添加虚拟项目,以便我们可以扩展文件夹 // // 添加虚拟项目,以便我们可以扩展文件夹
subItem.Items.Add(null); // subItem.Items.Add(null);
// 处理扩展 // // 处理扩展
subItem.Expanded += Folder_Expanded; // subItem.Expanded += Folder_Expanded;
// 将此项目添加到父项 // // 将此项目添加到父项
item.Items.Add(subItem); // item.Items.Add(subItem);
}); //});
#endregion #endregion
#region Get Files #region Get Files
...@@ -539,20 +539,20 @@ namespace VIZ.TVP.Module ...@@ -539,20 +539,20 @@ namespace VIZ.TVP.Module
catch { } catch { }
// 为目录做迭代,添加文件 // 为目录做迭代,添加文件
Files.ForEach(filePath => //Files.ForEach(filePath =>
{ //{
// 创建文件 // // 创建文件
var subItem = new TreeViewItem() // var subItem = new TreeViewItem()
{ // {
// 将标题设置为文件名称 // // 将标题设置为文件名称
Header = GetFileFolderName(filePath), // Header = GetFileFolderName(filePath),
// 标记为完整路径 // // 标记为完整路径
Tag = filePath // Tag = filePath
}; // };
// 将此项目添加到父项 // // 将此项目添加到父项
item.Items.Add(subItem); // item.Items.Add(subItem);
}); //});
#endregion #endregion
......
...@@ -25,7 +25,7 @@ namespace VIZ.TVP.Plugin.Test ...@@ -25,7 +25,7 @@ namespace VIZ.TVP.Plugin.Test
/// <summary> /// <summary>
/// 插件显示名称 /// 插件显示名称
/// </summary> /// </summary>
public const string PLUGIN_DISPLAY_NAME = "测试插件"; public const string PLUGIN_DISPLAY_NAME = "TestPluginView";
/// <summary> /// <summary>
/// 注册 /// 注册
......
ID,PluginID,Group,DisplayName,Type 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