[mapguide-commits] r5853 - trunk/Tools/Maestro/OSGeo.MapGuide.MaestroAPI/ObjectModels

svn_mapguide at osgeo.org svn_mapguide at osgeo.org
Tue May 24 14:37:12 EDT 2011


Author: jng
Date: 2011-05-24 11:37:12 -0700 (Tue, 24 May 2011)
New Revision: 5853

Modified:
   trunk/Tools/Maestro/OSGeo.MapGuide.MaestroAPI/ObjectModels/LayerInterfaces.cs
   trunk/Tools/Maestro/OSGeo.MapGuide.MaestroAPI/ObjectModels/VectorLayerDefinitionImpl.cs
Log:
Update ILineVectorStyle to allow fetching ILineRule instances by index


Modified: trunk/Tools/Maestro/OSGeo.MapGuide.MaestroAPI/ObjectModels/LayerInterfaces.cs
===================================================================
--- trunk/Tools/Maestro/OSGeo.MapGuide.MaestroAPI/ObjectModels/LayerInterfaces.cs	2011-05-24 18:36:17 UTC (rev 5852)
+++ trunk/Tools/Maestro/OSGeo.MapGuide.MaestroAPI/ObjectModels/LayerInterfaces.cs	2011-05-24 18:37:12 UTC (rev 5853)
@@ -723,6 +723,13 @@
         /// Removes all current rules
         /// </summary>
         void RemoveAllRules();
+
+        /// <summary>
+        /// Gets the line rule at the specified index
+        /// </summary>
+        /// <param name="index"></param>
+        /// <returns></returns>
+        ILineRule GetRuleAt(int index);
     }
 
     /// <summary>

Modified: trunk/Tools/Maestro/OSGeo.MapGuide.MaestroAPI/ObjectModels/VectorLayerDefinitionImpl.cs
===================================================================
--- trunk/Tools/Maestro/OSGeo.MapGuide.MaestroAPI/ObjectModels/VectorLayerDefinitionImpl.cs	2011-05-24 18:36:17 UTC (rev 5852)
+++ trunk/Tools/Maestro/OSGeo.MapGuide.MaestroAPI/ObjectModels/VectorLayerDefinitionImpl.cs	2011-05-24 18:37:12 UTC (rev 5853)
@@ -724,6 +724,11 @@
             }
         }
 
+        public ILineRule GetRuleAt(int index)
+        {
+            return this.LineRule[index];
+        }
+
         public void RemoveAllRules()
         {
             this.LineRule.Clear();



More information about the mapguide-commits mailing list