[mapguide-commits] r4851 - in sandbox/maestro-2.5: Maestro Maestro.Base Maestro.Base/Commands Maestro.Base/Commands/SiteExplorer Maestro.Base/Properties Maestro.Base/Resources Maestro.Base/UI

svn_mapguide at osgeo.org svn_mapguide at osgeo.org
Tue May 11 08:17:47 EDT 2010


Author: jng
Date: 2010-05-11 08:17:46 -0400 (Tue, 11 May 2010)
New Revision: 4851

Added:
   sandbox/maestro-2.5/Maestro.Base/Commands/AboutCommand.cs
   sandbox/maestro-2.5/Maestro.Base/Commands/LoginCommand.cs
   sandbox/maestro-2.5/Maestro.Base/Commands/LogoutCommand.cs
   sandbox/maestro-2.5/Maestro.Base/Commands/OptionsCommand.cs
   sandbox/maestro-2.5/Maestro.Base/Commands/SiteExplorer/
   sandbox/maestro-2.5/Maestro.Base/Commands/SiteExplorer/DisconnectCommand.cs
   sandbox/maestro-2.5/Maestro.Base/Commands/SiteExplorer/RefreshCommand.cs
   sandbox/maestro-2.5/Maestro.Base/Resources/arrow-circle-045-left.png
   sandbox/maestro-2.5/Maestro.Base/Resources/plug--minus.png
   sandbox/maestro-2.5/Maestro.Base/UI/
   sandbox/maestro-2.5/Maestro.Base/UI/SiteExplorer.Designer.cs
   sandbox/maestro-2.5/Maestro.Base/UI/SiteExplorer.cs
   sandbox/maestro-2.5/Maestro.Base/UI/SiteExplorer.resx
Removed:
   sandbox/maestro-2.5/Maestro.Base/SiteExplorer.Designer.cs
   sandbox/maestro-2.5/Maestro.Base/SiteExplorer.cs
   sandbox/maestro-2.5/Maestro.Base/SiteExplorer.resx
Modified:
   sandbox/maestro-2.5/Maestro.Base/
   sandbox/maestro-2.5/Maestro.Base/Commands/StartupCommand.cs
   sandbox/maestro-2.5/Maestro.Base/Maestro.Base.addin
   sandbox/maestro-2.5/Maestro.Base/Maestro.Base.csproj
   sandbox/maestro-2.5/Maestro.Base/Properties/Resources.Designer.cs
   sandbox/maestro-2.5/Maestro.Base/Properties/Resources.resx
   sandbox/maestro-2.5/Maestro/
Log:
Add a whole bunch of dummy commands.


Property changes on: sandbox/maestro-2.5/Maestro
___________________________________________________________________
Modified: svn:ignore
   - Maestro.suo

   + Maestro.suo
obj



Property changes on: sandbox/maestro-2.5/Maestro.Base
___________________________________________________________________
Added: svn:ignore
   + obj


Added: sandbox/maestro-2.5/Maestro.Base/Commands/AboutCommand.cs
===================================================================
--- sandbox/maestro-2.5/Maestro.Base/Commands/AboutCommand.cs	                        (rev 0)
+++ sandbox/maestro-2.5/Maestro.Base/Commands/AboutCommand.cs	2010-05-11 12:17:46 UTC (rev 4851)
@@ -0,0 +1,29 @@
+#region Disclaimer / License
+// Copyright (C) 2010, Jackie Ng
+// http://trac.osgeo.org/mapguide/wiki/maestro, jumpinjackie at gmail.com
+// 
+// This library is free software; you can redistribute it and/or
+// modify it under the terms of the GNU Lesser General Public
+// License as published by the Free Software Foundation; either
+// version 2.1 of the License, or (at your option) any later version.
+// 
+// This library is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+// Lesser General Public License for more details.
+// 
+// You should have received a copy of the GNU Lesser General Public
+// License along with this library; if not, write to the Free Software
+// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
+// 
+#endregion
+using System;
+using System.Collections.Generic;
+using System.Text;
+
+namespace Maestro.Base.Commands
+{
+    internal class AboutCommand : NotImplementedCommand
+    {
+    }
+}

Added: sandbox/maestro-2.5/Maestro.Base/Commands/LoginCommand.cs
===================================================================
--- sandbox/maestro-2.5/Maestro.Base/Commands/LoginCommand.cs	                        (rev 0)
+++ sandbox/maestro-2.5/Maestro.Base/Commands/LoginCommand.cs	2010-05-11 12:17:46 UTC (rev 4851)
@@ -0,0 +1,29 @@
+#region Disclaimer / License
+// Copyright (C) 2010, Jackie Ng
+// http://trac.osgeo.org/mapguide/wiki/maestro, jumpinjackie at gmail.com
+// 
+// This library is free software; you can redistribute it and/or
+// modify it under the terms of the GNU Lesser General Public
+// License as published by the Free Software Foundation; either
+// version 2.1 of the License, or (at your option) any later version.
+// 
+// This library is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+// Lesser General Public License for more details.
+// 
+// You should have received a copy of the GNU Lesser General Public
+// License along with this library; if not, write to the Free Software
+// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
+// 
+#endregion
+using System;
+using System.Collections.Generic;
+using System.Text;
+
+namespace Maestro.Base.Commands
+{
+    internal class LoginCommand : NotImplementedCommand
+    {
+    }
+}

Added: sandbox/maestro-2.5/Maestro.Base/Commands/LogoutCommand.cs
===================================================================
--- sandbox/maestro-2.5/Maestro.Base/Commands/LogoutCommand.cs	                        (rev 0)
+++ sandbox/maestro-2.5/Maestro.Base/Commands/LogoutCommand.cs	2010-05-11 12:17:46 UTC (rev 4851)
@@ -0,0 +1,29 @@
+#region Disclaimer / License
+// Copyright (C) 2010, Jackie Ng
+// http://trac.osgeo.org/mapguide/wiki/maestro, jumpinjackie at gmail.com
+// 
+// This library is free software; you can redistribute it and/or
+// modify it under the terms of the GNU Lesser General Public
+// License as published by the Free Software Foundation; either
+// version 2.1 of the License, or (at your option) any later version.
+// 
+// This library is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+// Lesser General Public License for more details.
+// 
+// You should have received a copy of the GNU Lesser General Public
+// License along with this library; if not, write to the Free Software
+// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
+// 
+#endregion
+using System;
+using System.Collections.Generic;
+using System.Text;
+
+namespace Maestro.Base.Commands
+{
+    internal class LogoutCommand : NotImplementedCommand
+    {
+    }
+}

Added: sandbox/maestro-2.5/Maestro.Base/Commands/OptionsCommand.cs
===================================================================
--- sandbox/maestro-2.5/Maestro.Base/Commands/OptionsCommand.cs	                        (rev 0)
+++ sandbox/maestro-2.5/Maestro.Base/Commands/OptionsCommand.cs	2010-05-11 12:17:46 UTC (rev 4851)
@@ -0,0 +1,29 @@
+#region Disclaimer / License
+// Copyright (C) 2010, Jackie Ng
+// http://trac.osgeo.org/mapguide/wiki/maestro, jumpinjackie at gmail.com
+// 
+// This library is free software; you can redistribute it and/or
+// modify it under the terms of the GNU Lesser General Public
+// License as published by the Free Software Foundation; either
+// version 2.1 of the License, or (at your option) any later version.
+// 
+// This library is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+// Lesser General Public License for more details.
+// 
+// You should have received a copy of the GNU Lesser General Public
+// License along with this library; if not, write to the Free Software
+// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
+// 
+#endregion
+using System;
+using System.Collections.Generic;
+using System.Text;
+
+namespace Maestro.Base.Commands
+{
+    internal class OptionsCommand : NotImplementedCommand
+    {
+    }
+}

Added: sandbox/maestro-2.5/Maestro.Base/Commands/SiteExplorer/DisconnectCommand.cs
===================================================================
--- sandbox/maestro-2.5/Maestro.Base/Commands/SiteExplorer/DisconnectCommand.cs	                        (rev 0)
+++ sandbox/maestro-2.5/Maestro.Base/Commands/SiteExplorer/DisconnectCommand.cs	2010-05-11 12:17:46 UTC (rev 4851)
@@ -0,0 +1,29 @@
+#region Disclaimer / License
+// Copyright (C) 2010, Jackie Ng
+// http://trac.osgeo.org/mapguide/wiki/maestro, jumpinjackie at gmail.com
+// 
+// This library is free software; you can redistribute it and/or
+// modify it under the terms of the GNU Lesser General Public
+// License as published by the Free Software Foundation; either
+// version 2.1 of the License, or (at your option) any later version.
+// 
+// This library is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+// Lesser General Public License for more details.
+// 
+// You should have received a copy of the GNU Lesser General Public
+// License along with this library; if not, write to the Free Software
+// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
+// 
+#endregion
+using System;
+using System.Collections.Generic;
+using System.Text;
+
+namespace Maestro.Base.Commands.SiteExplorer
+{
+    internal class DisconnectCommand : NotImplementedCommand
+    {
+    }
+}

Added: sandbox/maestro-2.5/Maestro.Base/Commands/SiteExplorer/RefreshCommand.cs
===================================================================
--- sandbox/maestro-2.5/Maestro.Base/Commands/SiteExplorer/RefreshCommand.cs	                        (rev 0)
+++ sandbox/maestro-2.5/Maestro.Base/Commands/SiteExplorer/RefreshCommand.cs	2010-05-11 12:17:46 UTC (rev 4851)
@@ -0,0 +1,29 @@
+#region Disclaimer / License
+// Copyright (C) 2010, Jackie Ng
+// http://trac.osgeo.org/mapguide/wiki/maestro, jumpinjackie at gmail.com
+// 
+// This library is free software; you can redistribute it and/or
+// modify it under the terms of the GNU Lesser General Public
+// License as published by the Free Software Foundation; either
+// version 2.1 of the License, or (at your option) any later version.
+// 
+// This library is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+// Lesser General Public License for more details.
+// 
+// You should have received a copy of the GNU Lesser General Public
+// License along with this library; if not, write to the Free Software
+// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
+// 
+#endregion
+using System;
+using System.Collections.Generic;
+using System.Text;
+
+namespace Maestro.Base.Commands.SiteExplorer
+{
+    internal class RefreshCommand : NotImplementedCommand
+    {
+    }
+}

Modified: sandbox/maestro-2.5/Maestro.Base/Commands/StartupCommand.cs
===================================================================
--- sandbox/maestro-2.5/Maestro.Base/Commands/StartupCommand.cs	2010-05-11 11:40:15 UTC (rev 4850)
+++ sandbox/maestro-2.5/Maestro.Base/Commands/StartupCommand.cs	2010-05-11 12:17:46 UTC (rev 4851)
@@ -29,6 +29,7 @@
     {
         public override void Run()
         {
+            ResourceService.RegisterNeutralImages(Properties.Resources.ResourceManager);
             ResourceService.RegisterNeutralStrings(Properties.Resources.ResourceManager);
 
             Workbench.WorkbenchInitialized += (sender, e) =>
@@ -36,7 +37,7 @@
                 var wb = Workbench.Instance;
                 wb.Text = "MapGuide Maestro";
 
-                //var exp = new SiteExplorer();
+                //var exp = new UI.SiteExplorer();
                 //wb.ShowContent(exp, ViewRegion.Left);
             };
         }

Modified: sandbox/maestro-2.5/Maestro.Base/Maestro.Base.addin
===================================================================
--- sandbox/maestro-2.5/Maestro.Base/Maestro.Base.addin	2010-05-11 11:40:15 UTC (rev 4850)
+++ sandbox/maestro-2.5/Maestro.Base/Maestro.Base.addin	2010-05-11 12:17:46 UTC (rev 4851)
@@ -17,6 +17,7 @@
         <MenuItem id="Menu_File"
                   type="Menu"
                   label="${res:Menu_File}">
+            <MenuItem type="Separator" />
             <MenuItem id="Menu_File_Quit"
                       label="${res:Menu_File_Quit}"
                       class="Maestro.Base.Commands.QuitCommand" />
@@ -24,14 +25,16 @@
         <MenuItem id="Menu_Tools"
                   type="Menu"
                   label="${res:Menu_Tools}">
-            
+            <MenuItem id="Menu_Tools_Options"
+                      label="${res:Menu_Tools_Options}"
+                      class="Maestro.Base.Commands.OptionsCommand"/>
         </MenuItem>
         <MenuItem id="Menu_Help"
                   type="Menu"
                   label="${res:Menu_Help}">
             <MenuItem id="Menu_Help_About"
                       label="${res:Menu_Help_About}"
-                      class="Maestro.Base.Commands.NotImplementedCommand" />
+                      class="Maestro.Base.Commands.AboutCommand" />
         </MenuItem>
     </Path>
 
@@ -45,4 +48,21 @@
 
     </Path>
     
+    <!-- Site Explorer Toolbar -->
+    <Path name="/Maestro/Shell/SiteExplorer/Toolbar">
+        <ToolbarItem id="SiteExplorer_Refresh"
+                     label="${res:SiteExplorer_Refresh}"
+                     icon="arrow-circle-045-left"
+                     class="Maestro.Base.Commands.SiteExplorer.RefreshCommand" />
+        <ToolbarItem id="SiteExplorer_Disconnect"
+                     label="${res:SiteExplorer_Disconnect}"
+                     icon="plug--minus"
+                     class="Maestro.Base.Commands.SiteExplorer.DisconnectCommand" />
+    </Path>
+    
+    <!-- Site Explorer Context Menu -->
+    <Path name="/Maestro/Shell/SiteExplorer/ContextMenu">
+        
+    </Path>
+    
 </AddIn>
\ No newline at end of file

Modified: sandbox/maestro-2.5/Maestro.Base/Maestro.Base.csproj
===================================================================
--- sandbox/maestro-2.5/Maestro.Base/Maestro.Base.csproj	2010-05-11 11:40:15 UTC (rev 4850)
+++ sandbox/maestro-2.5/Maestro.Base/Maestro.Base.csproj	2010-05-11 12:17:46 UTC (rev 4851)
@@ -38,8 +38,14 @@
     <Reference Include="System.Xml" />
   </ItemGroup>
   <ItemGroup>
+    <Compile Include="Commands\AboutCommand.cs" />
+    <Compile Include="Commands\LoginCommand.cs" />
+    <Compile Include="Commands\LogoutCommand.cs" />
     <Compile Include="Commands\NotImplementedCommand.cs" />
+    <Compile Include="Commands\OptionsCommand.cs" />
     <Compile Include="Commands\QuitCommand.cs" />
+    <Compile Include="Commands\SiteExplorer\DisconnectCommand.cs" />
+    <Compile Include="Commands\SiteExplorer\RefreshCommand.cs" />
     <Compile Include="Commands\StartupCommand.cs" />
     <Compile Include="ISubView.cs" />
     <Compile Include="IViewContent.cs" />
@@ -49,10 +55,10 @@
       <DesignTime>True</DesignTime>
       <DependentUpon>Resources.resx</DependentUpon>
     </Compile>
-    <Compile Include="SiteExplorer.cs">
+    <Compile Include="UI\SiteExplorer.cs">
       <SubType>UserControl</SubType>
     </Compile>
-    <Compile Include="SiteExplorer.Designer.cs">
+    <Compile Include="UI\SiteExplorer.Designer.cs">
       <DependentUpon>SiteExplorer.cs</DependentUpon>
     </Compile>
     <Compile Include="TabFactory.cs" />
@@ -78,6 +84,8 @@
   </ItemGroup>
   <ItemGroup>
     <Content Include="Maestro.Base.addin" />
+    <None Include="Resources\arrow-circle-045-left.png" />
+    <None Include="Resources\plug--minus.png" />
     <None Include="Resources\server.png" />
     <None Include="Resources\MapGuide Maestro.ico" />
   </ItemGroup>
@@ -87,7 +95,7 @@
       <LastGenOutput>Resources.Designer.cs</LastGenOutput>
       <SubType>Designer</SubType>
     </EmbeddedResource>
-    <EmbeddedResource Include="SiteExplorer.resx">
+    <EmbeddedResource Include="UI\SiteExplorer.resx">
       <DependentUpon>SiteExplorer.cs</DependentUpon>
       <SubType>Designer</SubType>
     </EmbeddedResource>

Modified: sandbox/maestro-2.5/Maestro.Base/Properties/Resources.Designer.cs
===================================================================
--- sandbox/maestro-2.5/Maestro.Base/Properties/Resources.Designer.cs	2010-05-11 11:40:15 UTC (rev 4850)
+++ sandbox/maestro-2.5/Maestro.Base/Properties/Resources.Designer.cs	2010-05-11 12:17:46 UTC (rev 4851)
@@ -60,6 +60,13 @@
             }
         }
         
+        internal static System.Drawing.Bitmap arrow_circle_045_left {
+            get {
+                object obj = ResourceManager.GetObject("arrow-circle-045-left", resourceCulture);
+                return ((System.Drawing.Bitmap)(obj));
+            }
+        }
+        
         /// <summary>
         ///   Looks up a localized string similar to Site Explorer: {0}.
         /// </summary>
@@ -86,6 +93,15 @@
         }
         
         /// <summary>
+        ///   Looks up a localized string similar to Login.
+        /// </summary>
+        internal static string Menu_File_Login {
+            get {
+                return ResourceManager.GetString("Menu_File_Login", resourceCulture);
+            }
+        }
+        
+        /// <summary>
         ///   Looks up a localized string similar to Quit.
         /// </summary>
         internal static string Menu_File_Quit {
@@ -121,11 +137,45 @@
             }
         }
         
+        /// <summary>
+        ///   Looks up a localized string similar to Options.
+        /// </summary>
+        internal static string Menu_Tools_Options {
+            get {
+                return ResourceManager.GetString("Menu_Tools_Options", resourceCulture);
+            }
+        }
+        
+        internal static System.Drawing.Bitmap plug__minus {
+            get {
+                object obj = ResourceManager.GetObject("plug--minus", resourceCulture);
+                return ((System.Drawing.Bitmap)(obj));
+            }
+        }
+        
         internal static System.Drawing.Bitmap server {
             get {
                 object obj = ResourceManager.GetObject("server", resourceCulture);
                 return ((System.Drawing.Bitmap)(obj));
             }
         }
+        
+        /// <summary>
+        ///   Looks up a localized string similar to Disconnect.
+        /// </summary>
+        internal static string SiteExplorer_Disconnect {
+            get {
+                return ResourceManager.GetString("SiteExplorer_Disconnect", resourceCulture);
+            }
+        }
+        
+        /// <summary>
+        ///   Looks up a localized string similar to Refresh.
+        /// </summary>
+        internal static string SiteExplorer_Refresh {
+            get {
+                return ResourceManager.GetString("SiteExplorer_Refresh", resourceCulture);
+            }
+        }
     }
 }

Modified: sandbox/maestro-2.5/Maestro.Base/Properties/Resources.resx
===================================================================
--- sandbox/maestro-2.5/Maestro.Base/Properties/Resources.resx	2010-05-11 11:40:15 UTC (rev 4850)
+++ sandbox/maestro-2.5/Maestro.Base/Properties/Resources.resx	2010-05-11 12:17:46 UTC (rev 4851)
@@ -117,12 +117,21 @@
   <resheader name="writer">
     <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
   </resheader>
+  <data name="Menu_Help_About" xml:space="preserve">
+    <value>About</value>
+  </data>
   <data name="Content_SiteExplorer" xml:space="preserve">
     <value>Site Explorer: {0}</value>
   </data>
+  <data name="Menu_Help" xml:space="preserve">
+    <value>Help</value>
+  </data>
+  <data name="Menu_Tools" xml:space="preserve">
+    <value>Tools</value>
+  </data>
   <assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
-  <data name="MapGuide_Maestro" type="System.Resources.ResXFileRef, System.Windows.Forms">
-    <value>..\Resources\MapGuide Maestro.ico;System.Drawing.Icon, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
+  <data name="plug--minus" type="System.Resources.ResXFileRef, System.Windows.Forms">
+    <value>..\Resources\plug--minus.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
   </data>
   <data name="Menu_File" xml:space="preserve">
     <value>File</value>
@@ -130,16 +139,25 @@
   <data name="Menu_File_Quit" xml:space="preserve">
     <value>Quit</value>
   </data>
-  <data name="Menu_Help" xml:space="preserve">
-    <value>Help</value>
+  <data name="MapGuide_Maestro" type="System.Resources.ResXFileRef, System.Windows.Forms">
+    <value>..\Resources\MapGuide Maestro.ico;System.Drawing.Icon, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
   </data>
-  <data name="Menu_Help_About" xml:space="preserve">
-    <value>About</value>
-  </data>
-  <data name="Menu_Tools" xml:space="preserve">
-    <value>Tools</value>
-  </data>
   <data name="server" type="System.Resources.ResXFileRef, System.Windows.Forms">
     <value>..\Resources\server.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
   </data>
+  <data name="arrow-circle-045-left" type="System.Resources.ResXFileRef, System.Windows.Forms">
+    <value>..\Resources\arrow-circle-045-left.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
+  </data>
+  <data name="Menu_File_Login" xml:space="preserve">
+    <value>Login</value>
+  </data>
+  <data name="Menu_Tools_Options" xml:space="preserve">
+    <value>Options</value>
+  </data>
+  <data name="SiteExplorer_Disconnect" xml:space="preserve">
+    <value>Disconnect</value>
+  </data>
+  <data name="SiteExplorer_Refresh" xml:space="preserve">
+    <value>Refresh</value>
+  </data>
 </root>
\ No newline at end of file

Added: sandbox/maestro-2.5/Maestro.Base/Resources/arrow-circle-045-left.png
===================================================================
(Binary files differ)


Property changes on: sandbox/maestro-2.5/Maestro.Base/Resources/arrow-circle-045-left.png
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: sandbox/maestro-2.5/Maestro.Base/Resources/plug--minus.png
===================================================================
(Binary files differ)


Property changes on: sandbox/maestro-2.5/Maestro.Base/Resources/plug--minus.png
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Deleted: sandbox/maestro-2.5/Maestro.Base/SiteExplorer.Designer.cs
===================================================================
--- sandbox/maestro-2.5/Maestro.Base/SiteExplorer.Designer.cs	2010-05-11 11:40:15 UTC (rev 4850)
+++ sandbox/maestro-2.5/Maestro.Base/SiteExplorer.Designer.cs	2010-05-11 12:17:46 UTC (rev 4851)
@@ -1,69 +0,0 @@
-namespace Maestro.Base
-{
-    partial class SiteExplorer
-    {
-        /// <summary> 
-        /// Required designer variable.
-        /// </summary>
-        private System.ComponentModel.IContainer components = null;
-
-        /// <summary> 
-        /// Clean up any resources being used.
-        /// </summary>
-        /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
-        protected override void Dispose(bool disposing)
-        {
-            if (disposing && (components != null))
-            {
-                components.Dispose();
-            }
-            base.Dispose(disposing);
-        }
-
-        #region Component Designer generated code
-
-        /// <summary> 
-        /// Required method for Designer support - do not modify 
-        /// the contents of this method with the code editor.
-        /// </summary>
-        private void InitializeComponent()
-        {
-            this.toolStrip1 = new System.Windows.Forms.ToolStrip();
-            this.trvResources = new System.Windows.Forms.TreeView();
-            this.SuspendLayout();
-            // 
-            // toolStrip1
-            // 
-            this.toolStrip1.Location = new System.Drawing.Point(0, 0);
-            this.toolStrip1.Name = "toolStrip1";
-            this.toolStrip1.Size = new System.Drawing.Size(233, 25);
-            this.toolStrip1.TabIndex = 0;
-            this.toolStrip1.Text = "toolStrip1";
-            // 
-            // trvResources
-            // 
-            this.trvResources.Dock = System.Windows.Forms.DockStyle.Fill;
-            this.trvResources.Location = new System.Drawing.Point(0, 25);
-            this.trvResources.Name = "trvResources";
-            this.trvResources.Size = new System.Drawing.Size(233, 458);
-            this.trvResources.TabIndex = 1;
-            // 
-            // SiteExplorer
-            // 
-            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
-            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
-            this.Controls.Add(this.trvResources);
-            this.Controls.Add(this.toolStrip1);
-            this.Name = "SiteExplorer";
-            this.Size = new System.Drawing.Size(233, 483);
-            this.ResumeLayout(false);
-            this.PerformLayout();
-
-        }
-
-        #endregion
-
-        private System.Windows.Forms.ToolStrip toolStrip1;
-        private System.Windows.Forms.TreeView trvResources;
-    }
-}

Deleted: sandbox/maestro-2.5/Maestro.Base/SiteExplorer.cs
===================================================================
--- sandbox/maestro-2.5/Maestro.Base/SiteExplorer.cs	2010-05-11 11:40:15 UTC (rev 4850)
+++ sandbox/maestro-2.5/Maestro.Base/SiteExplorer.cs	2010-05-11 12:17:46 UTC (rev 4851)
@@ -1,38 +0,0 @@
-#region Disclaimer / License
-// Copyright (C) 2010, Jackie Ng
-// http://trac.osgeo.org/mapguide/wiki/maestro, jumpinjackie at gmail.com
-// 
-// This library is free software; you can redistribute it and/or
-// modify it under the terms of the GNU Lesser General Public
-// License as published by the Free Software Foundation; either
-// version 2.1 of the License, or (at your option) any later version.
-// 
-// This library is distributed in the hope that it will be useful,
-// but WITHOUT ANY WARRANTY; without even the implied warranty of
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-// Lesser General Public License for more details.
-// 
-// You should have received a copy of the GNU Lesser General Public
-// License along with this library; if not, write to the Free Software
-// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
-// 
-#endregion
-using System;
-using System.Collections.Generic;
-using System.ComponentModel;
-using System.Drawing;
-using System.Data;
-using System.Text;
-using System.Windows.Forms;
-
-namespace Maestro.Base
-{
-    public partial class SiteExplorer : ViewContentBase
-    {
-        public SiteExplorer()
-        {
-            InitializeComponent();
-            this.Title = string.Format(Properties.Resources.Content_SiteExplorer, "Test");
-        }
-    }
-}

Deleted: sandbox/maestro-2.5/Maestro.Base/SiteExplorer.resx
===================================================================
--- sandbox/maestro-2.5/Maestro.Base/SiteExplorer.resx	2010-05-11 11:40:15 UTC (rev 4850)
+++ sandbox/maestro-2.5/Maestro.Base/SiteExplorer.resx	2010-05-11 12:17:46 UTC (rev 4851)
@@ -1,123 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<root>
-  <!-- 
-    Microsoft ResX Schema 
-    
-    Version 2.0
-    
-    The primary goals of this format is to allow a simple XML format 
-    that is mostly human readable. The generation and parsing of the 
-    various data types are done through the TypeConverter classes 
-    associated with the data types.
-    
-    Example:
-    
-    ... ado.net/XML headers & schema ...
-    <resheader name="resmimetype">text/microsoft-resx</resheader>
-    <resheader name="version">2.0</resheader>
-    <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
-    <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
-    <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
-    <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
-    <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
-        <value>[base64 mime encoded serialized .NET Framework object]</value>
-    </data>
-    <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
-        <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
-        <comment>This is a comment</comment>
-    </data>
-                
-    There are any number of "resheader" rows that contain simple 
-    name/value pairs.
-    
-    Each data row contains a name, and value. The row also contains a 
-    type or mimetype. Type corresponds to a .NET class that support 
-    text/value conversion through the TypeConverter architecture. 
-    Classes that don't support this are serialized and stored with the 
-    mimetype set.
-    
-    The mimetype is used for serialized objects, and tells the 
-    ResXResourceReader how to depersist the object. This is currently not 
-    extensible. For a given mimetype the value must be set accordingly:
-    
-    Note - application/x-microsoft.net.object.binary.base64 is the format 
-    that the ResXResourceWriter will generate, however the reader can 
-    read any of the formats listed below.
-    
-    mimetype: application/x-microsoft.net.object.binary.base64
-    value   : The object must be serialized with 
-            : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
-            : and then encoded with base64 encoding.
-    
-    mimetype: application/x-microsoft.net.object.soap.base64
-    value   : The object must be serialized with 
-            : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
-            : and then encoded with base64 encoding.
-
-    mimetype: application/x-microsoft.net.object.bytearray.base64
-    value   : The object must be serialized into a byte array 
-            : using a System.ComponentModel.TypeConverter
-            : and then encoded with base64 encoding.
-    -->
-  <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
-    <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
-    <xsd:element name="root" msdata:IsDataSet="true">
-      <xsd:complexType>
-        <xsd:choice maxOccurs="unbounded">
-          <xsd:element name="metadata">
-            <xsd:complexType>
-              <xsd:sequence>
-                <xsd:element name="value" type="xsd:string" minOccurs="0" />
-              </xsd:sequence>
-              <xsd:attribute name="name" use="required" type="xsd:string" />
-              <xsd:attribute name="type" type="xsd:string" />
-              <xsd:attribute name="mimetype" type="xsd:string" />
-              <xsd:attribute ref="xml:space" />
-            </xsd:complexType>
-          </xsd:element>
-          <xsd:element name="assembly">
-            <xsd:complexType>
-              <xsd:attribute name="alias" type="xsd:string" />
-              <xsd:attribute name="name" type="xsd:string" />
-            </xsd:complexType>
-          </xsd:element>
-          <xsd:element name="data">
-            <xsd:complexType>
-              <xsd:sequence>
-                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
-                <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
-              </xsd:sequence>
-              <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
-              <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
-              <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
-              <xsd:attribute ref="xml:space" />
-            </xsd:complexType>
-          </xsd:element>
-          <xsd:element name="resheader">
-            <xsd:complexType>
-              <xsd:sequence>
-                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
-              </xsd:sequence>
-              <xsd:attribute name="name" type="xsd:string" use="required" />
-            </xsd:complexType>
-          </xsd:element>
-        </xsd:choice>
-      </xsd:complexType>
-    </xsd:element>
-  </xsd:schema>
-  <resheader name="resmimetype">
-    <value>text/microsoft-resx</value>
-  </resheader>
-  <resheader name="version">
-    <value>2.0</value>
-  </resheader>
-  <resheader name="reader">
-    <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
-  </resheader>
-  <resheader name="writer">
-    <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
-  </resheader>
-  <metadata name="toolStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
-    <value>17, 17</value>
-  </metadata>
-</root>
\ No newline at end of file

Added: sandbox/maestro-2.5/Maestro.Base/UI/SiteExplorer.Designer.cs
===================================================================
--- sandbox/maestro-2.5/Maestro.Base/UI/SiteExplorer.Designer.cs	                        (rev 0)
+++ sandbox/maestro-2.5/Maestro.Base/UI/SiteExplorer.Designer.cs	2010-05-11 12:17:46 UTC (rev 4851)
@@ -0,0 +1,46 @@
+namespace Maestro.Base.UI
+{
+    partial class SiteExplorer
+    {
+        /// <summary> 
+        /// Required designer variable.
+        /// </summary>
+        private System.ComponentModel.IContainer components = null;
+
+        /// <summary> 
+        /// Clean up any resources being used.
+        /// </summary>
+        /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
+        protected override void Dispose(bool disposing)
+        {
+            if (disposing && (components != null))
+            {
+                components.Dispose();
+            }
+            base.Dispose(disposing);
+        }
+
+        #region Component Designer generated code
+
+        /// <summary> 
+        /// Required method for Designer support - do not modify 
+        /// the contents of this method with the code editor.
+        /// </summary>
+        private void InitializeComponent()
+        {
+            this.SuspendLayout();
+            // 
+            // SiteExplorer
+            // 
+            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
+            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+            this.Name = "SiteExplorer";
+            this.Size = new System.Drawing.Size(233, 483);
+            this.ResumeLayout(false);
+
+        }
+
+        #endregion
+
+    }
+}

Added: sandbox/maestro-2.5/Maestro.Base/UI/SiteExplorer.cs
===================================================================
--- sandbox/maestro-2.5/Maestro.Base/UI/SiteExplorer.cs	                        (rev 0)
+++ sandbox/maestro-2.5/Maestro.Base/UI/SiteExplorer.cs	2010-05-11 12:17:46 UTC (rev 4851)
@@ -0,0 +1,54 @@
+#region Disclaimer / License
+// Copyright (C) 2010, Jackie Ng
+// http://trac.osgeo.org/mapguide/wiki/maestro, jumpinjackie at gmail.com
+// 
+// This library is free software; you can redistribute it and/or
+// modify it under the terms of the GNU Lesser General Public
+// License as published by the Free Software Foundation; either
+// version 2.1 of the License, or (at your option) any later version.
+// 
+// This library is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+// Lesser General Public License for more details.
+// 
+// You should have received a copy of the GNU Lesser General Public
+// License along with this library; if not, write to the Free Software
+// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
+// 
+#endregion
+using System;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Drawing;
+using System.Data;
+using System.Text;
+using System.Windows.Forms;
+using ICSharpCode.Core.WinForms;
+
+namespace Maestro.Base.UI
+{
+    public partial class SiteExplorer : ViewContentBase
+    {
+        private ToolStrip toolStrip;
+        private TreeView trvResources;
+        private ContextMenuStrip trvContextMenu;
+
+        public SiteExplorer()
+        {
+            InitializeComponent();
+        }
+
+        protected override void OnLoad(EventArgs e)
+        {
+            this.Title = string.Format(Properties.Resources.Content_SiteExplorer, "Test");
+            toolStrip = ToolbarService.CreateToolStrip(this, "/Maestro/Shell/SiteExplorer/Toolbar");
+            trvResources = new TreeView();
+            trvContextMenu = MenuService.CreateContextMenu(this, "/Maestro/Shell/SiteExplorer/ContextMenu");
+            toolStrip.Dock = DockStyle.Top;
+            trvResources.Dock = DockStyle.Fill;
+            this.Controls.Add(toolStrip);
+            this.Controls.Add(trvResources);
+        }
+    }
+}

Added: sandbox/maestro-2.5/Maestro.Base/UI/SiteExplorer.resx
===================================================================
--- sandbox/maestro-2.5/Maestro.Base/UI/SiteExplorer.resx	                        (rev 0)
+++ sandbox/maestro-2.5/Maestro.Base/UI/SiteExplorer.resx	2010-05-11 12:17:46 UTC (rev 4851)
@@ -0,0 +1,120 @@
+<?xml version="1.0" encoding="utf-8"?>
+<root>
+  <!-- 
+    Microsoft ResX Schema 
+    
+    Version 2.0
+    
+    The primary goals of this format is to allow a simple XML format 
+    that is mostly human readable. The generation and parsing of the 
+    various data types are done through the TypeConverter classes 
+    associated with the data types.
+    
+    Example:
+    
+    ... ado.net/XML headers & schema ...
+    <resheader name="resmimetype">text/microsoft-resx</resheader>
+    <resheader name="version">2.0</resheader>
+    <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
+    <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
+    <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
+    <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
+    <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
+        <value>[base64 mime encoded serialized .NET Framework object]</value>
+    </data>
+    <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
+        <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
+        <comment>This is a comment</comment>
+    </data>
+                
+    There are any number of "resheader" rows that contain simple 
+    name/value pairs.
+    
+    Each data row contains a name, and value. The row also contains a 
+    type or mimetype. Type corresponds to a .NET class that support 
+    text/value conversion through the TypeConverter architecture. 
+    Classes that don't support this are serialized and stored with the 
+    mimetype set.
+    
+    The mimetype is used for serialized objects, and tells the 
+    ResXResourceReader how to depersist the object. This is currently not 
+    extensible. For a given mimetype the value must be set accordingly:
+    
+    Note - application/x-microsoft.net.object.binary.base64 is the format 
+    that the ResXResourceWriter will generate, however the reader can 
+    read any of the formats listed below.
+    
+    mimetype: application/x-microsoft.net.object.binary.base64
+    value   : The object must be serialized with 
+            : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
+            : and then encoded with base64 encoding.
+    
+    mimetype: application/x-microsoft.net.object.soap.base64
+    value   : The object must be serialized with 
+            : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
+            : and then encoded with base64 encoding.
+
+    mimetype: application/x-microsoft.net.object.bytearray.base64
+    value   : The object must be serialized into a byte array 
+            : using a System.ComponentModel.TypeConverter
+            : and then encoded with base64 encoding.
+    -->
+  <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
+    <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
+    <xsd:element name="root" msdata:IsDataSet="true">
+      <xsd:complexType>
+        <xsd:choice maxOccurs="unbounded">
+          <xsd:element name="metadata">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" />
+              </xsd:sequence>
+              <xsd:attribute name="name" use="required" type="xsd:string" />
+              <xsd:attribute name="type" type="xsd:string" />
+              <xsd:attribute name="mimetype" type="xsd:string" />
+              <xsd:attribute ref="xml:space" />
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="assembly">
+            <xsd:complexType>
+              <xsd:attribute name="alias" type="xsd:string" />
+              <xsd:attribute name="name" type="xsd:string" />
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="data">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
+                <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
+              </xsd:sequence>
+              <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
+              <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
+              <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
+              <xsd:attribute ref="xml:space" />
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="resheader">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
+              </xsd:sequence>
+              <xsd:attribute name="name" type="xsd:string" use="required" />
+            </xsd:complexType>
+          </xsd:element>
+        </xsd:choice>
+      </xsd:complexType>
+    </xsd:element>
+  </xsd:schema>
+  <resheader name="resmimetype">
+    <value>text/microsoft-resx</value>
+  </resheader>
+  <resheader name="version">
+    <value>2.0</value>
+  </resheader>
+  <resheader name="reader">
+    <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </resheader>
+  <resheader name="writer">
+    <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </resheader>
+</root>
\ No newline at end of file



More information about the mapguide-commits mailing list