From 64aeeb1d2784569e4ebf7c72c660458cf4432eee Mon Sep 17 00:00:00 2001 From: Victoria Plitt Date: Thu, 11 Apr 2019 11:24:39 +0300 Subject: Add menu to tree solution --- .../ProjectItems/ReferenceAssemblyItem.cs | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'Software/Visual_Studio/Scripting/Tango.Scripting.IDE/ProjectItems/ReferenceAssemblyItem.cs') diff --git a/Software/Visual_Studio/Scripting/Tango.Scripting.IDE/ProjectItems/ReferenceAssemblyItem.cs b/Software/Visual_Studio/Scripting/Tango.Scripting.IDE/ProjectItems/ReferenceAssemblyItem.cs index e9cd1e8f2..87a9f8efa 100644 --- a/Software/Visual_Studio/Scripting/Tango.Scripting.IDE/ProjectItems/ReferenceAssemblyItem.cs +++ b/Software/Visual_Studio/Scripting/Tango.Scripting.IDE/ProjectItems/ReferenceAssemblyItem.cs @@ -14,6 +14,22 @@ namespace Tango.Scripting.IDE.ProjectItems public String Path { get; set; } public override BitmapSource Image => GetImage("Images/Reference.png"); + public ReferenceAssemblyItem() + { + Commands = new ObservableCollection + { + new SolutionItemCommand(Remove) { Name = "Remove" } + }; + } + /// + /// Removes the specified object from References. + /// + private void Remove(object obj) + { + throw new NotImplementedException(); + } + + public override FrameworkElement OnGetView() { return null; -- cgit v1.3.1