From 27f4addba4580b81e3f4e5335d39f76b23f82220 Mon Sep 17 00:00:00 2001 From: alcexhim Date: Tue, 21 Apr 2015 08:25:18 -0400 Subject: [PATCH] Added ObjectModelReference for Rebel Software Installation Script --- .../InstallationScriptObjectModel.cs | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/CSharp/Plugins/UniversalEditor.Plugins.RebelSoftware/ObjectModels/RebelSoftware/InstallationScript/InstallationScriptObjectModel.cs b/CSharp/Plugins/UniversalEditor.Plugins.RebelSoftware/ObjectModels/RebelSoftware/InstallationScript/InstallationScriptObjectModel.cs index 17dba9eb..2649b571 100644 --- a/CSharp/Plugins/UniversalEditor.Plugins.RebelSoftware/ObjectModels/RebelSoftware/InstallationScript/InstallationScriptObjectModel.cs +++ b/CSharp/Plugins/UniversalEditor.Plugins.RebelSoftware/ObjectModels/RebelSoftware/InstallationScript/InstallationScriptObjectModel.cs @@ -7,6 +7,22 @@ namespace UniversalEditor.ObjectModels.RebelSoftware.InstallationScript { public class InstallationScriptObjectModel : ObjectModel { + private static ObjectModelReference _omr = null; + protected override ObjectModelReference MakeReferenceInternal() + { + if (_omr == null) + { + _omr = base.MakeReferenceInternal(); + _omr.Title = "Installation Script"; + _omr.Path = new string[] + { + "Setup", + "Rebel Software" + }; + } + return _omr; + } + private string mvarProductName = String.Empty; public string ProductName { get { return mvarProductName; } set { mvarProductName = value; } }