[mapguide-commits] r7990 - in trunk/Tools/Maestro: Maestro.Base Maestro.Base/Commands/SiteExplorer Maestro.Editors Maestro.Editors/FeatureSource

svn_mapguide at osgeo.org svn_mapguide at osgeo.org
Thu Mar 20 02:44:15 PDT 2014


Author: jng
Date: 2014-03-20 02:44:15 -0700 (Thu, 20 Mar 2014)
New Revision: 7990

Added:
   trunk/Tools/Maestro/Maestro.Base/Commands/SiteExplorer/GetLayerSpatialContextCommand.cs
   trunk/Tools/Maestro/Maestro.Editors/FeatureSource/SpatialContextInfoDialog.Designer.cs
   trunk/Tools/Maestro/Maestro.Editors/FeatureSource/SpatialContextInfoDialog.cs
   trunk/Tools/Maestro/Maestro.Editors/FeatureSource/SpatialContextInfoDialog.resx
Modified:
   trunk/Tools/Maestro/Maestro.Base/Maestro.Base.addin
   trunk/Tools/Maestro/Maestro.Base/Maestro.Base.csproj
   trunk/Tools/Maestro/Maestro.Base/Strings.Designer.cs
   trunk/Tools/Maestro/Maestro.Base/Strings.resx
   trunk/Tools/Maestro/Maestro.Editors/Maestro.Editors.csproj
Log:
#2411: Add context menu shortcut for getting a layer's spatial context

Added: trunk/Tools/Maestro/Maestro.Base/Commands/SiteExplorer/GetLayerSpatialContextCommand.cs
===================================================================
--- trunk/Tools/Maestro/Maestro.Base/Commands/SiteExplorer/GetLayerSpatialContextCommand.cs	                        (rev 0)
+++ trunk/Tools/Maestro/Maestro.Base/Commands/SiteExplorer/GetLayerSpatialContextCommand.cs	2014-03-20 09:44:15 UTC (rev 7990)
@@ -0,0 +1,145 @@
+#region Disclaimer / License
+// Copyright (C) 2014, 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 ICSharpCode.Core;
+using Maestro.Base.Services;
+using Maestro.Editors.FeatureSource;
+using Maestro.Shared.UI;
+using OSGeo.MapGuide.MaestroAPI;
+using OSGeo.MapGuide.MaestroAPI.Schema;
+using OSGeo.MapGuide.ObjectModels.Common;
+using OSGeo.MapGuide.ObjectModels.LayerDefinition;
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+
+namespace Maestro.Base.Commands.SiteExplorer
+{
+    internal class GetLayerSpatialContextCommand : AbstractMenuCommand
+    {
+        class SpatialContextNotFoundException : Exception
+        {
+            public SpatialContextNotFoundException() { }
+            public SpatialContextNotFoundException(string message) : base(message) { }
+            public SpatialContextNotFoundException(string message, Exception inner) : base(message, inner) { }
+            protected SpatialContextNotFoundException(
+              System.Runtime.Serialization.SerializationInfo info,
+              System.Runtime.Serialization.StreamingContext context)
+                : base(info, context) { }
+        }
+
+        public override void Run()
+        {
+            var wb = Workbench.Instance;
+            if (wb != null)
+            {
+                if (wb.ActiveSiteExplorer != null)
+                {
+                    var items = wb.ActiveSiteExplorer.SelectedItems;
+                    if (items.Length == 1)
+                    {
+                        var it = items[0];
+                        if (it.ResourceType == ResourceTypes.LayerDefinition.ToString())
+                        {
+                            var connMgr = ServiceRegistry.GetService<ServerConnectionManager>();
+                            var conn = connMgr.GetConnection(wb.ActiveSiteExplorer.ConnectionName);
+                            BusyWaitDialog.Run(Strings.RetrievingSpatialContextForLayer, 
+                            () => {
+                                var resId = it.ResourceId;
+                                var ldf = (ILayerDefinition)conn.ResourceService.GetResource(resId);
+
+                                //If selected item is a Layer, it must be pointing to a Feature Source and not a Drawing Source
+                                if (ldf.SubLayer.ResourceId.EndsWith(ResourceTypes.FeatureSource.ToString()))
+                                {
+                                    var ltype = ldf.SubLayer.LayerType;
+                                    if (ltype == LayerType.Vector ||
+                                        ltype == LayerType.Raster)
+                                    {
+                                        var sContexts = conn.FeatureService.GetSpatialContextInfo(ldf.SubLayer.ResourceId, false);
+                                        if (ltype == LayerType.Vector)
+                                        {
+                                            IVectorLayerDefinition vl = (IVectorLayerDefinition)ldf.SubLayer;
+                                            var clsDef = conn.FeatureService.GetClassDefinition(vl.ResourceId, vl.FeatureName);
+                                            var geom = clsDef.FindProperty(vl.Geometry) as GeometricPropertyDefinition;
+                                            if (geom != null)
+                                            {
+                                                var sc = FindSpatialContext(sContexts, geom.SpatialContextAssociation);
+                                                return sc;
+                                            }
+                                            throw new SpatialContextNotFoundException(string.Format(Strings.GeometryPropertyNotFound, vl.Geometry));
+                                        }
+                                        else if (ltype == LayerType.Raster)
+                                        {
+                                            IRasterLayerDefinition rl = (IRasterLayerDefinition)ldf.SubLayer;
+                                            var clsDef = conn.FeatureService.GetClassDefinition(rl.ResourceId, rl.FeatureName);
+                                            var geom = clsDef.FindProperty(rl.Geometry) as RasterPropertyDefinition;
+                                            if (geom != null)
+                                            {
+                                                var sc = FindSpatialContext(sContexts, geom.SpatialContextAssociation);
+                                                return sc;
+                                            }
+                                            throw new SpatialContextNotFoundException(string.Format(Strings.RasterPropertyNotFound, rl.Geometry));
+                                        }
+                                    }
+                                    else
+                                    {
+                                        throw new SpatialContextNotFoundException(string.Format(Strings.NonApplicableLayerType, ldf.SubLayer.LayerType));
+                                    }
+                                }
+                                else
+                                {
+                                    throw new SpatialContextNotFoundException(string.Format(Strings.NonApplicableLayerType, ldf.SubLayer.LayerType));
+                                }
+                                return null;
+                            }, (res, ex) => {
+                                if (ex != null)
+                                {
+                                    var nf = ex as SpatialContextNotFoundException;
+                                    if (nf != null)
+                                        MessageService.ShowMessage(nf.Message);
+                                    else
+                                        ErrorDialog.Show(ex);
+                                }
+                                else
+                                {
+                                    var sc = res as IFdoSpatialContext;
+                                    if (sc != null)
+                                    {
+                                        new SpatialContextInfoDialog(sc).ShowDialog();
+                                    }
+                                }
+                            });
+                        }
+                    }
+                }
+            }
+        }
+
+        static IFdoSpatialContext FindSpatialContext(FdoSpatialContextList spatialContexts, string scName)
+        {
+            foreach (IFdoSpatialContext sc in spatialContexts.SpatialContext)
+            {
+                if (sc.Name == scName)
+                    return sc;
+            }
+            return null;
+        }
+    }
+}

Modified: trunk/Tools/Maestro/Maestro.Base/Maestro.Base.addin
===================================================================
--- trunk/Tools/Maestro/Maestro.Base/Maestro.Base.addin	2014-03-20 08:33:03 UTC (rev 7989)
+++ trunk/Tools/Maestro/Maestro.Base/Maestro.Base.addin	2014-03-20 09:44:15 UTC (rev 7990)
@@ -544,6 +544,11 @@
                       label="${res:SiteExplorer_FindReplaceXml}"
                       class="Maestro.Base.Commands.SiteExplorer.FindReplaceXmlContentCommand" />
             <MenuItem type="Separator" />
+            <Condition action="Disable" name="ResourceType" types="LayerDefinition">
+              <MenuItem id="GetLayerSpatialContext"
+                        label="${res:SiteExplorer_GetLayerSpatialContext}"
+                        class="Maestro.Base.Commands.SiteExplorer.GetLayerSpatialContextCommand" />
+            </Condition>
             <Condition action="Disable" name="ResourceType" types="FeatureSource,LayerDefinition">
                 <MenuItem id="PurgeFsCache"
                           label="${res:SiteExplorer_PurgeFsCache}"

Modified: trunk/Tools/Maestro/Maestro.Base/Maestro.Base.csproj
===================================================================
--- trunk/Tools/Maestro/Maestro.Base/Maestro.Base.csproj	2014-03-20 08:33:03 UTC (rev 7989)
+++ trunk/Tools/Maestro/Maestro.Base/Maestro.Base.csproj	2014-03-20 09:44:15 UTC (rev 7990)
@@ -117,6 +117,7 @@
     <Compile Include="Commands\SiteExplorer\CopyResourceIdCommand.cs" />
     <Compile Include="Commands\SiteExplorer\DuplicateResourceCommand.cs" />
     <Compile Include="Commands\SiteExplorer\FindReplaceXmlContentCommand.cs" />
+    <Compile Include="Commands\SiteExplorer\GetLayerSpatialContextCommand.cs" />
     <Compile Include="Commands\SiteExplorer\PurgeFeatureSourceCacheCommand.cs" />
     <Compile Include="Commands\SiteExplorer\SaveResourceContentToDiskCommand.cs" />
     <Compile Include="Commands\ServerMonitorCommand.cs" />

Modified: trunk/Tools/Maestro/Maestro.Base/Strings.Designer.cs
===================================================================
--- trunk/Tools/Maestro/Maestro.Base/Strings.Designer.cs	2014-03-20 08:33:03 UTC (rev 7989)
+++ trunk/Tools/Maestro/Maestro.Base/Strings.Designer.cs	2014-03-20 09:44:15 UTC (rev 7990)
@@ -1,7 +1,7 @@
 //------------------------------------------------------------------------------
 // <auto-generated>
 //     This code was generated by a tool.
-//     Runtime Version:4.0.30319.18052
+//     Runtime Version:4.0.30319.18444
 //
 //     Changes to this file may cause incorrect behavior and will be lost if
 //     the code is regenerated.
@@ -659,6 +659,15 @@
         }
         
         /// <summary>
+        ///   Looks up a localized string similar to Geometry property not found: {0}.
+        /// </summary>
+        internal static string GeometryPropertyNotFound {
+            get {
+                return ResourceManager.GetString("GeometryPropertyNotFound", resourceCulture);
+            }
+        }
+        
+        /// <summary>
         ///   Looks up a localized string similar to Error.
         /// </summary>
         internal static string Global_ErrorText {
@@ -1217,6 +1226,15 @@
         }
         
         /// <summary>
+        ///   Looks up a localized string similar to Non-applicable layer type: {0}.
+        /// </summary>
+        internal static string NonApplicableLayerType {
+            get {
+                return ResourceManager.GetString("NonApplicableLayerType", resourceCulture);
+            }
+        }
+        
+        /// <summary>
         ///   Looks up a localized string similar to No Open Connections.
         /// </summary>
         internal static string NoOpenConnections {
@@ -1453,6 +1471,15 @@
         }
         
         /// <summary>
+        ///   Looks up a localized string similar to Raster property not found: {0}.
+        /// </summary>
+        internal static string RasterPropertyNotFound {
+            get {
+                return ResourceManager.GetString("RasterPropertyNotFound", resourceCulture);
+            }
+        }
+        
+        /// <summary>
         ///   Looks up a localized string similar to Rename to.
         /// </summary>
         internal static string RenameTo {
@@ -1691,6 +1718,15 @@
         }
         
         /// <summary>
+        ///   Looks up a localized string similar to Retrieving Spatial Context for Layer.
+        /// </summary>
+        internal static string RetrievingSpatialContextForLayer {
+            get {
+                return ResourceManager.GetString("RetrievingSpatialContextForLayer", resourceCulture);
+            }
+        }
+        
+        /// <summary>
         ///   Looks up a localized string similar to Runtime Map Inspector.
         /// </summary>
         internal static string RtMapInspector {
@@ -1880,6 +1916,15 @@
         }
         
         /// <summary>
+        ///   Looks up a localized string similar to Get Layer's Spatial Context.
+        /// </summary>
+        internal static string SiteExplorer_GetLayerSpatialContext {
+            get {
+                return ResourceManager.GetString("SiteExplorer_GetLayerSpatialContext", resourceCulture);
+            }
+        }
+        
+        /// <summary>
         ///   Looks up a localized string similar to Migrate.
         /// </summary>
         internal static string SiteExplorer_Migrate {

Modified: trunk/Tools/Maestro/Maestro.Base/Strings.resx
===================================================================
--- trunk/Tools/Maestro/Maestro.Base/Strings.resx	2014-03-20 08:33:03 UTC (rev 7989)
+++ trunk/Tools/Maestro/Maestro.Base/Strings.resx	2014-03-20 09:44:15 UTC (rev 7990)
@@ -977,4 +977,19 @@
   <data name="Label_OpenResourceAsXml" xml:space="preserve">
     <value>Open this resource with the Generic XML editor</value>
   </data>
+  <data name="RetrievingSpatialContextForLayer" xml:space="preserve">
+    <value>Retrieving Spatial Context for Layer</value>
+  </data>
+  <data name="GeometryPropertyNotFound" xml:space="preserve">
+    <value>Geometry property not found: {0}</value>
+  </data>
+  <data name="NonApplicableLayerType" xml:space="preserve">
+    <value>Non-applicable layer type: {0}</value>
+  </data>
+  <data name="RasterPropertyNotFound" xml:space="preserve">
+    <value>Raster property not found: {0}</value>
+  </data>
+  <data name="SiteExplorer_GetLayerSpatialContext" xml:space="preserve">
+    <value>Get Layer's Spatial Context</value>
+  </data>
 </root>
\ No newline at end of file

Added: trunk/Tools/Maestro/Maestro.Editors/FeatureSource/SpatialContextInfoDialog.Designer.cs
===================================================================
--- trunk/Tools/Maestro/Maestro.Editors/FeatureSource/SpatialContextInfoDialog.Designer.cs	                        (rev 0)
+++ trunk/Tools/Maestro/Maestro.Editors/FeatureSource/SpatialContextInfoDialog.Designer.cs	2014-03-20 09:44:15 UTC (rev 7990)
@@ -0,0 +1,222 @@
+namespace Maestro.Editors.FeatureSource
+{
+    partial class SpatialContextInfoDialog
+    {
+        /// <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 Windows Form 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()
+        {
+            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(SpatialContextInfoDialog));
+            this.btnClose = new System.Windows.Forms.Button();
+            this.label1 = new System.Windows.Forms.Label();
+            this.label2 = new System.Windows.Forms.Label();
+            this.label3 = new System.Windows.Forms.Label();
+            this.label4 = new System.Windows.Forms.Label();
+            this.label5 = new System.Windows.Forms.Label();
+            this.label6 = new System.Windows.Forms.Label();
+            this.label7 = new System.Windows.Forms.Label();
+            this.txtName = new System.Windows.Forms.TextBox();
+            this.txtExtentType = new System.Windows.Forms.TextBox();
+            this.txtMinX = new System.Windows.Forms.TextBox();
+            this.txtMinY = new System.Windows.Forms.TextBox();
+            this.txtMaxY = new System.Windows.Forms.TextBox();
+            this.txtMaxX = new System.Windows.Forms.TextBox();
+            this.txtCSName = new System.Windows.Forms.TextBox();
+            this.txtCSWkt = new System.Windows.Forms.TextBox();
+            this.txtXYTolerance = new System.Windows.Forms.TextBox();
+            this.txtZTolerance = new System.Windows.Forms.TextBox();
+            this.txtDescription = new System.Windows.Forms.TextBox();
+            this.label8 = new System.Windows.Forms.Label();
+            this.SuspendLayout();
+            // 
+            // btnClose
+            // 
+            resources.ApplyResources(this.btnClose, "btnClose");
+            this.btnClose.Name = "btnClose";
+            this.btnClose.UseVisualStyleBackColor = true;
+            this.btnClose.Click += new System.EventHandler(this.btnClose_Click);
+            // 
+            // label1
+            // 
+            resources.ApplyResources(this.label1, "label1");
+            this.label1.Name = "label1";
+            // 
+            // label2
+            // 
+            resources.ApplyResources(this.label2, "label2");
+            this.label2.Name = "label2";
+            // 
+            // label3
+            // 
+            resources.ApplyResources(this.label3, "label3");
+            this.label3.Name = "label3";
+            // 
+            // label4
+            // 
+            resources.ApplyResources(this.label4, "label4");
+            this.label4.Name = "label4";
+            // 
+            // label5
+            // 
+            resources.ApplyResources(this.label5, "label5");
+            this.label5.Name = "label5";
+            // 
+            // label6
+            // 
+            resources.ApplyResources(this.label6, "label6");
+            this.label6.Name = "label6";
+            // 
+            // label7
+            // 
+            resources.ApplyResources(this.label7, "label7");
+            this.label7.Name = "label7";
+            // 
+            // txtName
+            // 
+            resources.ApplyResources(this.txtName, "txtName");
+            this.txtName.Name = "txtName";
+            this.txtName.ReadOnly = true;
+            // 
+            // txtExtentType
+            // 
+            resources.ApplyResources(this.txtExtentType, "txtExtentType");
+            this.txtExtentType.Name = "txtExtentType";
+            this.txtExtentType.ReadOnly = true;
+            // 
+            // txtMinX
+            // 
+            resources.ApplyResources(this.txtMinX, "txtMinX");
+            this.txtMinX.Name = "txtMinX";
+            this.txtMinX.ReadOnly = true;
+            // 
+            // txtMinY
+            // 
+            resources.ApplyResources(this.txtMinY, "txtMinY");
+            this.txtMinY.Name = "txtMinY";
+            this.txtMinY.ReadOnly = true;
+            // 
+            // txtMaxY
+            // 
+            resources.ApplyResources(this.txtMaxY, "txtMaxY");
+            this.txtMaxY.Name = "txtMaxY";
+            this.txtMaxY.ReadOnly = true;
+            // 
+            // txtMaxX
+            // 
+            resources.ApplyResources(this.txtMaxX, "txtMaxX");
+            this.txtMaxX.Name = "txtMaxX";
+            this.txtMaxX.ReadOnly = true;
+            // 
+            // txtCSName
+            // 
+            resources.ApplyResources(this.txtCSName, "txtCSName");
+            this.txtCSName.Name = "txtCSName";
+            this.txtCSName.ReadOnly = true;
+            // 
+            // txtCSWkt
+            // 
+            resources.ApplyResources(this.txtCSWkt, "txtCSWkt");
+            this.txtCSWkt.Name = "txtCSWkt";
+            this.txtCSWkt.ReadOnly = true;
+            // 
+            // txtXYTolerance
+            // 
+            resources.ApplyResources(this.txtXYTolerance, "txtXYTolerance");
+            this.txtXYTolerance.Name = "txtXYTolerance";
+            this.txtXYTolerance.ReadOnly = true;
+            // 
+            // txtZTolerance
+            // 
+            resources.ApplyResources(this.txtZTolerance, "txtZTolerance");
+            this.txtZTolerance.Name = "txtZTolerance";
+            this.txtZTolerance.ReadOnly = true;
+            // 
+            // txtDescription
+            // 
+            resources.ApplyResources(this.txtDescription, "txtDescription");
+            this.txtDescription.Name = "txtDescription";
+            this.txtDescription.ReadOnly = true;
+            // 
+            // label8
+            // 
+            resources.ApplyResources(this.label8, "label8");
+            this.label8.Name = "label8";
+            // 
+            // SpatialContextInfoDialog
+            // 
+            resources.ApplyResources(this, "$this");
+            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+            this.ControlBox = false;
+            this.Controls.Add(this.txtDescription);
+            this.Controls.Add(this.label8);
+            this.Controls.Add(this.txtZTolerance);
+            this.Controls.Add(this.txtXYTolerance);
+            this.Controls.Add(this.txtCSWkt);
+            this.Controls.Add(this.txtCSName);
+            this.Controls.Add(this.txtMaxY);
+            this.Controls.Add(this.txtMaxX);
+            this.Controls.Add(this.txtMinY);
+            this.Controls.Add(this.txtMinX);
+            this.Controls.Add(this.txtExtentType);
+            this.Controls.Add(this.txtName);
+            this.Controls.Add(this.label7);
+            this.Controls.Add(this.label6);
+            this.Controls.Add(this.label5);
+            this.Controls.Add(this.label4);
+            this.Controls.Add(this.label3);
+            this.Controls.Add(this.label2);
+            this.Controls.Add(this.label1);
+            this.Controls.Add(this.btnClose);
+            this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
+            this.Name = "SpatialContextInfoDialog";
+            this.ResumeLayout(false);
+            this.PerformLayout();
+
+        }
+
+        #endregion
+
+        private System.Windows.Forms.Button btnClose;
+        private System.Windows.Forms.Label label1;
+        private System.Windows.Forms.Label label2;
+        private System.Windows.Forms.Label label3;
+        private System.Windows.Forms.Label label4;
+        private System.Windows.Forms.Label label5;
+        private System.Windows.Forms.Label label6;
+        private System.Windows.Forms.Label label7;
+        private System.Windows.Forms.TextBox txtName;
+        private System.Windows.Forms.TextBox txtExtentType;
+        private System.Windows.Forms.TextBox txtMinX;
+        private System.Windows.Forms.TextBox txtMinY;
+        private System.Windows.Forms.TextBox txtMaxY;
+        private System.Windows.Forms.TextBox txtMaxX;
+        private System.Windows.Forms.TextBox txtCSName;
+        private System.Windows.Forms.TextBox txtCSWkt;
+        private System.Windows.Forms.TextBox txtXYTolerance;
+        private System.Windows.Forms.TextBox txtZTolerance;
+        private System.Windows.Forms.TextBox txtDescription;
+        private System.Windows.Forms.Label label8;
+    }
+}
\ No newline at end of file

Added: trunk/Tools/Maestro/Maestro.Editors/FeatureSource/SpatialContextInfoDialog.cs
===================================================================
--- trunk/Tools/Maestro/Maestro.Editors/FeatureSource/SpatialContextInfoDialog.cs	                        (rev 0)
+++ trunk/Tools/Maestro/Maestro.Editors/FeatureSource/SpatialContextInfoDialog.cs	2014-03-20 09:44:15 UTC (rev 7990)
@@ -0,0 +1,65 @@
+#region Disclaimer / License
+// Copyright (C) 2014, 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 OSGeo.MapGuide.ObjectModels.Common;
+using System;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Data;
+using System.Drawing;
+using System.Globalization;
+using System.Linq;
+using System.Text;
+using System.Windows.Forms;
+
+namespace Maestro.Editors.FeatureSource
+{
+    public partial class SpatialContextInfoDialog : Form
+    {
+        private SpatialContextInfoDialog()
+        {
+            InitializeComponent();
+        }
+
+        public SpatialContextInfoDialog(IFdoSpatialContext sc) 
+            : this()
+        {
+            txtCSName.Text = sc.CoordinateSystemName;
+            txtCSWkt.Text = sc.CoordinateSystemWkt;
+            txtDescription.Text = sc.Description;
+            txtExtentType.Text = sc.ExtentType.ToString();
+            if (sc.ExtentType == FdoSpatialContextListSpatialContextExtentType.Static)
+            {
+                var bounds = sc.Extent;
+                txtMaxX.Text = bounds.MaxX.ToString(CultureInfo.InvariantCulture);
+                txtMaxY.Text = bounds.MaxY.ToString(CultureInfo.InvariantCulture);
+                txtMinX.Text = bounds.MinX.ToString(CultureInfo.InvariantCulture);
+                txtMinY.Text = bounds.MinY.ToString(CultureInfo.InvariantCulture);
+            }
+            txtName.Text = sc.Name;
+            txtXYTolerance.Text = sc.XYTolerance.ToString(CultureInfo.InvariantCulture);
+            txtZTolerance.Text = sc.ZTolerance.ToString(CultureInfo.InvariantCulture);
+        }
+
+        private void btnClose_Click(object sender, EventArgs e)
+        {
+            this.Close();
+        }
+    }
+}

Added: trunk/Tools/Maestro/Maestro.Editors/FeatureSource/SpatialContextInfoDialog.resx
===================================================================
--- trunk/Tools/Maestro/Maestro.Editors/FeatureSource/SpatialContextInfoDialog.resx	                        (rev 0)
+++ trunk/Tools/Maestro/Maestro.Editors/FeatureSource/SpatialContextInfoDialog.resx	2014-03-20 09:44:15 UTC (rev 7990)
@@ -0,0 +1,642 @@
+<?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=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </resheader>
+  <resheader name="writer">
+    <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </resheader>
+  <assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
+  <data name="btnClose.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
+    <value>Bottom, Right</value>
+  </data>
+  <assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
+  <data name="btnClose.Location" type="System.Drawing.Point, System.Drawing">
+    <value>271, 309</value>
+  </data>
+  <data name="btnClose.Size" type="System.Drawing.Size, System.Drawing">
+    <value>75, 23</value>
+  </data>
+  <assembly alias="mscorlib" name="mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
+  <data name="btnClose.TabIndex" type="System.Int32, mscorlib">
+    <value>0</value>
+  </data>
+  <data name="btnClose.Text" xml:space="preserve">
+    <value>Close</value>
+  </data>
+  <data name=">>btnClose.Name" xml:space="preserve">
+    <value>btnClose</value>
+  </data>
+  <data name=">>btnClose.Type" xml:space="preserve">
+    <value>System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </data>
+  <data name=">>btnClose.Parent" xml:space="preserve">
+    <value>$this</value>
+  </data>
+  <data name=">>btnClose.ZOrder" xml:space="preserve">
+    <value>19</value>
+  </data>
+  <data name="label1.AutoSize" type="System.Boolean, mscorlib">
+    <value>True</value>
+  </data>
+  <data name="label1.Location" type="System.Drawing.Point, System.Drawing">
+    <value>13, 13</value>
+  </data>
+  <data name="label1.Size" type="System.Drawing.Size, System.Drawing">
+    <value>35, 13</value>
+  </data>
+  <data name="label1.TabIndex" type="System.Int32, mscorlib">
+    <value>1</value>
+  </data>
+  <data name="label1.Text" xml:space="preserve">
+    <value>Name</value>
+  </data>
+  <data name=">>label1.Name" xml:space="preserve">
+    <value>label1</value>
+  </data>
+  <data name=">>label1.Type" xml:space="preserve">
+    <value>System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </data>
+  <data name=">>label1.Parent" xml:space="preserve">
+    <value>$this</value>
+  </data>
+  <data name=">>label1.ZOrder" xml:space="preserve">
+    <value>18</value>
+  </data>
+  <data name="label2.AutoSize" type="System.Boolean, mscorlib">
+    <value>True</value>
+  </data>
+  <data name="label2.ImeMode" type="System.Windows.Forms.ImeMode, System.Windows.Forms">
+    <value>NoControl</value>
+  </data>
+  <data name="label2.Location" type="System.Drawing.Point, System.Drawing">
+    <value>13, 73</value>
+  </data>
+  <data name="label2.Size" type="System.Drawing.Size, System.Drawing">
+    <value>64, 13</value>
+  </data>
+  <data name="label2.TabIndex" type="System.Int32, mscorlib">
+    <value>2</value>
+  </data>
+  <data name="label2.Text" xml:space="preserve">
+    <value>Extent Type</value>
+  </data>
+  <data name=">>label2.Name" xml:space="preserve">
+    <value>label2</value>
+  </data>
+  <data name=">>label2.Type" xml:space="preserve">
+    <value>System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </data>
+  <data name=">>label2.Parent" xml:space="preserve">
+    <value>$this</value>
+  </data>
+  <data name=">>label2.ZOrder" xml:space="preserve">
+    <value>17</value>
+  </data>
+  <data name="label3.AutoSize" type="System.Boolean, mscorlib">
+    <value>True</value>
+  </data>
+  <data name="label3.ImeMode" type="System.Windows.Forms.ImeMode, System.Windows.Forms">
+    <value>NoControl</value>
+  </data>
+  <data name="label3.Location" type="System.Drawing.Point, System.Drawing">
+    <value>13, 95</value>
+  </data>
+  <data name="label3.Size" type="System.Drawing.Size, System.Drawing">
+    <value>37, 13</value>
+  </data>
+  <data name="label3.TabIndex" type="System.Int32, mscorlib">
+    <value>3</value>
+  </data>
+  <data name="label3.Text" xml:space="preserve">
+    <value>Extent</value>
+  </data>
+  <data name=">>label3.Name" xml:space="preserve">
+    <value>label3</value>
+  </data>
+  <data name=">>label3.Type" xml:space="preserve">
+    <value>System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </data>
+  <data name=">>label3.Parent" xml:space="preserve">
+    <value>$this</value>
+  </data>
+  <data name=">>label3.ZOrder" xml:space="preserve">
+    <value>16</value>
+  </data>
+  <data name="label4.AutoSize" type="System.Boolean, mscorlib">
+    <value>True</value>
+  </data>
+  <data name="label4.ImeMode" type="System.Windows.Forms.ImeMode, System.Windows.Forms">
+    <value>NoControl</value>
+  </data>
+  <data name="label4.Location" type="System.Drawing.Point, System.Drawing">
+    <value>13, 167</value>
+  </data>
+  <data name="label4.Size" type="System.Drawing.Size, System.Drawing">
+    <value>126, 13</value>
+  </data>
+  <data name="label4.TabIndex" type="System.Int32, mscorlib">
+    <value>4</value>
+  </data>
+  <data name="label4.Text" xml:space="preserve">
+    <value>Coordinate System Name</value>
+  </data>
+  <data name=">>label4.Name" xml:space="preserve">
+    <value>label4</value>
+  </data>
+  <data name=">>label4.Type" xml:space="preserve">
+    <value>System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </data>
+  <data name=">>label4.Parent" xml:space="preserve">
+    <value>$this</value>
+  </data>
+  <data name=">>label4.ZOrder" xml:space="preserve">
+    <value>15</value>
+  </data>
+  <data name="label5.AutoSize" type="System.Boolean, mscorlib">
+    <value>True</value>
+  </data>
+  <data name="label5.ImeMode" type="System.Windows.Forms.ImeMode, System.Windows.Forms">
+    <value>NoControl</value>
+  </data>
+  <data name="label5.Location" type="System.Drawing.Point, System.Drawing">
+    <value>13, 191</value>
+  </data>
+  <data name="label5.Size" type="System.Drawing.Size, System.Drawing">
+    <value>123, 13</value>
+  </data>
+  <data name="label5.TabIndex" type="System.Int32, mscorlib">
+    <value>5</value>
+  </data>
+  <data name="label5.Text" xml:space="preserve">
+    <value>Coordinate System WKT</value>
+  </data>
+  <data name=">>label5.Name" xml:space="preserve">
+    <value>label5</value>
+  </data>
+  <data name=">>label5.Type" xml:space="preserve">
+    <value>System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </data>
+  <data name=">>label5.Parent" xml:space="preserve">
+    <value>$this</value>
+  </data>
+  <data name=">>label5.ZOrder" xml:space="preserve">
+    <value>14</value>
+  </data>
+  <data name="label6.AutoSize" type="System.Boolean, mscorlib">
+    <value>True</value>
+  </data>
+  <data name="label6.ImeMode" type="System.Windows.Forms.ImeMode, System.Windows.Forms">
+    <value>NoControl</value>
+  </data>
+  <data name="label6.Location" type="System.Drawing.Point, System.Drawing">
+    <value>16, 260</value>
+  </data>
+  <data name="label6.Size" type="System.Drawing.Size, System.Drawing">
+    <value>77, 13</value>
+  </data>
+  <data name="label6.TabIndex" type="System.Int32, mscorlib">
+    <value>6</value>
+  </data>
+  <data name="label6.Text" xml:space="preserve">
+    <value>X/Y Tolerance</value>
+  </data>
+  <data name=">>label6.Name" xml:space="preserve">
+    <value>label6</value>
+  </data>
+  <data name=">>label6.Type" xml:space="preserve">
+    <value>System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </data>
+  <data name=">>label6.Parent" xml:space="preserve">
+    <value>$this</value>
+  </data>
+  <data name=">>label6.ZOrder" xml:space="preserve">
+    <value>13</value>
+  </data>
+  <data name="label7.AutoSize" type="System.Boolean, mscorlib">
+    <value>True</value>
+  </data>
+  <data name="label7.ImeMode" type="System.Windows.Forms.ImeMode, System.Windows.Forms">
+    <value>NoControl</value>
+  </data>
+  <data name="label7.Location" type="System.Drawing.Point, System.Drawing">
+    <value>16, 286</value>
+  </data>
+  <data name="label7.Size" type="System.Drawing.Size, System.Drawing">
+    <value>65, 13</value>
+  </data>
+  <data name="label7.TabIndex" type="System.Int32, mscorlib">
+    <value>7</value>
+  </data>
+  <data name="label7.Text" xml:space="preserve">
+    <value>Z Tolerance</value>
+  </data>
+  <data name=">>label7.Name" xml:space="preserve">
+    <value>label7</value>
+  </data>
+  <data name=">>label7.Type" xml:space="preserve">
+    <value>System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </data>
+  <data name=">>label7.Parent" xml:space="preserve">
+    <value>$this</value>
+  </data>
+  <data name=">>label7.ZOrder" xml:space="preserve">
+    <value>12</value>
+  </data>
+  <data name="txtName.Location" type="System.Drawing.Point, System.Drawing">
+    <value>102, 13</value>
+  </data>
+  <data name="txtName.Size" type="System.Drawing.Size, System.Drawing">
+    <value>244, 20</value>
+  </data>
+  <data name="txtName.TabIndex" type="System.Int32, mscorlib">
+    <value>8</value>
+  </data>
+  <data name=">>txtName.Name" xml:space="preserve">
+    <value>txtName</value>
+  </data>
+  <data name=">>txtName.Type" xml:space="preserve">
+    <value>System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </data>
+  <data name=">>txtName.Parent" xml:space="preserve">
+    <value>$this</value>
+  </data>
+  <data name=">>txtName.ZOrder" xml:space="preserve">
+    <value>11</value>
+  </data>
+  <data name="txtExtentType.Location" type="System.Drawing.Point, System.Drawing">
+    <value>102, 70</value>
+  </data>
+  <data name="txtExtentType.Size" type="System.Drawing.Size, System.Drawing">
+    <value>244, 20</value>
+  </data>
+  <data name="txtExtentType.TabIndex" type="System.Int32, mscorlib">
+    <value>9</value>
+  </data>
+  <data name=">>txtExtentType.Name" xml:space="preserve">
+    <value>txtExtentType</value>
+  </data>
+  <data name=">>txtExtentType.Type" xml:space="preserve">
+    <value>System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </data>
+  <data name=">>txtExtentType.Parent" xml:space="preserve">
+    <value>$this</value>
+  </data>
+  <data name=">>txtExtentType.ZOrder" xml:space="preserve">
+    <value>10</value>
+  </data>
+  <data name="txtMinX.Location" type="System.Drawing.Point, System.Drawing">
+    <value>16, 111</value>
+  </data>
+  <data name="txtMinX.Size" type="System.Drawing.Size, System.Drawing">
+    <value>155, 20</value>
+  </data>
+  <data name="txtMinX.TabIndex" type="System.Int32, mscorlib">
+    <value>10</value>
+  </data>
+  <data name=">>txtMinX.Name" xml:space="preserve">
+    <value>txtMinX</value>
+  </data>
+  <data name=">>txtMinX.Type" xml:space="preserve">
+    <value>System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </data>
+  <data name=">>txtMinX.Parent" xml:space="preserve">
+    <value>$this</value>
+  </data>
+  <data name=">>txtMinX.ZOrder" xml:space="preserve">
+    <value>9</value>
+  </data>
+  <data name="txtMinY.Location" type="System.Drawing.Point, System.Drawing">
+    <value>177, 111</value>
+  </data>
+  <data name="txtMinY.Size" type="System.Drawing.Size, System.Drawing">
+    <value>169, 20</value>
+  </data>
+  <data name="txtMinY.TabIndex" type="System.Int32, mscorlib">
+    <value>11</value>
+  </data>
+  <data name=">>txtMinY.Name" xml:space="preserve">
+    <value>txtMinY</value>
+  </data>
+  <data name=">>txtMinY.Type" xml:space="preserve">
+    <value>System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </data>
+  <data name=">>txtMinY.Parent" xml:space="preserve">
+    <value>$this</value>
+  </data>
+  <data name=">>txtMinY.ZOrder" xml:space="preserve">
+    <value>8</value>
+  </data>
+  <data name="txtMaxY.Location" type="System.Drawing.Point, System.Drawing">
+    <value>177, 137</value>
+  </data>
+  <data name="txtMaxY.Size" type="System.Drawing.Size, System.Drawing">
+    <value>169, 20</value>
+  </data>
+  <data name="txtMaxY.TabIndex" type="System.Int32, mscorlib">
+    <value>13</value>
+  </data>
+  <data name=">>txtMaxY.Name" xml:space="preserve">
+    <value>txtMaxY</value>
+  </data>
+  <data name=">>txtMaxY.Type" xml:space="preserve">
+    <value>System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </data>
+  <data name=">>txtMaxY.Parent" xml:space="preserve">
+    <value>$this</value>
+  </data>
+  <data name=">>txtMaxY.ZOrder" xml:space="preserve">
+    <value>6</value>
+  </data>
+  <data name="txtMaxX.Location" type="System.Drawing.Point, System.Drawing">
+    <value>16, 137</value>
+  </data>
+  <data name="txtMaxX.Size" type="System.Drawing.Size, System.Drawing">
+    <value>155, 20</value>
+  </data>
+  <data name="txtMaxX.TabIndex" type="System.Int32, mscorlib">
+    <value>12</value>
+  </data>
+  <data name=">>txtMaxX.Name" xml:space="preserve">
+    <value>txtMaxX</value>
+  </data>
+  <data name=">>txtMaxX.Type" xml:space="preserve">
+    <value>System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </data>
+  <data name=">>txtMaxX.Parent" xml:space="preserve">
+    <value>$this</value>
+  </data>
+  <data name=">>txtMaxX.ZOrder" xml:space="preserve">
+    <value>7</value>
+  </data>
+  <data name="txtCSName.Location" type="System.Drawing.Point, System.Drawing">
+    <value>145, 164</value>
+  </data>
+  <data name="txtCSName.Size" type="System.Drawing.Size, System.Drawing">
+    <value>201, 20</value>
+  </data>
+  <data name="txtCSName.TabIndex" type="System.Int32, mscorlib">
+    <value>14</value>
+  </data>
+  <data name=">>txtCSName.Name" xml:space="preserve">
+    <value>txtCSName</value>
+  </data>
+  <data name=">>txtCSName.Type" xml:space="preserve">
+    <value>System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </data>
+  <data name=">>txtCSName.Parent" xml:space="preserve">
+    <value>$this</value>
+  </data>
+  <data name=">>txtCSName.ZOrder" xml:space="preserve">
+    <value>5</value>
+  </data>
+  <data name="txtCSWkt.Location" type="System.Drawing.Point, System.Drawing">
+    <value>16, 207</value>
+  </data>
+  <data name="txtCSWkt.Multiline" type="System.Boolean, mscorlib">
+    <value>True</value>
+  </data>
+  <data name="txtCSWkt.Size" type="System.Drawing.Size, System.Drawing">
+    <value>330, 44</value>
+  </data>
+  <data name="txtCSWkt.TabIndex" type="System.Int32, mscorlib">
+    <value>15</value>
+  </data>
+  <data name=">>txtCSWkt.Name" xml:space="preserve">
+    <value>txtCSWkt</value>
+  </data>
+  <data name=">>txtCSWkt.Type" xml:space="preserve">
+    <value>System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </data>
+  <data name=">>txtCSWkt.Parent" xml:space="preserve">
+    <value>$this</value>
+  </data>
+  <data name=">>txtCSWkt.ZOrder" xml:space="preserve">
+    <value>4</value>
+  </data>
+  <data name="txtXYTolerance.Location" type="System.Drawing.Point, System.Drawing">
+    <value>102, 257</value>
+  </data>
+  <data name="txtXYTolerance.Size" type="System.Drawing.Size, System.Drawing">
+    <value>244, 20</value>
+  </data>
+  <data name="txtXYTolerance.TabIndex" type="System.Int32, mscorlib">
+    <value>16</value>
+  </data>
+  <data name=">>txtXYTolerance.Name" xml:space="preserve">
+    <value>txtXYTolerance</value>
+  </data>
+  <data name=">>txtXYTolerance.Type" xml:space="preserve">
+    <value>System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </data>
+  <data name=">>txtXYTolerance.Parent" xml:space="preserve">
+    <value>$this</value>
+  </data>
+  <data name=">>txtXYTolerance.ZOrder" xml:space="preserve">
+    <value>3</value>
+  </data>
+  <data name="txtZTolerance.Location" type="System.Drawing.Point, System.Drawing">
+    <value>102, 283</value>
+  </data>
+  <data name="txtZTolerance.Size" type="System.Drawing.Size, System.Drawing">
+    <value>244, 20</value>
+  </data>
+  <data name="txtZTolerance.TabIndex" type="System.Int32, mscorlib">
+    <value>17</value>
+  </data>
+  <data name=">>txtZTolerance.Name" xml:space="preserve">
+    <value>txtZTolerance</value>
+  </data>
+  <data name=">>txtZTolerance.Type" xml:space="preserve">
+    <value>System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </data>
+  <data name=">>txtZTolerance.Parent" xml:space="preserve">
+    <value>$this</value>
+  </data>
+  <data name=">>txtZTolerance.ZOrder" xml:space="preserve">
+    <value>2</value>
+  </data>
+  <data name="txtDescription.Location" type="System.Drawing.Point, System.Drawing">
+    <value>102, 39</value>
+  </data>
+  <data name="txtDescription.Size" type="System.Drawing.Size, System.Drawing">
+    <value>244, 20</value>
+  </data>
+  <data name="txtDescription.TabIndex" type="System.Int32, mscorlib">
+    <value>19</value>
+  </data>
+  <data name=">>txtDescription.Name" xml:space="preserve">
+    <value>txtDescription</value>
+  </data>
+  <data name=">>txtDescription.Type" xml:space="preserve">
+    <value>System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </data>
+  <data name=">>txtDescription.Parent" xml:space="preserve">
+    <value>$this</value>
+  </data>
+  <data name=">>txtDescription.ZOrder" xml:space="preserve">
+    <value>0</value>
+  </data>
+  <data name="label8.AutoSize" type="System.Boolean, mscorlib">
+    <value>True</value>
+  </data>
+  <data name="label8.ImeMode" type="System.Windows.Forms.ImeMode, System.Windows.Forms">
+    <value>NoControl</value>
+  </data>
+  <data name="label8.Location" type="System.Drawing.Point, System.Drawing">
+    <value>13, 39</value>
+  </data>
+  <data name="label8.Size" type="System.Drawing.Size, System.Drawing">
+    <value>60, 13</value>
+  </data>
+  <data name="label8.TabIndex" type="System.Int32, mscorlib">
+    <value>18</value>
+  </data>
+  <data name="label8.Text" xml:space="preserve">
+    <value>Description</value>
+  </data>
+  <data name=">>label8.Name" xml:space="preserve">
+    <value>label8</value>
+  </data>
+  <data name=">>label8.Type" xml:space="preserve">
+    <value>System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </data>
+  <data name=">>label8.Parent" xml:space="preserve">
+    <value>$this</value>
+  </data>
+  <data name=">>label8.ZOrder" xml:space="preserve">
+    <value>1</value>
+  </data>
+  <metadata name="$this.Localizable" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>True</value>
+  </metadata>
+  <data name="$this.AutoScaleDimensions" type="System.Drawing.SizeF, System.Drawing">
+    <value>6, 13</value>
+  </data>
+  <data name="$this.ClientSize" type="System.Drawing.Size, System.Drawing">
+    <value>358, 344</value>
+  </data>
+  <data name="$this.StartPosition" type="System.Windows.Forms.FormStartPosition, System.Windows.Forms">
+    <value>CenterParent</value>
+  </data>
+  <data name="$this.Text" xml:space="preserve">
+    <value>Spatial Context Information</value>
+  </data>
+  <data name=">>$this.Name" xml:space="preserve">
+    <value>SpatialContextInfoDialog</value>
+  </data>
+  <data name=">>$this.Type" xml:space="preserve">
+    <value>System.Windows.Forms.Form, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </data>
+</root>
\ No newline at end of file

Modified: trunk/Tools/Maestro/Maestro.Editors/Maestro.Editors.csproj
===================================================================
--- trunk/Tools/Maestro/Maestro.Editors/Maestro.Editors.csproj	2014-03-20 08:33:03 UTC (rev 7989)
+++ trunk/Tools/Maestro/Maestro.Editors/Maestro.Editors.csproj	2014-03-20 09:44:15 UTC (rev 7990)
@@ -462,6 +462,12 @@
     <Compile Include="FeatureSource\Providers\Wms\WmsProviderCtrl.Designer.cs">
       <DependentUpon>WmsProviderCtrl.cs</DependentUpon>
     </Compile>
+    <Compile Include="FeatureSource\SpatialContextInfoDialog.cs">
+      <SubType>Form</SubType>
+    </Compile>
+    <Compile Include="FeatureSource\SpatialContextInfoDialog.Designer.cs">
+      <DependentUpon>SpatialContextInfoDialog.cs</DependentUpon>
+    </Compile>
     <Compile Include="FeatureSource\SpatialContextsDialog.cs">
       <SubType>Form</SubType>
     </Compile>
@@ -1448,6 +1454,9 @@
     <EmbeddedResource Include="FeatureSource\Providers\Wms\WmsProviderCtrl.resx">
       <DependentUpon>WmsProviderCtrl.cs</DependentUpon>
     </EmbeddedResource>
+    <EmbeddedResource Include="FeatureSource\SpatialContextInfoDialog.resx">
+      <DependentUpon>SpatialContextInfoDialog.cs</DependentUpon>
+    </EmbeddedResource>
     <EmbeddedResource Include="FeatureSource\SpatialContextsDialog.resx">
       <DependentUpon>SpatialContextsDialog.cs</DependentUpon>
     </EmbeddedResource>



More information about the mapguide-commits mailing list