[mapguide-commits] r5356 - sandbox/maestro-3.0/Maestro.Base/Templates

svn_mapguide at osgeo.org svn_mapguide at osgeo.org
Thu Oct 28 08:45:36 EDT 2010


Author: jng
Date: 2010-10-28 05:45:36 -0700 (Thu, 28 Oct 2010)
New Revision: 5356

Modified:
   sandbox/maestro-3.0/Maestro.Base/Templates/ApplicationDefinitionItemTemplate.cs
Log:
3.0 sandbox changes:
 - Add version check for the Flexible Layout item template

Modified: sandbox/maestro-3.0/Maestro.Base/Templates/ApplicationDefinitionItemTemplate.cs
===================================================================
--- sandbox/maestro-3.0/Maestro.Base/Templates/ApplicationDefinitionItemTemplate.cs	2010-10-28 12:21:41 UTC (rev 5355)
+++ sandbox/maestro-3.0/Maestro.Base/Templates/ApplicationDefinitionItemTemplate.cs	2010-10-28 12:45:36 UTC (rev 5356)
@@ -25,7 +25,6 @@
 using Res = Maestro.Base.Properties.Resources;
 using OSGeo.MapGuide.ObjectModels;
 using OSGeo.MapGuide.MaestroAPI.Resource;
-using OSGeo.MapGuide.ObjectModels;
 
 namespace Maestro.Base.Templates
 {
@@ -40,6 +39,14 @@
             ResourceType = ResourceTypes.ApplicationDefinition.ToString();
         }
 
+        public override Version MinimumSiteVersion
+        {
+            get
+            {
+                return new Version(2, 0);
+            }
+        }
+
         public override IResource CreateItem(IServerConnection conn)
         {
             return ObjectFactory.CreateFlexibleLayout(conn);



More information about the mapguide-commits mailing list