From b1433dab2a0f61eddfe8706e2ee66f03f7c75915 Mon Sep 17 00:00:00 2001 From: alcexhim Date: Fri, 17 Apr 2015 17:28:00 -0400 Subject: [PATCH] Fixed solution issues --- .../InstallationScriptEditor.Designer.cs | 57 +++++++++ .../InstallationScriptEditor.cs | 47 +++++++ .../InstallationScriptEditor.resx | 120 ++++++++++++++++++ .../Properties/AssemblyInfo.cs | 36 ++++++ ...Software.UserInterface.WindowsForms.csproj | 73 +++++++++++ ...iversalEditor.Plugins.RebelSoftware.csproj | 22 ++-- CSharp/UniversalEditor.WindowsForms.sln | 14 ++ 7 files changed, 358 insertions(+), 11 deletions(-) create mode 100644 CSharp/Engines/WindowsForms/Plugins/UniversalEditor.Plugins.RebelSoftware.UserInterface.WindowsForms/Editors/RebelSoftware/InstallationScript/InstallationScriptEditor.Designer.cs create mode 100644 CSharp/Engines/WindowsForms/Plugins/UniversalEditor.Plugins.RebelSoftware.UserInterface.WindowsForms/Editors/RebelSoftware/InstallationScript/InstallationScriptEditor.cs create mode 100644 CSharp/Engines/WindowsForms/Plugins/UniversalEditor.Plugins.RebelSoftware.UserInterface.WindowsForms/Editors/RebelSoftware/InstallationScript/InstallationScriptEditor.resx create mode 100644 CSharp/Engines/WindowsForms/Plugins/UniversalEditor.Plugins.RebelSoftware.UserInterface.WindowsForms/Properties/AssemblyInfo.cs create mode 100644 CSharp/Engines/WindowsForms/Plugins/UniversalEditor.Plugins.RebelSoftware.UserInterface.WindowsForms/UniversalEditor.Plugins.RebelSoftware.UserInterface.WindowsForms.csproj diff --git a/CSharp/Engines/WindowsForms/Plugins/UniversalEditor.Plugins.RebelSoftware.UserInterface.WindowsForms/Editors/RebelSoftware/InstallationScript/InstallationScriptEditor.Designer.cs b/CSharp/Engines/WindowsForms/Plugins/UniversalEditor.Plugins.RebelSoftware.UserInterface.WindowsForms/Editors/RebelSoftware/InstallationScript/InstallationScriptEditor.Designer.cs new file mode 100644 index 00000000..8ac30e25 --- /dev/null +++ b/CSharp/Engines/WindowsForms/Plugins/UniversalEditor.Plugins.RebelSoftware.UserInterface.WindowsForms/Editors/RebelSoftware/InstallationScript/InstallationScriptEditor.Designer.cs @@ -0,0 +1,57 @@ +namespace UniversalEditor.Editors.RebelSoftware.InstallationScript +{ + partial class InstallationScriptEditor + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Component Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + this.tvExplorer = new System.Windows.Forms.TreeView(); + this.SuspendLayout(); + // + // tvExplorer + // + this.tvExplorer.Dock = System.Windows.Forms.DockStyle.Fill; + this.tvExplorer.Location = new System.Drawing.Point(0, 0); + this.tvExplorer.Name = "tvExplorer"; + this.tvExplorer.Size = new System.Drawing.Size(544, 400); + this.tvExplorer.TabIndex = 0; + // + // InstallationScriptEditor + // + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.Controls.Add(this.tvExplorer); + this.Name = "InstallationScriptEditor"; + this.Size = new System.Drawing.Size(544, 400); + this.ResumeLayout(false); + + } + + #endregion + + private System.Windows.Forms.TreeView tvExplorer; + } +} diff --git a/CSharp/Engines/WindowsForms/Plugins/UniversalEditor.Plugins.RebelSoftware.UserInterface.WindowsForms/Editors/RebelSoftware/InstallationScript/InstallationScriptEditor.cs b/CSharp/Engines/WindowsForms/Plugins/UniversalEditor.Plugins.RebelSoftware.UserInterface.WindowsForms/Editors/RebelSoftware/InstallationScript/InstallationScriptEditor.cs new file mode 100644 index 00000000..1f1ab7e3 --- /dev/null +++ b/CSharp/Engines/WindowsForms/Plugins/UniversalEditor.Plugins.RebelSoftware.UserInterface.WindowsForms/Editors/RebelSoftware/InstallationScript/InstallationScriptEditor.cs @@ -0,0 +1,47 @@ +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Drawing; +using System.Text; +using System.Windows.Forms; + +using UniversalEditor.UserInterface.WindowsForms; + +using UniversalEditor.Plugins.RebelSoftware.ObjectModels.InstallationScript; +using UniversalEditor.ObjectModels.RebelSoftware.InstallationScript.Dialogs; + +namespace UniversalEditor.Editors.RebelSoftware.InstallationScript +{ + public partial class InstallationScriptEditor : Editor + { + public InstallationScriptEditor() + { + InitializeComponent(); + } + + protected override void OnObjectModelChanged(EventArgs e) + { + base.OnObjectModelChanged(e); + + tvExplorer.Nodes.Clear(); + + InstallationScriptObjectModel script = (ObjectModel as InstallationScriptObjectModel); + if (script == null) return; + + TreeNode nodeDialogs = new TreeNode("Dialogs"); + + foreach (Dialog dialog in script.Dialogs) + { + TreeNode tn = new TreeNode(); + if (dialog is WelcomeDialog) + { + tn.Text = "Welcome"; + } + nodeDialogs.Nodes.Add(tn); + } + + tvExplorer.Nodes.Add(nodeDialogs); + + } + } +} diff --git a/CSharp/Engines/WindowsForms/Plugins/UniversalEditor.Plugins.RebelSoftware.UserInterface.WindowsForms/Editors/RebelSoftware/InstallationScript/InstallationScriptEditor.resx b/CSharp/Engines/WindowsForms/Plugins/UniversalEditor.Plugins.RebelSoftware.UserInterface.WindowsForms/Editors/RebelSoftware/InstallationScript/InstallationScriptEditor.resx new file mode 100644 index 00000000..7080a7d1 --- /dev/null +++ b/CSharp/Engines/WindowsForms/Plugins/UniversalEditor.Plugins.RebelSoftware.UserInterface.WindowsForms/Editors/RebelSoftware/InstallationScript/InstallationScriptEditor.resx @@ -0,0 +1,120 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file diff --git a/CSharp/Engines/WindowsForms/Plugins/UniversalEditor.Plugins.RebelSoftware.UserInterface.WindowsForms/Properties/AssemblyInfo.cs b/CSharp/Engines/WindowsForms/Plugins/UniversalEditor.Plugins.RebelSoftware.UserInterface.WindowsForms/Properties/AssemblyInfo.cs new file mode 100644 index 00000000..ac78a5b0 --- /dev/null +++ b/CSharp/Engines/WindowsForms/Plugins/UniversalEditor.Plugins.RebelSoftware.UserInterface.WindowsForms/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("UniversalEditor.Plugins.RebelSoftware.UserInterface.WindowsForms")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("City of Orlando")] +[assembly: AssemblyProduct("UniversalEditor.Plugins.RebelSoftware.UserInterface.WindowsForms")] +[assembly: AssemblyCopyright("Copyright © City of Orlando 2015")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("a8f10fb1-daf0-42ba-be16-65243f8159c5")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/CSharp/Engines/WindowsForms/Plugins/UniversalEditor.Plugins.RebelSoftware.UserInterface.WindowsForms/UniversalEditor.Plugins.RebelSoftware.UserInterface.WindowsForms.csproj b/CSharp/Engines/WindowsForms/Plugins/UniversalEditor.Plugins.RebelSoftware.UserInterface.WindowsForms/UniversalEditor.Plugins.RebelSoftware.UserInterface.WindowsForms.csproj new file mode 100644 index 00000000..958f0afa --- /dev/null +++ b/CSharp/Engines/WindowsForms/Plugins/UniversalEditor.Plugins.RebelSoftware.UserInterface.WindowsForms/UniversalEditor.Plugins.RebelSoftware.UserInterface.WindowsForms.csproj @@ -0,0 +1,73 @@ + + + + + Debug + AnyCPU + {D804B16F-289B-4846-AE4A-6070F84389F6} + Library + Properties + UniversalEditor + UniversalEditor.Plugins.RebelSoftware.UserInterface.WindowsForms + v3.5 + 512 + + + + true + full + false + ..\..\..\Output\Debug\Plugins\ + DEBUG;TRACE + prompt + 4 + + + pdbonly + true + ..\..\..\Output\Release\Plugins\ + TRACE + prompt + 4 + + + + + + + + + + + InstallationScriptEditor.cs + + + + + + InstallationScriptEditor.cs + + + + + {2d4737e6-6d95-408a-90db-8dff38147e85} + UniversalEditor.Core + + + {30467e5c-05bc-4856-aadc-13906ef4cadd} + UniversalEditor.Essential + + + {311885be-3faf-430b-91b2-6ec135d3a8ab} + UniversalEditor.Plugins.RebelSoftware + + + + + \ No newline at end of file diff --git a/CSharp/Plugins/UniversalEditor.Plugins.RebelSoftware/UniversalEditor.Plugins.RebelSoftware.csproj b/CSharp/Plugins/UniversalEditor.Plugins.RebelSoftware/UniversalEditor.Plugins.RebelSoftware.csproj index 7815d21a..ce25c2d5 100644 --- a/CSharp/Plugins/UniversalEditor.Plugins.RebelSoftware/UniversalEditor.Plugins.RebelSoftware.csproj +++ b/CSharp/Plugins/UniversalEditor.Plugins.RebelSoftware/UniversalEditor.Plugins.RebelSoftware.csproj @@ -35,17 +35,17 @@ - - - - - - - - - - - + + + + + + + + + + + diff --git a/CSharp/UniversalEditor.WindowsForms.sln b/CSharp/UniversalEditor.WindowsForms.sln index 66220c97..2702232e 100644 --- a/CSharp/UniversalEditor.WindowsForms.sln +++ b/CSharp/UniversalEditor.WindowsForms.sln @@ -137,6 +137,10 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "UniversalEditor.Plugins.Mic EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "UniversalEditor.Plugins.Michelangelo.UserInterface.WindowsForms", "Engines\WindowsForms\Plugins\UniversalEditor.Plugins.Michelangelo.UserInterface.WindowsForms\UniversalEditor.Plugins.Michelangelo.UserInterface.WindowsForms.csproj", "{E1A1FD87-BEA4-41B7-9472-B4E35A0630B5}" EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "UniversalEditor.Plugins.RebelSoftware", "Plugins\UniversalEditor.Plugins.RebelSoftware\UniversalEditor.Plugins.RebelSoftware.csproj", "{311885BE-3FAF-430B-91B2-6EC135D3A8AB}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "UniversalEditor.Plugins.RebelSoftware.UserInterface.WindowsForms", "Engines\WindowsForms\Plugins\UniversalEditor.Plugins.RebelSoftware.UserInterface.WindowsForms\UniversalEditor.Plugins.RebelSoftware.UserInterface.WindowsForms.csproj", "{D804B16F-289B-4846-AE4A-6070F84389F6}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU @@ -372,6 +376,14 @@ Global {E1A1FD87-BEA4-41B7-9472-B4E35A0630B5}.Debug|Any CPU.Build.0 = Debug|Any CPU {E1A1FD87-BEA4-41B7-9472-B4E35A0630B5}.Release|Any CPU.ActiveCfg = Release|Any CPU {E1A1FD87-BEA4-41B7-9472-B4E35A0630B5}.Release|Any CPU.Build.0 = Release|Any CPU + {311885BE-3FAF-430B-91B2-6EC135D3A8AB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {311885BE-3FAF-430B-91B2-6EC135D3A8AB}.Debug|Any CPU.Build.0 = Debug|Any CPU + {311885BE-3FAF-430B-91B2-6EC135D3A8AB}.Release|Any CPU.ActiveCfg = Release|Any CPU + {311885BE-3FAF-430B-91B2-6EC135D3A8AB}.Release|Any CPU.Build.0 = Release|Any CPU + {D804B16F-289B-4846-AE4A-6070F84389F6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {D804B16F-289B-4846-AE4A-6070F84389F6}.Debug|Any CPU.Build.0 = Debug|Any CPU + {D804B16F-289B-4846-AE4A-6070F84389F6}.Release|Any CPU.ActiveCfg = Release|Any CPU + {D804B16F-289B-4846-AE4A-6070F84389F6}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE @@ -417,6 +429,7 @@ Global {64089452-6A08-47A5-A857-BF418F80D4A3} = {71CFF024-26F7-4626-A526-B435FDF8D64E} {7BB04C9F-DC3F-448A-8FD3-9A6BB52BC886} = {71CFF024-26F7-4626-A526-B435FDF8D64E} {D623EC26-1A04-4BFE-84EE-E738281499C0} = {71CFF024-26F7-4626-A526-B435FDF8D64E} + {311885BE-3FAF-430B-91B2-6EC135D3A8AB} = {71CFF024-26F7-4626-A526-B435FDF8D64E} {FE016EA3-DC31-4A92-8B0A-8C746EC117E1} = {46041F27-7C1C-4209-B72B-251EDB5D4C61} {ED627DF7-3E78-4428-AB31-810BA1586E62} = {46041F27-7C1C-4209-B72B-251EDB5D4C61} {C1F34183-7A2F-41A6-9958-F6F329099654} = {A846CA33-9CAA-4237-B14F-8721DBA89442} @@ -437,6 +450,7 @@ Global {F635B40D-4BC1-48CB-9FFD-38076D569640} = {D3CE7A47-3989-4B6D-9867-0EA3C8DD7AB1} {997FFB89-0ED6-47EB-BD97-68B3138F91AD} = {D3CE7A47-3989-4B6D-9867-0EA3C8DD7AB1} {E1A1FD87-BEA4-41B7-9472-B4E35A0630B5} = {D3CE7A47-3989-4B6D-9867-0EA3C8DD7AB1} + {D804B16F-289B-4846-AE4A-6070F84389F6} = {D3CE7A47-3989-4B6D-9867-0EA3C8DD7AB1} {118E40C4-323E-4B4B-8EF4-38EED6CC5E83} = {54990D5E-CE09-459F-916E-AF13101765B4} {A5A14A71-5DB3-4495-92F6-8D27C98FF0F4} = {BC6859FB-B61C-471D-9F84-613E5C388C52} EndGlobalSection