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

svn_mapguide at osgeo.org svn_mapguide at osgeo.org
Tue May 22 12:52:13 EDT 2012


Author: jng
Date: 2012-05-22 09:52:13 -0700 (Tue, 22 May 2012)
New Revision: 6684

Modified:
   trunk/Tools/Maestro/OSGeo.MapGuide.MaestroAPI/Enums.cs
Log:
#2007: Include watermarks (and any other resource type we've missed) in the Create Package dialog

Modified: trunk/Tools/Maestro/OSGeo.MapGuide.MaestroAPI/Enums.cs
===================================================================
--- trunk/Tools/Maestro/OSGeo.MapGuide.MaestroAPI/Enums.cs	2012-05-22 16:41:16 UTC (rev 6683)
+++ trunk/Tools/Maestro/OSGeo.MapGuide.MaestroAPI/Enums.cs	2012-05-22 16:52:13 UTC (rev 6684)
@@ -114,19 +114,7 @@
 
         static SiteResourceType()
         {
-            _resTypes = new ResourceTypes[]
-            {
-                ResourceTypes.ApplicationDefinition,
-                ResourceTypes.DrawingSource,
-                ResourceTypes.FeatureSource,
-                ResourceTypes.LayerDefinition,
-                ResourceTypes.LoadProcedure,
-                ResourceTypes.MapDefinition,
-                ResourceTypes.PrintLayout,
-                ResourceTypes.SymbolDefinition,
-                ResourceTypes.SymbolLibrary,
-                ResourceTypes.WebLayout
-            };
+            _resTypes = (ResourceTypes[])Enum.GetValues(typeof(ResourceTypes));
         }
 
         /// <summary>



More information about the mapguide-commits mailing list