[mapguide-commits] r4864 - trunk/Tools/Maestro/MaestroAPI/RuntimeClasses

svn_mapguide at osgeo.org svn_mapguide at osgeo.org
Wed May 12 20:53:52 EDT 2010


Author: jng
Date: 2010-05-12 20:53:52 -0400 (Wed, 12 May 2010)
New Revision: 4864

Modified:
   trunk/Tools/Maestro/MaestroAPI/RuntimeClasses/RuntimeMap.cs
Log:
Apply patch for #1357

Modified: trunk/Tools/Maestro/MaestroAPI/RuntimeClasses/RuntimeMap.cs
===================================================================
--- trunk/Tools/Maestro/MaestroAPI/RuntimeClasses/RuntimeMap.cs	2010-05-13 00:46:10 UTC (rev 4863)
+++ trunk/Tools/Maestro/MaestroAPI/RuntimeClasses/RuntimeMap.cs	2010-05-13 00:53:52 UTC (rev 4864)
@@ -684,6 +684,9 @@
 		protected bool m_hasTooltips = false;
 		protected string m_schemaName = "";
 
+        //V2.2 Runtime extensions
+        protected string m_filter;
+
 		public new RuntimeMap Parent { get { return m_parent; } }
 		internal void SetParent(RuntimeMap parent) { m_parent = parent; }
 		protected new RuntimeMap m_parent = null;
@@ -911,6 +914,8 @@
 
 				m_featureSourceId = d.ReadInternalString();
 				m_featureName = d.ReadInternalString();
+                if (d.SiteVersion > SiteVersions.GetVersion(KnownSiteVersions.MapGuideOS2_1))
+				    m_filter = d.ReadInternalString();
 				m_schemaName = d.ReadInternalString();
 				m_geometry = d.ReadInternalString();
 
@@ -993,6 +998,8 @@
 
 				s.WriteStringInternal(m_featureSourceId);
 				s.WriteStringInternal(m_featureName);
+                if (s.SiteVersion > SiteVersions.GetVersion(KnownSiteVersions.MapGuideOS2_1))
+				    s.WriteStringInternal(m_filter);
 				s.WriteStringInternal(m_schemaName);
 				s.WriteStringInternal(m_geometry);
 
@@ -1029,6 +1036,12 @@
 			set { m_featureName = value; }
 		}
 
+        public string Filter
+        {
+            get { return m_filter; }
+            set { m_filter = value; }
+        }
+
 		public string Geometry
 		{
 			get { return m_geometry; }



More information about the mapguide-commits mailing list