[mapguide-commits] r5936 - in trunk/Tools/Maestro: ExtendedModels/WatermarkDefinition-2.3.0 OSGeo.MapGuide.MaestroAPI/ObjectModels SDK

svn_mapguide at osgeo.org svn_mapguide at osgeo.org
Mon Jun 20 08:41:46 EDT 2011


Author: jng
Date: 2011-06-20 05:41:46 -0700 (Mon, 20 Jun 2011)
New Revision: 5936

Removed:
   trunk/Tools/Maestro/OSGeo.MapGuide.MaestroAPI/ObjectModels/WatermarkImpl.cs
Modified:
   trunk/Tools/Maestro/ExtendedModels/WatermarkDefinition-2.3.0/
   trunk/Tools/Maestro/SDK/SDK.sln
Log:
Sync up SDK.sln


Property changes on: trunk/Tools/Maestro/ExtendedModels/WatermarkDefinition-2.3.0
___________________________________________________________________
Added: svn:ignore
   + obj


Deleted: trunk/Tools/Maestro/OSGeo.MapGuide.MaestroAPI/ObjectModels/WatermarkImpl.cs
===================================================================
--- trunk/Tools/Maestro/OSGeo.MapGuide.MaestroAPI/ObjectModels/WatermarkImpl.cs	2011-06-20 05:06:01 UTC (rev 5935)
+++ trunk/Tools/Maestro/OSGeo.MapGuide.MaestroAPI/ObjectModels/WatermarkImpl.cs	2011-06-20 12:41:46 UTC (rev 5936)
@@ -1,260 +0,0 @@
-#region Disclaimer / License
-// Copyright (C) 2011, 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 System;
-using System.Collections.Generic;
-using System.Text;
-using OSGeo.MapGuide.ObjectModels.WatermarkDefinition;
-using System.Xml.Serialization;
-using OSGeo.MapGuide.MaestroAPI;
-using OSGeo.MapGuide.MaestroAPI.Resource;
-
-namespace OSGeo.MapGuide.ObjectModels.WatermarkDefinition_2_3_0
-{
-    partial class WatermarkDefinition : IWatermarkDefinition
-    {
-        private static readonly Version RES_VERSION = new Version(2, 3, 0);
-
-        [XmlIgnore]
-        public ResourceTypes ResourceType
-        {
-            get
-            {
-                return ResourceTypes.WatermarkDefinition;
-            }
-        }
-
-        [XmlIgnore]
-        public Version ResourceVersion
-        {
-            get
-            {
-                return RES_VERSION;
-            }
-        }
-
-        [XmlAttribute("noNamespaceSchemaLocation", Namespace = "http://www.w3.org/2001/XMLSchema-instance")]
-        public string ValidatingSchema
-        {
-            get { return "WatermarkDefinition-2.3.0.xsd"; }
-            set { }
-        }
-
-        [XmlIgnore]
-        public bool IsStronglyTyped
-        {
-            get { return true; }
-        }
-
-        [XmlIgnore]
-        object IWatermarkDefinition.Content
-        {
-            get
-            {
-                throw new NotImplementedException();
-            }
-            set
-            {
-                throw new NotImplementedException();
-            }
-        }
-
-        [XmlIgnore]
-        IWatermarkAppearance IWatermarkDefinition.Appearance
-        {
-            get
-            {
-                return this.Appearance;
-            }
-            set
-            {
-                this.Appearance = (WatermarkAppearanceType)value;
-            }
-        }
-
-        [XmlIgnore]
-        IPosition IWatermarkDefinition.Position
-        {
-            get
-            {
-                if (this.Position != null)
-                    return this.Position.Item;
-                return null;
-            }
-            set
-            {
-                if (value != null)
-                {
-                    if (this.Position == null)
-                        this.Position = new WatermarkDefinitionTypePosition();
-
-                    this.Position.Item = (PositionType)value;
-                }
-            }
-        }
-
-        [XmlIgnore]
-        OSGeo.MapGuide.MaestroAPI.IServerConnection OSGeo.MapGuide.MaestroAPI.Resource.IResource.CurrentConnection
-        {
-            get;
-            set;
-        }
-
-        private string _resId;
-
-        [XmlIgnore]
-        public string ResourceID
-        {
-            get
-            {
-                return _resId;
-            }
-            set
-            {
-                if (!ResourceIdentifier.Validate(value))
-                    throw new InvalidOperationException("Not a valid resource identifier"); //LOCALIZE
-
-                var res = new ResourceIdentifier(value);
-                if (res.Extension != ResourceTypes.WatermarkDefinition.ToString())
-                    throw new InvalidOperationException("Invalid resource identifier for this type of object: " + res.Extension); //LOCALIZE
-
-                _resId = value;
-                this.OnPropertyChanged("ResourceID");
-            }
-        }
-
-        object ICloneable.Clone()
-        {
-            return this.Clone();
-        }
-    }
-
-    partial class WatermarkType : IWatermark
-    {
-        [XmlIgnore]
-        IWatermarkAppearance IWatermark.AppearanceOverride
-        {
-            get
-            {
-                return this.AppearanceOverride;
-            }
-            set
-            {
-                this.AppearanceOverride = (WatermarkAppearanceType)value;
-            }
-        }
-
-        [XmlIgnore]
-        IPosition IWatermark.PositionOverride
-        {
-            get
-            {
-                return this.PositionOverride.Item;
-            }
-            set
-            {
-                this.PositionOverride.Item = (PositionType)value;
-            }
-        }
-    }
-
-    partial class WatermarkAppearanceType : IWatermarkAppearance { }
-
-    partial class WatermarkTypePositionOverride { }
-
-    partial class XYPositionType : IXYPosition 
-    {
-        [XmlIgnore]
-        public override OSGeo.MapGuide.ObjectModels.WatermarkDefinition.PositionType Type
-        {
-            get { return OSGeo.MapGuide.ObjectModels.WatermarkDefinition.PositionType.XY; }
-        }
-
-        [XmlIgnore]
-        IHorizontalPosition IXYPosition.XPosition
-        {
-            get
-            {
-                return this.XPosition;
-            }
-            set
-            {
-                this.XPosition = (HorizontalPositionType)value;
-            }
-        }
-
-        [XmlIgnore]
-        IVerticalPosition IXYPosition.YPosition
-        {
-            get
-            {
-                return this.YPosition;
-            }
-            set
-            {
-                this.YPosition = (VerticalPositionType)value;
-            }
-        }
-    }
-
-    abstract partial class PositionType : IPosition
-    {
-        [XmlIgnore]
-        public abstract OSGeo.MapGuide.ObjectModels.WatermarkDefinition.PositionType Type { get; }
-    }
-
-    partial class TilePositionType : ITilePosition
-    {
-        [XmlIgnore]
-        public override OSGeo.MapGuide.ObjectModels.WatermarkDefinition.PositionType Type
-        {
-            get { return OSGeo.MapGuide.ObjectModels.WatermarkDefinition.PositionType.Tile; ; }
-        }
-
-        [XmlIgnore]
-        IHorizontalPosition ITilePosition.HorizontalPosition
-        {
-            get
-            {
-                return this.HorizontalPosition;
-            }
-            set
-            {
-                this.HorizontalPosition = (HorizontalPositionType)value;
-            }
-        }
-
-        [XmlIgnore]
-        IVerticalPosition ITilePosition.VerticalPosition
-        {
-            get
-            {
-                return this.VerticalPosition;
-            }
-            set
-            {
-                this.VerticalPosition = (VerticalPositionType)value;
-            }
-        }
-    }
-
-    partial class VerticalPositionType : IVerticalPosition { }
-
-    partial class HorizontalPositionType : IHorizontalPosition { }
-}

Modified: trunk/Tools/Maestro/SDK/SDK.sln
===================================================================
--- trunk/Tools/Maestro/SDK/SDK.sln	2011-06-20 05:06:01 UTC (rev 5935)
+++ trunk/Tools/Maestro/SDK/SDK.sln	2011-06-20 12:41:46 UTC (rev 5936)
@@ -1,6 +1,6 @@
 
 Microsoft Visual Studio Solution File, Format Version 10.00
-# Visual C# Express 2008
+# Visual Studio 2008
 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "OSGeo.MapGuide.MaestroAPI", "..\OSGeo.MapGuide.MaestroAPI\OSGeo.MapGuide.MaestroAPI.csproj", "{80FA3158-8B5F-48D1-A393-0378AFE48A7E}"
 EndProject
 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "OSGeo.MapGuide.MaestroAPI.Http", "..\OSGeo.MapGuide.MaestroAPI.Http\OSGeo.MapGuide.MaestroAPI.Http.csproj", "{6EF1E775-444B-4E5F-87FB-D687C43A68D7}"
@@ -39,6 +39,8 @@
 EndProject
 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "OSGeo.MapGuide.ObjectModels.MapDefinition-2.3.0", "..\ExtendedModels\MapDefinition-2.3.0\OSGeo.MapGuide.ObjectModels.MapDefinition-2.3.0.csproj", "{C8DB3E77-3AF4-471D-A214-69DBEB32750E}"
 EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "OSGeo.MapGuide.ObjectModels.WatermarkDefinition-2.3.0", "..\ExtendedModels\WatermarkDefinition-2.3.0\OSGeo.MapGuide.ObjectModels.WatermarkDefinition-2.3.0.csproj", "{F84E21EE-360C-46EC-BD01-E66F8D9F5B3E}"
+EndProject
 Global
 	GlobalSection(SolutionConfigurationPlatforms) = preSolution
 		Debug|Any CPU = Debug|Any CPU
@@ -121,6 +123,10 @@
 		{C8DB3E77-3AF4-471D-A214-69DBEB32750E}.Debug|Any CPU.Build.0 = Debug|Any CPU
 		{C8DB3E77-3AF4-471D-A214-69DBEB32750E}.Release|Any CPU.ActiveCfg = Release|Any CPU
 		{C8DB3E77-3AF4-471D-A214-69DBEB32750E}.Release|Any CPU.Build.0 = Release|Any CPU
+		{F84E21EE-360C-46EC-BD01-E66F8D9F5B3E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+		{F84E21EE-360C-46EC-BD01-E66F8D9F5B3E}.Debug|Any CPU.Build.0 = Debug|Any CPU
+		{F84E21EE-360C-46EC-BD01-E66F8D9F5B3E}.Release|Any CPU.ActiveCfg = Release|Any CPU
+		{F84E21EE-360C-46EC-BD01-E66F8D9F5B3E}.Release|Any CPU.Build.0 = Release|Any CPU
 	EndGlobalSection
 	GlobalSection(SolutionProperties) = preSolution
 		HideSolutionNode = FALSE



More information about the mapguide-commits mailing list