[mapguide-commits] r5277 - in sandbox/maestro-3.0: . Maestro
Maestro.Base Maestro.Base/Editor Maestro.Editors
Maestro.Editors/FeatureSource/Preview
Maestro.Editors/Properties MaestroFsPreview
MaestroFsPreview/Properties OSGeo.MapGuide.MaestroAPI/Feature
svn_mapguide at osgeo.org
svn_mapguide at osgeo.org
Tue Oct 12 22:09:06 EDT 2010
Author: jng
Date: 2010-10-12 19:09:06 -0700 (Tue, 12 Oct 2010)
New Revision: 5277
Added:
sandbox/maestro-3.0/Maestro.Base/Editor/FsEditorOptionPanel.Designer.cs
sandbox/maestro-3.0/Maestro.Base/Editor/FsEditorOptionPanel.cs
sandbox/maestro-3.0/Maestro.Base/Editor/FsEditorOptionPanel.resx
sandbox/maestro-3.0/Maestro.Editors/FeatureSource/Preview/IQueryControl.cs
sandbox/maestro-3.0/MaestroFsPreview/
sandbox/maestro-3.0/MaestroFsPreview/MaestroFsPreview.csproj
sandbox/maestro-3.0/MaestroFsPreview/MainForm.Designer.cs
sandbox/maestro-3.0/MaestroFsPreview/MainForm.cs
sandbox/maestro-3.0/MaestroFsPreview/MainForm.resx
sandbox/maestro-3.0/MaestroFsPreview/Program.cs
sandbox/maestro-3.0/MaestroFsPreview/Properties/
sandbox/maestro-3.0/MaestroFsPreview/Properties/AssemblyInfo.cs
sandbox/maestro-3.0/MaestroFsPreview/Properties/Resources.Designer.cs
sandbox/maestro-3.0/MaestroFsPreview/Properties/Resources.resx
sandbox/maestro-3.0/MaestroFsPreview/Properties/Settings.Designer.cs
sandbox/maestro-3.0/MaestroFsPreview/Properties/Settings.settings
sandbox/maestro-3.0/MaestroFsPreview/app.config
Modified:
sandbox/maestro-3.0/Maestro.Base/Editor/FeatureSourceEditor.cs
sandbox/maestro-3.0/Maestro.Base/Editor/ResourceEditorService.cs
sandbox/maestro-3.0/Maestro.Base/Maestro.Base.csproj
sandbox/maestro-3.0/Maestro.Editors/FeatureSource/Preview/LocalFeatureSourcePreviewCtrl.Designer.cs
sandbox/maestro-3.0/Maestro.Editors/FeatureSource/Preview/LocalFeatureSourcePreviewCtrl.cs
sandbox/maestro-3.0/Maestro.Editors/FeatureSource/Preview/LocalFeatureSourcePreviewCtrl.resx
sandbox/maestro-3.0/Maestro.Editors/FeatureSource/Preview/PreviewPane.Designer.cs
sandbox/maestro-3.0/Maestro.Editors/FeatureSource/Preview/PreviewPane.cs
sandbox/maestro-3.0/Maestro.Editors/FeatureSource/Preview/PreviewPane.resx
sandbox/maestro-3.0/Maestro.Editors/FeatureSource/Preview/SqlQueryCtrl.Designer.cs
sandbox/maestro-3.0/Maestro.Editors/FeatureSource/Preview/SqlQueryCtrl.cs
sandbox/maestro-3.0/Maestro.Editors/FeatureSource/Preview/StandardQueryCtrl.cs
sandbox/maestro-3.0/Maestro.Editors/IEditorService.cs
sandbox/maestro-3.0/Maestro.Editors/Maestro.Editors.csproj
sandbox/maestro-3.0/Maestro.Editors/Properties/Resources.Designer.cs
sandbox/maestro-3.0/Maestro.Editors/Properties/Resources.resx
sandbox/maestro-3.0/Maestro/Maestro.sln
sandbox/maestro-3.0/OSGeo.MapGuide.MaestroAPI/Feature/FeatureSourceDescription.cs
Log:
3.0 sandbox changes:
- First phase of revised local feature source preview. This is now an standalone windows application as part of my attempt to apply some of the Unix philosophy (Make tools that do one particular thing very well) to Maestro
Modified: sandbox/maestro-3.0/Maestro/Maestro.sln
===================================================================
--- sandbox/maestro-3.0/Maestro/Maestro.sln 2010-10-13 00:14:32 UTC (rev 5276)
+++ sandbox/maestro-3.0/Maestro/Maestro.sln 2010-10-13 02:09:06 UTC (rev 5277)
@@ -52,6 +52,8 @@
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Maestro.Packaging", "..\Maestro.Packaging\Maestro.Packaging.csproj", "{0EA33E36-9C33-4D60-B378-B87FADAA0F40}"
EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MaestroFsPreview", "..\MaestroFsPreview\MaestroFsPreview.csproj", "{59BE5E18-17B6-431D-836E-C0AABA6D69E8}"
+EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
@@ -154,6 +156,10 @@
{0EA33E36-9C33-4D60-B378-B87FADAA0F40}.Debug|Any CPU.Build.0 = Debug|Any CPU
{0EA33E36-9C33-4D60-B378-B87FADAA0F40}.Release|Any CPU.ActiveCfg = Release|Any CPU
{0EA33E36-9C33-4D60-B378-B87FADAA0F40}.Release|Any CPU.Build.0 = Release|Any CPU
+ {59BE5E18-17B6-431D-836E-C0AABA6D69E8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {59BE5E18-17B6-431D-836E-C0AABA6D69E8}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {59BE5E18-17B6-431D-836E-C0AABA6D69E8}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {59BE5E18-17B6-431D-836E-C0AABA6D69E8}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Modified: sandbox/maestro-3.0/Maestro.Base/Editor/FeatureSourceEditor.cs
===================================================================
--- sandbox/maestro-3.0/Maestro.Base/Editor/FeatureSourceEditor.cs 2010-10-13 00:14:32 UTC (rev 5276)
+++ sandbox/maestro-3.0/Maestro.Base/Editor/FeatureSourceEditor.cs 2010-10-13 02:09:06 UTC (rev 5277)
@@ -44,6 +44,10 @@
{
_edsvc = service;
_res = _edsvc.GetEditedResource();
+ var fsOpts = new FsEditorOptionPanel();
+ fsOpts.Dock = DockStyle.Top;
+ fsOpts.Bind(service);
+ fsEditorCtrl.Controls.Add(fsOpts);
fsEditorCtrl.Bind(service);
}
}
Added: sandbox/maestro-3.0/Maestro.Base/Editor/FsEditorOptionPanel.Designer.cs
===================================================================
--- sandbox/maestro-3.0/Maestro.Base/Editor/FsEditorOptionPanel.Designer.cs (rev 0)
+++ sandbox/maestro-3.0/Maestro.Base/Editor/FsEditorOptionPanel.Designer.cs 2010-10-13 02:09:06 UTC (rev 5277)
@@ -0,0 +1,79 @@
+namespace Maestro.Base.Editor
+{
+ partial class FsEditorOptionPanel
+ {
+ /// <summary>
+ /// Required designer variable.
+ /// </summary>
+ private System.ComponentModel.IContainer components = null;
+
+ /// <summary>
+ /// Clean up any resources being used.
+ /// </summary>
+ /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
+ protected override void Dispose(bool disposing)
+ {
+ if (disposing && (components != null))
+ {
+ components.Dispose();
+ }
+ base.Dispose(disposing);
+ }
+
+ #region Component Designer generated code
+
+ /// <summary>
+ /// Required method for Designer support - do not modify
+ /// the contents of this method with the code editor.
+ /// </summary>
+ private void InitializeComponent()
+ {
+ this.btnLocalPreview = new System.Windows.Forms.Button();
+ this.btnEditConfiguration = new System.Windows.Forms.Button();
+ this.contentPanel.SuspendLayout();
+ this.SuspendLayout();
+ //
+ // contentPanel
+ //
+ this.contentPanel.Controls.Add(this.btnEditConfiguration);
+ this.contentPanel.Controls.Add(this.btnLocalPreview);
+ this.contentPanel.Size = new System.Drawing.Size(449, 59);
+ //
+ // btnLocalPreview
+ //
+ this.btnLocalPreview.Location = new System.Drawing.Point(21, 17);
+ this.btnLocalPreview.Name = "btnLocalPreview";
+ this.btnLocalPreview.Size = new System.Drawing.Size(122, 23);
+ this.btnLocalPreview.TabIndex = 0;
+ this.btnLocalPreview.Text = "Local Preview";
+ this.btnLocalPreview.UseVisualStyleBackColor = true;
+ this.btnLocalPreview.Click += new System.EventHandler(this.btnLocalPreview_Click);
+ //
+ // btnEditConfiguration
+ //
+ this.btnEditConfiguration.Location = new System.Drawing.Point(149, 17);
+ this.btnEditConfiguration.Name = "btnEditConfiguration";
+ this.btnEditConfiguration.Size = new System.Drawing.Size(168, 23);
+ this.btnEditConfiguration.TabIndex = 1;
+ this.btnEditConfiguration.Text = "Edit Configuration Document";
+ this.btnEditConfiguration.UseVisualStyleBackColor = true;
+ this.btnEditConfiguration.Click += new System.EventHandler(this.btnEditConfiguration_Click);
+ //
+ // FsEditorOptionPanel
+ //
+ this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ this.HeaderText = "Other Options";
+ this.Name = "FsEditorOptionPanel";
+ this.Size = new System.Drawing.Size(449, 86);
+ this.contentPanel.ResumeLayout(false);
+ this.ResumeLayout(false);
+
+ }
+
+ #endregion
+
+ private System.Windows.Forms.Button btnEditConfiguration;
+ private System.Windows.Forms.Button btnLocalPreview;
+ }
+}
Added: sandbox/maestro-3.0/Maestro.Base/Editor/FsEditorOptionPanel.cs
===================================================================
--- sandbox/maestro-3.0/Maestro.Base/Editor/FsEditorOptionPanel.cs (rev 0)
+++ sandbox/maestro-3.0/Maestro.Base/Editor/FsEditorOptionPanel.cs 2010-10-13 02:09:06 UTC (rev 5277)
@@ -0,0 +1,80 @@
+#region Disclaimer / License
+// Copyright (C) 2010, 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.ComponentModel;
+using System.Drawing;
+using System.Data;
+using System.Text;
+using System.Windows.Forms;
+using Maestro.Shared.UI;
+using Maestro.Editors.Common;
+using OSGeo.MapGuide.ObjectModels.FeatureSource;
+using OSGeo.MapGuide.ObjectModels.Capabilities;
+using OSGeo.MapGuide.MaestroAPI.Services;
+
+namespace Maestro.Base.Editor
+{
+ public partial class FsEditorOptionPanel : EditorBindableCollapsiblePanel
+ {
+ public FsEditorOptionPanel()
+ {
+ InitializeComponent();
+ }
+
+ private IFeatureSource _fs;
+ private FdoProviderCapabilities _caps;
+ private IFeatureService _fsvc;
+ private IResourceService _rsvc;
+
+ public override void Bind(Maestro.Editors.IEditorService service)
+ {
+ //Only available on MGOS 2.2 and above
+ this.LocalPreviewEnabled = service.SiteVersion >= new Version(2, 2);
+ _fs = (IFeatureSource)service.GetEditedResource();
+ _caps = service.FeatureService.GetProviderCapabilities(_fs.Provider);
+ _fsvc = service.FeatureService;
+ _rsvc = service.ResourceService;
+ this.ConfigEnabled = _caps.Connection.SupportsConfiguration;
+ }
+
+ public bool LocalPreviewEnabled
+ {
+ get { return btnLocalPreview.Enabled; }
+ set { btnLocalPreview.Enabled = value; }
+ }
+
+ public bool ConfigEnabled
+ {
+ get { return btnEditConfiguration.Enabled; }
+ set { btnEditConfiguration.Enabled = value; }
+ }
+
+ private void btnLocalPreview_Click(object sender, EventArgs e)
+ {
+ new MaestroFsPreview.MainForm(_fsvc, _rsvc).ShowDialog();
+ }
+
+ private void btnEditConfiguration_Click(object sender, EventArgs e)
+ {
+
+ }
+ }
+}
Added: sandbox/maestro-3.0/Maestro.Base/Editor/FsEditorOptionPanel.resx
===================================================================
--- sandbox/maestro-3.0/Maestro.Base/Editor/FsEditorOptionPanel.resx (rev 0)
+++ sandbox/maestro-3.0/Maestro.Base/Editor/FsEditorOptionPanel.resx 2010-10-13 02:09:06 UTC (rev 5277)
@@ -0,0 +1,120 @@
+<?xml version="1.0" encoding="utf-8"?>
+<root>
+ <!--
+ Microsoft ResX Schema
+
+ Version 2.0
+
+ The primary goals of this format is to allow a simple XML format
+ that is mostly human readable. The generation and parsing of the
+ various data types are done through the TypeConverter classes
+ associated with the data types.
+
+ Example:
+
+ ... ado.net/XML headers & schema ...
+ <resheader name="resmimetype">text/microsoft-resx</resheader>
+ <resheader name="version">2.0</resheader>
+ <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
+ <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
+ <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
+ <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
+ <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
+ <value>[base64 mime encoded serialized .NET Framework object]</value>
+ </data>
+ <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
+ <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
+ <comment>This is a comment</comment>
+ </data>
+
+ There are any number of "resheader" rows that contain simple
+ name/value pairs.
+
+ Each data row contains a name, and value. The row also contains a
+ type or mimetype. Type corresponds to a .NET class that support
+ text/value conversion through the TypeConverter architecture.
+ Classes that don't support this are serialized and stored with the
+ mimetype set.
+
+ The mimetype is used for serialized objects, and tells the
+ ResXResourceReader how to depersist the object. This is currently not
+ extensible. For a given mimetype the value must be set accordingly:
+
+ Note - application/x-microsoft.net.object.binary.base64 is the format
+ that the ResXResourceWriter will generate, however the reader can
+ read any of the formats listed below.
+
+ mimetype: application/x-microsoft.net.object.binary.base64
+ value : The object must be serialized with
+ : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
+ : and then encoded with base64 encoding.
+
+ mimetype: application/x-microsoft.net.object.soap.base64
+ value : The object must be serialized with
+ : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
+ : and then encoded with base64 encoding.
+
+ mimetype: application/x-microsoft.net.object.bytearray.base64
+ value : The object must be serialized into a byte array
+ : using a System.ComponentModel.TypeConverter
+ : and then encoded with base64 encoding.
+ -->
+ <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
+ <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
+ <xsd:element name="root" msdata:IsDataSet="true">
+ <xsd:complexType>
+ <xsd:choice maxOccurs="unbounded">
+ <xsd:element name="metadata">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element name="value" type="xsd:string" minOccurs="0" />
+ </xsd:sequence>
+ <xsd:attribute name="name" use="required" type="xsd:string" />
+ <xsd:attribute name="type" type="xsd:string" />
+ <xsd:attribute name="mimetype" type="xsd:string" />
+ <xsd:attribute ref="xml:space" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="assembly">
+ <xsd:complexType>
+ <xsd:attribute name="alias" type="xsd:string" />
+ <xsd:attribute name="name" type="xsd:string" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="data">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
+ <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
+ </xsd:sequence>
+ <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
+ <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
+ <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
+ <xsd:attribute ref="xml:space" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="resheader">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
+ </xsd:sequence>
+ <xsd:attribute name="name" type="xsd:string" use="required" />
+ </xsd:complexType>
+ </xsd:element>
+ </xsd:choice>
+ </xsd:complexType>
+ </xsd:element>
+ </xsd:schema>
+ <resheader name="resmimetype">
+ <value>text/microsoft-resx</value>
+ </resheader>
+ <resheader name="version">
+ <value>2.0</value>
+ </resheader>
+ <resheader name="reader">
+ <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+ </resheader>
+ <resheader name="writer">
+ <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+ </resheader>
+</root>
\ No newline at end of file
Modified: sandbox/maestro-3.0/Maestro.Base/Editor/ResourceEditorService.cs
===================================================================
--- sandbox/maestro-3.0/Maestro.Base/Editor/ResourceEditorService.cs 2010-10-13 00:14:32 UTC (rev 5276)
+++ sandbox/maestro-3.0/Maestro.Base/Editor/ResourceEditorService.cs 2010-10-13 02:09:06 UTC (rev 5277)
@@ -298,5 +298,10 @@
{
this.ResourceService.SetResourceXmlData(_editCopy.ResourceID, _editCopy.SerializeToStream());
}
+
+ public Version SiteVersion
+ {
+ get { return _conn.SiteVersion; }
+ }
}
}
Modified: sandbox/maestro-3.0/Maestro.Base/Maestro.Base.csproj
===================================================================
--- sandbox/maestro-3.0/Maestro.Base/Maestro.Base.csproj 2010-10-13 00:14:32 UTC (rev 5276)
+++ sandbox/maestro-3.0/Maestro.Base/Maestro.Base.csproj 2010-10-13 02:09:06 UTC (rev 5277)
@@ -103,6 +103,12 @@
<Compile Include="Editor\FeatureSourceEditor.Designer.cs">
<DependentUpon>FeatureSourceEditor.cs</DependentUpon>
</Compile>
+ <Compile Include="Editor\FsEditorOptionPanel.cs">
+ <SubType>UserControl</SubType>
+ </Compile>
+ <Compile Include="Editor\FsEditorOptionPanel.Designer.cs">
+ <DependentUpon>FsEditorOptionPanel.cs</DependentUpon>
+ </Compile>
<Compile Include="Editor\IEditorFactory.cs" />
<Compile Include="Editor\IEditorViewContent.cs" />
<Compile Include="Editor\LayerDefinitionEditor.cs">
@@ -355,6 +361,9 @@
<EmbeddedResource Include="Editor\FeatureSourceEditor.resx">
<DependentUpon>FeatureSourceEditor.cs</DependentUpon>
</EmbeddedResource>
+ <EmbeddedResource Include="Editor\FsEditorOptionPanel.resx">
+ <DependentUpon>FsEditorOptionPanel.cs</DependentUpon>
+ </EmbeddedResource>
<EmbeddedResource Include="Editor\LayerDefinitionEditor.resx">
<DependentUpon>LayerDefinitionEditor.cs</DependentUpon>
</EmbeddedResource>
@@ -457,6 +466,11 @@
<Project>{CFD19053-2172-41D3-8460-0FD2123A1E88}</Project>
<Name>Maestro.Shared.UI</Name>
</ProjectReference>
+ <ProjectReference Include="..\MaestroFsPreview\MaestroFsPreview.csproj">
+ <Project>{59BE5E18-17B6-431D-836E-C0AABA6D69E8}</Project>
+ <Name>MaestroFsPreview</Name>
+ <Private>False</Private>
+ </ProjectReference>
<ProjectReference Include="..\OSGeo.MapGuide.MaestroAPI\OSGeo.MapGuide.MaestroAPI.csproj">
<Project>{80FA3158-8B5F-48D1-A393-0378AFE48A7E}</Project>
<Name>OSGeo.MapGuide.MaestroAPI</Name>
Added: sandbox/maestro-3.0/Maestro.Editors/FeatureSource/Preview/IQueryControl.cs
===================================================================
--- sandbox/maestro-3.0/Maestro.Editors/FeatureSource/Preview/IQueryControl.cs (rev 0)
+++ sandbox/maestro-3.0/Maestro.Editors/FeatureSource/Preview/IQueryControl.cs 2010-10-13 02:09:06 UTC (rev 5277)
@@ -0,0 +1,41 @@
+#region Disclaimer / License
+// Copyright (C) 2010, 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 System.Windows.Forms;
+using OSGeo.MapGuide.MaestroAPI;
+
+namespace Maestro.Editors.FeatureSource.Preview
+{
+ public interface IQueryControl
+ {
+ FeatureSetReader ExecuteQuery();
+
+ Control Content { get; }
+ }
+
+ internal enum QueryMode
+ {
+ Standard,
+ SQL,
+ //Aggregate,
+ }
+}
Modified: sandbox/maestro-3.0/Maestro.Editors/FeatureSource/Preview/LocalFeatureSourcePreviewCtrl.Designer.cs
===================================================================
--- sandbox/maestro-3.0/Maestro.Editors/FeatureSource/Preview/LocalFeatureSourcePreviewCtrl.Designer.cs 2010-10-13 00:14:32 UTC (rev 5276)
+++ sandbox/maestro-3.0/Maestro.Editors/FeatureSource/Preview/LocalFeatureSourcePreviewCtrl.Designer.cs 2010-10-13 02:09:06 UTC (rev 5277)
@@ -31,14 +31,14 @@
this.components = new System.ComponentModel.Container();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(LocalFeatureSourcePreviewCtrl));
this.splitContainer1 = new System.Windows.Forms.SplitContainer();
+ this.trvSchema = new System.Windows.Forms.TreeView();
+ this.schemaImageList = new System.Windows.Forms.ImageList(this.components);
this.toolStrip1 = new System.Windows.Forms.ToolStrip();
this.btnRefresh = new System.Windows.Forms.ToolStripButton();
+ this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
this.btnSql = new System.Windows.Forms.ToolStripButton();
this.btnStandard = new System.Windows.Forms.ToolStripButton();
this.tabPreviews = new System.Windows.Forms.TabControl();
- this.trvSchema = new System.Windows.Forms.TreeView();
- this.schemaImageList = new System.Windows.Forms.ImageList(this.components);
- this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
this.splitContainer1.Panel1.SuspendLayout();
this.splitContainer1.Panel2.SuspendLayout();
this.splitContainer1.SuspendLayout();
@@ -63,6 +63,29 @@
this.splitContainer1.SplitterDistance = 175;
this.splitContainer1.TabIndex = 0;
//
+ // trvSchema
+ //
+ this.trvSchema.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.trvSchema.ImageIndex = 0;
+ this.trvSchema.ImageList = this.schemaImageList;
+ this.trvSchema.Location = new System.Drawing.Point(0, 25);
+ this.trvSchema.Name = "trvSchema";
+ this.trvSchema.SelectedImageIndex = 0;
+ this.trvSchema.Size = new System.Drawing.Size(175, 352);
+ this.trvSchema.TabIndex = 1;
+ this.trvSchema.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.trvSchema_AfterSelect);
+ //
+ // schemaImageList
+ //
+ this.schemaImageList.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("schemaImageList.ImageStream")));
+ this.schemaImageList.TransparentColor = System.Drawing.Color.Transparent;
+ this.schemaImageList.Images.SetKeyName(0, "sitemap-application-blue.png");
+ this.schemaImageList.Images.SetKeyName(1, "table.png");
+ this.schemaImageList.Images.SetKeyName(2, "property.png");
+ this.schemaImageList.Images.SetKeyName(3, "key.png");
+ this.schemaImageList.Images.SetKeyName(4, "layer-shape.png");
+ this.schemaImageList.Images.SetKeyName(5, "image.png");
+ //
// toolStrip1
//
this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
@@ -81,26 +104,36 @@
this.btnRefresh.Image = global::Maestro.Editors.Properties.Resources.arrow_circle_135;
this.btnRefresh.ImageTransparentColor = System.Drawing.Color.Magenta;
this.btnRefresh.Name = "btnRefresh";
- this.btnRefresh.Size = new System.Drawing.Size(65, 22);
+ this.btnRefresh.Size = new System.Drawing.Size(66, 22);
this.btnRefresh.Text = "Refresh";
+ this.btnRefresh.Click += new System.EventHandler(this.btnRefresh_Click);
//
+ // toolStripSeparator1
+ //
+ this.toolStripSeparator1.Name = "toolStripSeparator1";
+ this.toolStripSeparator1.Size = new System.Drawing.Size(6, 25);
+ //
// btnSql
//
this.btnSql.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
+ this.btnSql.Enabled = false;
this.btnSql.Image = global::Maestro.Editors.Properties.Resources.sql;
this.btnSql.ImageTransparentColor = System.Drawing.Color.Magenta;
this.btnSql.Name = "btnSql";
this.btnSql.Size = new System.Drawing.Size(23, 22);
this.btnSql.Text = "SQL";
+ this.btnSql.Click += new System.EventHandler(this.btnSql_Click);
//
// btnStandard
//
this.btnStandard.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
+ this.btnStandard.Enabled = false;
this.btnStandard.Image = global::Maestro.Editors.Properties.Resources.magnifier;
this.btnStandard.ImageTransparentColor = System.Drawing.Color.Magenta;
this.btnStandard.Name = "btnStandard";
this.btnStandard.Size = new System.Drawing.Size(23, 22);
this.btnStandard.Text = "Standard";
+ this.btnStandard.Click += new System.EventHandler(this.btnStandard_Click);
//
// tabPreviews
//
@@ -112,33 +145,6 @@
this.tabPreviews.Size = new System.Drawing.Size(356, 377);
this.tabPreviews.TabIndex = 0;
//
- // trvSchema
- //
- this.trvSchema.Dock = System.Windows.Forms.DockStyle.Fill;
- this.trvSchema.ImageIndex = 0;
- this.trvSchema.ImageList = this.schemaImageList;
- this.trvSchema.Location = new System.Drawing.Point(0, 25);
- this.trvSchema.Name = "trvSchema";
- this.trvSchema.SelectedImageIndex = 0;
- this.trvSchema.Size = new System.Drawing.Size(175, 352);
- this.trvSchema.TabIndex = 1;
- //
- // schemaImageList
- //
- this.schemaImageList.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("schemaImageList.ImageStream")));
- this.schemaImageList.TransparentColor = System.Drawing.Color.Transparent;
- this.schemaImageList.Images.SetKeyName(0, "sitemap-application-blue.png");
- this.schemaImageList.Images.SetKeyName(1, "table.png");
- this.schemaImageList.Images.SetKeyName(2, "property.png");
- this.schemaImageList.Images.SetKeyName(3, "key.png");
- this.schemaImageList.Images.SetKeyName(4, "layer-shape.png");
- this.schemaImageList.Images.SetKeyName(5, "image.png");
- //
- // toolStripSeparator1
- //
- this.toolStripSeparator1.Name = "toolStripSeparator1";
- this.toolStripSeparator1.Size = new System.Drawing.Size(6, 25);
- //
// LocalFeatureSourcePreviewCtrl
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
Modified: sandbox/maestro-3.0/Maestro.Editors/FeatureSource/Preview/LocalFeatureSourcePreviewCtrl.cs
===================================================================
--- sandbox/maestro-3.0/Maestro.Editors/FeatureSource/Preview/LocalFeatureSourcePreviewCtrl.cs 2010-10-13 00:14:32 UTC (rev 5276)
+++ sandbox/maestro-3.0/Maestro.Editors/FeatureSource/Preview/LocalFeatureSourcePreviewCtrl.cs 2010-10-13 02:09:06 UTC (rev 5277)
@@ -24,6 +24,9 @@
using System.Data;
using System.Text;
using System.Windows.Forms;
+using OSGeo.MapGuide.MaestroAPI.Services;
+using OSGeo.MapGuide.MaestroAPI;
+using OSGeo.MapGuide.ObjectModels.FeatureSource;
namespace Maestro.Editors.FeatureSource.Preview
{
@@ -33,5 +36,171 @@
{
InitializeComponent();
}
+
+ private IFeatureService _fsvc;
+
+ public void Init(IFeatureService featureService)
+ {
+ _fsvc = featureService;
+ }
+
+ const int IDX_SCHEMA = 0;
+ const int IDX_CLASS = 1;
+ const int IDX_PROP = 2;
+ const int IDX_IDENTITY = 3;
+ const int IDX_GEOMETRY = 4;
+ const int IDX_RASTER = 5;
+
+ private string currentFsId;
+
+ public bool SupportsSQL
+ {
+ get;
+ set;
+ }
+
+ public void ReloadTree(string fsId)
+ {
+ currentFsId = fsId;
+ ClearPreviewPanes();
+ trvSchema.Nodes.Clear();
+ var schema = _fsvc.DescribeFeatureSource(currentFsId);
+
+ Dictionary<string, List<ClassDefinition>> classes = new Dictionary<string, List<ClassDefinition>>();
+ foreach (var cls in schema.Classes)
+ {
+ string[] tokens = cls.QualifiedNameDecoded.Split(':');
+ if (!classes.ContainsKey(tokens[0]))
+ classes[tokens[0]] = new List<ClassDefinition>();
+
+ classes[tokens[0]].Add(cls);
+ }
+
+ string[] schemaNames = schema.SchemaNames;
+ foreach (var s in schemaNames)
+ {
+ var schemaNode = new TreeNode(s);
+ schemaNode.Tag = s;
+ schemaNode.ImageIndex = schemaNode.SelectedImageIndex = IDX_SCHEMA;
+
+ trvSchema.Nodes.Add(schemaNode);
+
+ if (classes.ContainsKey(s))
+ {
+ foreach (var cls in classes[s])
+ {
+ var classNode = new TreeNode(cls.Name);
+ classNode.Text = cls.Name;
+ classNode.Tag = cls;
+ classNode.ImageIndex = classNode.SelectedImageIndex = IDX_CLASS;
+
+ foreach (var prop in cls.Columns)
+ {
+ var propNode = new TreeNode(prop.Name);
+ propNode.Text = prop.Name;
+ propNode.Tag = prop;
+
+ if (prop.IsGeometry)
+ propNode.ImageIndex = propNode.SelectedImageIndex = IDX_GEOMETRY;
+ else if (prop.IsIdentity)
+ propNode.ImageIndex = propNode.SelectedImageIndex = IDX_IDENTITY;
+ else
+ propNode.ImageIndex = propNode.SelectedImageIndex = IDX_PROP;
+
+ classNode.Nodes.Add(propNode);
+ }
+
+ schemaNode.Nodes.Add(classNode);
+ }
+ }
+ }
+ }
+
+ private void btnRefresh_Click(object sender, EventArgs e)
+ {
+ ReloadTree(currentFsId);
+ }
+
+ private void btnSql_Click(object sender, EventArgs e)
+ {
+ var cls = GetSelectedClass();
+ if (cls != null)
+ {
+ AddPreviewPane(cls, QueryMode.SQL);
+ }
+ }
+
+ private void btnStandard_Click(object sender, EventArgs e)
+ {
+ var cls = GetSelectedClass();
+ if (cls != null)
+ {
+ AddPreviewPane(cls, QueryMode.Standard);
+ }
+ }
+
+ private void ClearPreviewPanes()
+ {
+ tabPreviews.TabPages.Clear();
+ hasSql = false;
+ }
+
+ private bool hasSql = false;
+
+ void AddPreviewPane(ClassDefinition cls, QueryMode mode)
+ {
+ if (mode == QueryMode.SQL)
+ {
+ if (!hasSql)
+ {
+ var pane = new PreviewPane(currentFsId, mode, cls, _fsvc);
+ var page = new TabPage();
+ page.Text = Properties.Resources.SQLQuery;
+ page.Tag = mode;
+ pane.Dock = DockStyle.Fill;
+ page.Controls.Add(pane);
+ tabPreviews.TabPages.Add(page);
+ hasSql = true;
+ }
+ }
+ else
+ {
+ var pane = new PreviewPane(currentFsId, mode, cls, _fsvc);
+ var page = new TabPage();
+ page.Text = Properties.Resources.StandardQuery + " - " + cls.QualifiedNameDecoded;
+ page.Tag = mode;
+ pane.Dock = DockStyle.Fill;
+ page.Controls.Add(pane);
+ tabPreviews.TabPages.Add(page);
+ }
+ }
+
+ ClassDefinition GetSelectedClass()
+ {
+ if (trvSchema.SelectedNode != null)
+ {
+ return trvSchema.SelectedNode.Tag as ClassDefinition;
+ }
+ return null;
+ }
+
+ private void trvSchema_AfterSelect(object sender, TreeViewEventArgs e)
+ {
+ switch (e.Node.Level)
+ {
+ case 1: //Class
+ var cls = e.Node.Tag as ClassDefinition;
+ if (cls != null)
+ {
+ btnStandard.Enabled = true;
+ btnSql.Enabled = this.SupportsSQL;
+ }
+ break;
+ default:
+ btnStandard.Enabled = false;
+ btnSql.Enabled = false;
+ break;
+ }
+ }
}
}
Modified: sandbox/maestro-3.0/Maestro.Editors/FeatureSource/Preview/LocalFeatureSourcePreviewCtrl.resx
===================================================================
--- sandbox/maestro-3.0/Maestro.Editors/FeatureSource/Preview/LocalFeatureSourcePreviewCtrl.resx 2010-10-13 00:14:32 UTC (rev 5276)
+++ sandbox/maestro-3.0/Maestro.Editors/FeatureSource/Preview/LocalFeatureSourcePreviewCtrl.resx 2010-10-13 02:09:06 UTC (rev 5277)
@@ -124,8 +124,8 @@
<value>
AAEAAAD/////AQAAAAAAAAAMAgAAAFdTeXN0ZW0uV2luZG93cy5Gb3JtcywgVmVyc2lvbj0yLjAuMC4w
LCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwODkFAQAAACZTeXN0
- ZW0uV2luZG93cy5Gb3Jtcy5JbWFnZUxpc3RTdHJlYW1lcgEAAAAERGF0YQcCAgAAAAkDAAAADwMAAAAy
- DQAAAk1TRnQBSQFMAgEBBgEAAQkBAAEEAQABEAEAARABAAT/AQkBAAj/AUIBTQE2AQQGAAE2AQQCAAEo
+ ZW0uV2luZG93cy5Gb3Jtcy5JbWFnZUxpc3RTdHJlYW1lcgEAAAAERGF0YQcCAgAAAAkDAAAADwMAAAAw
+ DQAAAk1TRnQBSQFMAgEBBgEAAQwBAAEMAQABEAEAARABAAT/AQkBAAj/A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AXMCSgFLAXoBbQGi
+ BwABrQHbAdwC2wHaAa0FAAGnDv8BpwQAAWcBmgJ0ApoBmQOaAWcBhgMAAaEBhgFtAZkBmgGZAXQBbQGG
+ AaEHAAHHBa0BxwUAEKcEAAGGCWcBhgUAAaEBogFmAmcBZgGiAaEEAAFCAU0BPgcAAT4DAAEoAwABQAMA
+ ASADAAEBAQABAQYAAQEWAAP/AQAE/xwAAYABAQYAAYABAQYAAYABAQYAAYABAQYAAYABAQYAAYABAQYA
+ AYABAQYAAYABARYAAR8B+AL/BAAE/wUAAQEEAAHgAQcBAAEBBAAB4AEHAgEDAAEDAfwBPwIBAwABAwH8
+ AT8CAQMAAQMB/AE/AgEDAAEDAfwBPwIBAwABAwH8AT8C7wMAAQMB8AEPAeABDwMAAQMB4AEHAf4B/wMA
+ AQMB4AEHAfABHwMAAQEB4AEHAfABHwQAAeABBwHwAR8EAAHgAQcB8AEfAgAB8AEAAeABBwHwAR8CAAHw
+ AQAB4AEHAfABHwIAAfABAQHwAQ8L
</value>
</data>
<metadata name="toolStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
Modified: sandbox/maestro-3.0/Maestro.Editors/FeatureSource/Preview/PreviewPane.Designer.cs
===================================================================
--- sandbox/maestro-3.0/Maestro.Editors/FeatureSource/Preview/PreviewPane.Designer.cs 2010-10-13 00:14:32 UTC (rev 5276)
+++ sandbox/maestro-3.0/Maestro.Editors/FeatureSource/Preview/PreviewPane.Designer.cs 2010-10-13 02:09:06 UTC (rev 5277)
@@ -35,6 +35,7 @@
this.queryPane = new System.Windows.Forms.Panel();
this.statusBar = new System.Windows.Forms.StatusStrip();
this.grdResults = new System.Windows.Forms.DataGridView();
+ this.queryWorker = new System.ComponentModel.BackgroundWorker();
this.toolStrip1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.grdResults)).BeginInit();
this.SuspendLayout();
@@ -56,24 +57,29 @@
this.btnRunQuery.Image = global::Maestro.Editors.Properties.Resources.control;
this.btnRunQuery.ImageTransparentColor = System.Drawing.Color.Magenta;
this.btnRunQuery.Name = "btnRunQuery";
- this.btnRunQuery.Size = new System.Drawing.Size(79, 22);
+ this.btnRunQuery.Size = new System.Drawing.Size(83, 22);
this.btnRunQuery.Text = "Run Query";
+ this.btnRunQuery.Click += new System.EventHandler(this.btnRunQuery_Click);
//
// btnStop
//
+ this.btnStop.Enabled = false;
this.btnStop.Image = global::Maestro.Editors.Properties.Resources.control_stop_square;
this.btnStop.ImageTransparentColor = System.Drawing.Color.Magenta;
this.btnStop.Name = "btnStop";
- this.btnStop.Size = new System.Drawing.Size(49, 22);
+ this.btnStop.Size = new System.Drawing.Size(51, 22);
this.btnStop.Text = "Stop";
+ this.btnStop.Click += new System.EventHandler(this.btnStop_Click);
//
// btnClear
//
+ this.btnClear.Enabled = false;
this.btnClear.Image = global::Maestro.Editors.Properties.Resources.cross_script;
this.btnClear.ImageTransparentColor = System.Drawing.Color.Magenta;
this.btnClear.Name = "btnClear";
- this.btnClear.Size = new System.Drawing.Size(52, 22);
+ this.btnClear.Size = new System.Drawing.Size(54, 22);
this.btnClear.Text = "Clear";
+ this.btnClear.Click += new System.EventHandler(this.btnClear_Click);
//
// queryPane
//
@@ -104,6 +110,12 @@
this.grdResults.Size = new System.Drawing.Size(670, 278);
this.grdResults.TabIndex = 3;
//
+ // queryWorker
+ //
+ this.queryWorker.WorkerSupportsCancellation = true;
+ this.queryWorker.DoWork += new System.ComponentModel.DoWorkEventHandler(this.queryWorker_DoWork);
+ this.queryWorker.RunWorkerCompleted += new System.ComponentModel.RunWorkerCompletedEventHandler(this.queryWorker_RunWorkerCompleted);
+ //
// PreviewPane
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
@@ -131,5 +143,6 @@
private System.Windows.Forms.ToolStripButton btnRunQuery;
private System.Windows.Forms.ToolStripButton btnStop;
private System.Windows.Forms.ToolStripButton btnClear;
+ private System.ComponentModel.BackgroundWorker queryWorker;
}
}
Modified: sandbox/maestro-3.0/Maestro.Editors/FeatureSource/Preview/PreviewPane.cs
===================================================================
--- sandbox/maestro-3.0/Maestro.Editors/FeatureSource/Preview/PreviewPane.cs 2010-10-13 00:14:32 UTC (rev 5276)
+++ sandbox/maestro-3.0/Maestro.Editors/FeatureSource/Preview/PreviewPane.cs 2010-10-13 02:09:06 UTC (rev 5277)
@@ -24,14 +24,158 @@
using System.Data;
using System.Text;
using System.Windows.Forms;
+using OSGeo.MapGuide.MaestroAPI;
+using OSGeo.MapGuide.MaestroAPI.Services;
+using System.Diagnostics;
namespace Maestro.Editors.FeatureSource.Preview
{
- public partial class PreviewPane : UserControl
+ internal partial class PreviewPane : UserControl, IQueryControl
{
- public PreviewPane()
+ private PreviewPane()
{
InitializeComponent();
}
+
+ private QueryMode _mode;
+ private ClassDefinition _cls;
+ private IFeatureService _featSvc;
+ private string _fsId;
+
+ public PreviewPane(string fsId, QueryMode mode, ClassDefinition cls, IFeatureService featSvc)
+ : this()
+ {
+ _fsId = fsId;
+ _mode = mode;
+ _cls = cls;
+ _featSvc = featSvc;
+
+ IQueryControl ctrl = null;
+ switch (_mode)
+ {
+ case QueryMode.SQL:
+ ctrl = new SqlQueryCtrl(fsId, featSvc);
+ _inner = ctrl;
+ break;
+ case QueryMode.Standard:
+ ctrl = new StandardQueryCtrl(fsId, featSvc, cls);
+ _inner = ctrl;
+ break;
+ }
+
+ if (ctrl == null)
+ {
+ throw new ArgumentException("Unknown query mode"); //LOCALIZEME
+ }
+
+ ctrl.Content.Dock = DockStyle.Fill;
+ queryPane.Controls.Add(ctrl.Content);
+ }
+
+ private IQueryControl _inner;
+
+ public OSGeo.MapGuide.MaestroAPI.FeatureSetReader ExecuteQuery()
+ {
+ return _inner.ExecuteQuery();
+ }
+
+ public Control Content
+ {
+ get { return this; }
+ }
+
+ private void btnClear_Click(object sender, EventArgs e)
+ {
+ grdResults.DataSource = null;
+ }
+
+ private void btnRunQuery_Click(object sender, EventArgs e)
+ {
+ btnClear.Enabled = false;
+ btnStop.Enabled = true;
+ btnRunQuery.Enabled = false;
+ queryWorker.RunWorkerAsync();
+ }
+
+ class QueryResult
+ {
+ public DataTable Result { get; set; }
+
+ public TimeSpan Duration { get; set; }
+ }
+
+ private void queryWorker_DoWork(object sender, DoWorkEventArgs e)
+ {
+ var res = new QueryResult();
+ var sw = new Stopwatch();
+ sw.Start();
+ var reader = this.ExecuteQuery();
+ try
+ {
+ res.Result = new DataTable();
+ InitTable(reader, res.Result);
+ while (reader.Read())
+ {
+ if (e.Cancel)
+ {
+ break;
+ }
+
+ var curRow = reader.Row;
+ var row = res.Result.NewRow();
+ foreach (var col in reader.Columns)
+ {
+ if (curRow.IsValueNull(col.Name))
+ row[col.Name] = DBNull.Value;
+ else
+ row[col.Name] = curRow[col.Name];
+ }
+ res.Result.Rows.Add(row);
+ }
+ }
+ finally
+ {
+ reader.Close();
+ sw.Stop();
+ }
+ e.Result = res;
+ }
+
+ private void InitTable(FeatureSetReader reader, DataTable dataTable)
+ {
+ foreach (var col in reader.Columns)
+ {
+ var column = new DataColumn(col.Name, col.Type);
+ dataTable.Columns.Add(column);
+ }
+ }
+
+ private void queryWorker_RunWorkerCompleted(object sender, RunWorkerCompletedEventArgs e)
+ {
+ if (e.Error != null)
+ {
+ MessageBox.Show(e.Error.ToString());
+ }
+ else
+ {
+ var res = e.Result as QueryResult;
+ if (res != null)
+ {
+ grdResults.DataSource = res.Result;
+ }
+ }
+
+ btnRunQuery.Enabled = true;
+ btnStop.Enabled = false;
+ btnClear.Enabled = true;
+ }
+
+ private void btnStop_Click(object sender, EventArgs e)
+ {
+ if (queryWorker.IsBusy)
+ {
+ queryWorker.CancelAsync();
+ }
+ }
}
}
Modified: sandbox/maestro-3.0/Maestro.Editors/FeatureSource/Preview/PreviewPane.resx
===================================================================
--- sandbox/maestro-3.0/Maestro.Editors/FeatureSource/Preview/PreviewPane.resx 2010-10-13 00:14:32 UTC (rev 5276)
+++ sandbox/maestro-3.0/Maestro.Editors/FeatureSource/Preview/PreviewPane.resx 2010-10-13 02:09:06 UTC (rev 5277)
@@ -123,4 +123,7 @@
<metadata name="statusBar.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>116, 17</value>
</metadata>
+ <metadata name="queryWorker.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
+ <value>217, 17</value>
+ </metadata>
</root>
\ No newline at end of file
Modified: sandbox/maestro-3.0/Maestro.Editors/FeatureSource/Preview/SqlQueryCtrl.Designer.cs
===================================================================
--- sandbox/maestro-3.0/Maestro.Editors/FeatureSource/Preview/SqlQueryCtrl.Designer.cs 2010-10-13 00:14:32 UTC (rev 5276)
+++ sandbox/maestro-3.0/Maestro.Editors/FeatureSource/Preview/SqlQueryCtrl.Designer.cs 2010-10-13 02:09:06 UTC (rev 5277)
@@ -34,6 +34,7 @@
// txtSql
//
this.txtSql.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.txtSql.Font = new System.Drawing.Font("Courier New", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.txtSql.Location = new System.Drawing.Point(0, 0);
this.txtSql.Multiline = true;
this.txtSql.Name = "txtSql";
Modified: sandbox/maestro-3.0/Maestro.Editors/FeatureSource/Preview/SqlQueryCtrl.cs
===================================================================
--- sandbox/maestro-3.0/Maestro.Editors/FeatureSource/Preview/SqlQueryCtrl.cs 2010-10-13 00:14:32 UTC (rev 5276)
+++ sandbox/maestro-3.0/Maestro.Editors/FeatureSource/Preview/SqlQueryCtrl.cs 2010-10-13 02:09:06 UTC (rev 5277)
@@ -24,14 +24,35 @@
using System.Data;
using System.Text;
using System.Windows.Forms;
+using OSGeo.MapGuide.MaestroAPI.Services;
namespace Maestro.Editors.FeatureSource.Preview
{
- public partial class SqlQueryCtrl : UserControl
+ public partial class SqlQueryCtrl : UserControl, IQueryControl
{
- public SqlQueryCtrl()
+ private SqlQueryCtrl()
{
InitializeComponent();
}
+
+ private IFeatureService _featSvc;
+ private string _fsId;
+
+ public SqlQueryCtrl(string fsId, IFeatureService featSvc)
+ : this()
+ {
+ _fsId = fsId;
+ _featSvc = featSvc;
+ }
+
+ public OSGeo.MapGuide.MaestroAPI.FeatureSetReader ExecuteQuery()
+ {
+ return _featSvc.ExecuteSqlQuery(_fsId, txtSql.Text);
+ }
+
+ public Control Content
+ {
+ get { return this; }
+ }
}
}
Modified: sandbox/maestro-3.0/Maestro.Editors/FeatureSource/Preview/StandardQueryCtrl.cs
===================================================================
--- sandbox/maestro-3.0/Maestro.Editors/FeatureSource/Preview/StandardQueryCtrl.cs 2010-10-13 00:14:32 UTC (rev 5276)
+++ sandbox/maestro-3.0/Maestro.Editors/FeatureSource/Preview/StandardQueryCtrl.cs 2010-10-13 02:09:06 UTC (rev 5277)
@@ -24,14 +24,64 @@
using System.Data;
using System.Text;
using System.Windows.Forms;
+using OSGeo.MapGuide.MaestroAPI;
+using OSGeo.MapGuide.MaestroAPI.Services;
+using System.Collections.Specialized;
namespace Maestro.Editors.FeatureSource.Preview
{
- public partial class StandardQueryCtrl : UserControl
+ public partial class StandardQueryCtrl : UserControl, IQueryControl
{
- public StandardQueryCtrl()
+ private StandardQueryCtrl()
{
InitializeComponent();
}
+
+ private IFeatureService _featSvc;
+ private string _fsId;
+ private ClassDefinition _cls;
+
+ public StandardQueryCtrl(string fsId, IFeatureService featSvc, ClassDefinition cls)
+ : this()
+ {
+ _fsId = fsId;
+ _featSvc = featSvc;
+ _cls = cls;
+ foreach (var prop in cls.Columns)
+ {
+ chkProperties.Items.Add(prop.Name, true);
+ }
+ }
+
+ public FeatureSetReader ExecuteQuery()
+ {
+ return _featSvc.QueryFeatureSource(_fsId, _cls.QualifiedNameDecoded, txtFilter.Text, GetProperties(), GetComputedColumns());
+ }
+
+ private NameValueCollection GetComputedColumns()
+ {
+ var nvc = new NameValueCollection();
+ foreach (DataGridViewRow row in grdExpressions.Rows)
+ {
+ if (row.Cells[0].Value != null && row.Cells[1].Value != null)
+ nvc.Add(row.Cells[0].Value.ToString(), row.Cells[1].Value.ToString());
+ }
+ return nvc;
+ }
+
+ private string[] GetProperties()
+ {
+ List<string> names = new List<string>();
+ foreach (var obj in chkProperties.CheckedItems)
+ {
+ names.Add(obj.ToString());
+ }
+ return names.ToArray();
+ }
+
+ public Control Content
+ {
+ get { return this; }
+ }
}
}
Modified: sandbox/maestro-3.0/Maestro.Editors/IEditorService.cs
===================================================================
--- sandbox/maestro-3.0/Maestro.Editors/IEditorService.cs 2010-10-13 00:14:32 UTC (rev 5276)
+++ sandbox/maestro-3.0/Maestro.Editors/IEditorService.cs 2010-10-13 02:09:06 UTC (rev 5277)
@@ -201,5 +201,10 @@
event EventHandler Saved;
void SyncSessionCopy();
+
+ /// <summary>
+ /// Gets the MapGuide Server version
+ /// </summary>
+ Version SiteVersion { get; }
}
}
Modified: sandbox/maestro-3.0/Maestro.Editors/Maestro.Editors.csproj
===================================================================
--- sandbox/maestro-3.0/Maestro.Editors/Maestro.Editors.csproj 2010-10-13 00:14:32 UTC (rev 5276)
+++ sandbox/maestro-3.0/Maestro.Editors/Maestro.Editors.csproj 2010-10-13 02:09:06 UTC (rev 5277)
@@ -171,6 +171,7 @@
<DependentUpon>FeatureSourceEditorCtrl.cs</DependentUpon>
</Compile>
<Compile Include="FeatureSource\FsEditorMap.cs" />
+ <Compile Include="FeatureSource\Preview\IQueryControl.cs" />
<Compile Include="FeatureSource\Preview\LocalFeatureSourcePreviewCtrl.cs">
<SubType>UserControl</SubType>
</Compile>
Modified: sandbox/maestro-3.0/Maestro.Editors/Properties/Resources.Designer.cs
===================================================================
--- sandbox/maestro-3.0/Maestro.Editors/Properties/Resources.Designer.cs 2010-10-13 00:14:32 UTC (rev 5276)
+++ sandbox/maestro-3.0/Maestro.Editors/Properties/Resources.Designer.cs 2010-10-13 02:09:06 UTC (rev 5277)
@@ -61,6 +61,15 @@
}
/// <summary>
+ /// Looks up a localized string similar to Aggregate Query.
+ /// </summary>
+ internal static string AggregateQuery {
+ get {
+ return ResourceManager.GetString("AggregateQuery", resourceCulture);
+ }
+ }
+
+ /// <summary>
/// Looks up a localized string similar to All types.
/// </summary>
internal static string AllResourceTypes {
@@ -1824,6 +1833,24 @@
}
}
+ /// <summary>
+ /// Looks up a localized string similar to SQL Query.
+ /// </summary>
+ internal static string SQLQuery {
+ get {
+ return ResourceManager.GetString("SQLQuery", resourceCulture);
+ }
+ }
+
+ /// <summary>
+ /// Looks up a localized string similar to Standard Query.
+ /// </summary>
+ internal static string StandardQuery {
+ get {
+ return ResourceManager.GetString("StandardQuery", resourceCulture);
+ }
+ }
+
internal static System.Drawing.Bitmap sum {
get {
object obj = ResourceManager.GetObject("sum", resourceCulture);
Modified: sandbox/maestro-3.0/Maestro.Editors/Properties/Resources.resx
===================================================================
--- sandbox/maestro-3.0/Maestro.Editors/Properties/Resources.resx 2010-10-13 00:14:32 UTC (rev 5276)
+++ sandbox/maestro-3.0/Maestro.Editors/Properties/Resources.resx 2010-10-13 02:09:06 UTC (rev 5277)
@@ -912,4 +912,13 @@
<data name="FsSqlServerSpatial" xml:space="preserve">
<value>SQL Server Spatial Feature Source</value>
</data>
+ <data name="AggregateQuery" xml:space="preserve">
+ <value>Aggregate Query</value>
+ </data>
+ <data name="SQLQuery" xml:space="preserve">
+ <value>SQL Query</value>
+ </data>
+ <data name="StandardQuery" xml:space="preserve">
+ <value>Standard Query</value>
+ </data>
</root>
\ No newline at end of file
Added: sandbox/maestro-3.0/MaestroFsPreview/MaestroFsPreview.csproj
===================================================================
--- sandbox/maestro-3.0/MaestroFsPreview/MaestroFsPreview.csproj (rev 0)
+++ sandbox/maestro-3.0/MaestroFsPreview/MaestroFsPreview.csproj 2010-10-13 02:09:06 UTC (rev 5277)
@@ -0,0 +1,111 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="3.5" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <PropertyGroup>
+ <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
+ <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
+ <ProductVersion>9.0.30729</ProductVersion>
+ <SchemaVersion>2.0</SchemaVersion>
+ <ProjectGuid>{59BE5E18-17B6-431D-836E-C0AABA6D69E8}</ProjectGuid>
+ <OutputType>WinExe</OutputType>
+ <AppDesignerFolder>Properties</AppDesignerFolder>
+ <RootNamespace>MaestroFsPreview</RootNamespace>
+ <AssemblyName>MaestroFsPreview</AssemblyName>
+ <TargetFrameworkVersion>v2.0</TargetFrameworkVersion>
+ <FileAlignment>512</FileAlignment>
+ <TargetFrameworkSubset>
+ </TargetFrameworkSubset>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
+ <DebugSymbols>true</DebugSymbols>
+ <DebugType>full</DebugType>
+ <Optimize>false</Optimize>
+ <OutputPath>..\out\Debug\</OutputPath>
+ <DefineConstants>DEBUG;TRACE</DefineConstants>
+ <ErrorReport>prompt</ErrorReport>
+ <WarningLevel>4</WarningLevel>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
+ <DebugType>pdbonly</DebugType>
+ <Optimize>true</Optimize>
+ <OutputPath>..\out\Release\</OutputPath>
+ <DefineConstants>TRACE</DefineConstants>
+ <ErrorReport>prompt</ErrorReport>
+ <WarningLevel>4</WarningLevel>
+ </PropertyGroup>
+ <ItemGroup>
+ <Reference Include="Aga.Controls, Version=1.7.0.0, Culture=neutral, PublicKeyToken=fcc90fbf924463a3, processorArchitecture=MSIL">
+ <SpecificVersion>False</SpecificVersion>
+ <HintPath>..\Thirdparty\TreeViewAdv\Aga.Controls\obj\Debug\Aga.Controls.dll</HintPath>
+ </Reference>
+ <Reference Include="Maestro.Shared.UI, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
+ <SpecificVersion>False</SpecificVersion>
+ <HintPath>..\Maestro.Shared.UI\bin\Debug\Maestro.Shared.UI.dll</HintPath>
+ </Reference>
+ <Reference Include="OSGeo.MapGuide.MaestroAPI, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
+ <SpecificVersion>False</SpecificVersion>
+ <HintPath>..\OSGeo.MapGuide.MaestroAPI\bin\Debug\OSGeo.MapGuide.MaestroAPI.dll</HintPath>
+ </Reference>
+ <Reference Include="System" />
+ <Reference Include="System.Xml.Linq">
+ <RequiredTargetFramework>3.5</RequiredTargetFramework>
+ </Reference>
+ <Reference Include="System.Data.DataSetExtensions">
+ <RequiredTargetFramework>3.5</RequiredTargetFramework>
+ </Reference>
+ <Reference Include="System.Data" />
+ <Reference Include="System.Deployment" />
+ <Reference Include="System.Drawing" />
+ <Reference Include="System.Windows.Forms" />
+ <Reference Include="System.Xml" />
+ </ItemGroup>
+ <ItemGroup>
+ <Compile Include="MainForm.cs">
+ <SubType>Form</SubType>
+ </Compile>
+ <Compile Include="MainForm.Designer.cs">
+ <DependentUpon>MainForm.cs</DependentUpon>
+ </Compile>
+ <Compile Include="Program.cs" />
+ <Compile Include="Properties\AssemblyInfo.cs" />
+ <EmbeddedResource Include="MainForm.resx">
+ <DependentUpon>MainForm.cs</DependentUpon>
+ </EmbeddedResource>
+ <EmbeddedResource Include="Properties\Resources.resx">
+ <Generator>ResXFileCodeGenerator</Generator>
+ <LastGenOutput>Resources.Designer.cs</LastGenOutput>
+ <SubType>Designer</SubType>
+ </EmbeddedResource>
+ <Compile Include="Properties\Resources.Designer.cs">
+ <AutoGen>True</AutoGen>
+ <DependentUpon>Resources.resx</DependentUpon>
+ </Compile>
+ <None Include="app.config" />
+ <None Include="Properties\Settings.settings">
+ <Generator>SettingsSingleFileGenerator</Generator>
+ <LastGenOutput>Settings.Designer.cs</LastGenOutput>
+ </None>
+ <Compile Include="Properties\Settings.Designer.cs">
+ <AutoGen>True</AutoGen>
+ <DependentUpon>Settings.settings</DependentUpon>
+ <DesignTimeSharedInput>True</DesignTimeSharedInput>
+ </Compile>
+ </ItemGroup>
+ <ItemGroup>
+ <ProjectReference Include="..\Maestro.Editors\Maestro.Editors.csproj">
+ <Project>{5AD2CDBA-952E-4148-98A1-31D2E0D540D5}</Project>
+ <Name>Maestro.Editors</Name>
+ </ProjectReference>
+ <ProjectReference Include="..\Maestro.Login\Maestro.Login.csproj">
+ <Project>{07588440-5F9F-4C30-AA06-9CF30BA6DDE6}</Project>
+ <Name>Maestro.Login</Name>
+ </ProjectReference>
+ </ItemGroup>
+ <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
+ <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
+ Other similar extension points exist, see Microsoft.Common.targets.
+ <Target Name="BeforeBuild">
+ </Target>
+ <Target Name="AfterBuild">
+ </Target>
+ -->
+</Project>
\ No newline at end of file
Added: sandbox/maestro-3.0/MaestroFsPreview/MainForm.Designer.cs
===================================================================
--- sandbox/maestro-3.0/MaestroFsPreview/MainForm.Designer.cs (rev 0)
+++ sandbox/maestro-3.0/MaestroFsPreview/MainForm.Designer.cs 2010-10-13 02:09:06 UTC (rev 5277)
@@ -0,0 +1,166 @@
+namespace MaestroFsPreview
+{
+ partial class MainForm
+ {
+ /// <summary>
+ /// Required designer variable.
+ /// </summary>
+ private System.ComponentModel.IContainer components = null;
+
+ /// <summary>
+ /// Clean up any resources being used.
+ /// </summary>
+ /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
+ protected override void Dispose(bool disposing)
+ {
+ if (disposing && (components != null))
+ {
+ components.Dispose();
+ }
+ base.Dispose(disposing);
+ }
+
+ #region Windows Form Designer generated code
+
+ /// <summary>
+ /// Required method for Designer support - do not modify
+ /// the contents of this method with the code editor.
+ /// </summary>
+ private void InitializeComponent()
+ {
+ System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainForm));
+ this.statusStrip1 = new System.Windows.Forms.StatusStrip();
+ this.splitContainer1 = new System.Windows.Forms.SplitContainer();
+ this.fsPanel = new System.Windows.Forms.Panel();
+ this.btnBrowse = new System.Windows.Forms.Button();
+ this.txtFeatureSource = new System.Windows.Forms.TextBox();
+ this.label1 = new System.Windows.Forms.Label();
+ this.localFsPreviewCtrl = new Maestro.Editors.FeatureSource.Preview.LocalFeatureSourcePreviewCtrl();
+ this.lblStatus = new System.Windows.Forms.ToolStripStatusLabel();
+ this.statusStrip1.SuspendLayout();
+ this.splitContainer1.Panel1.SuspendLayout();
+ this.splitContainer1.Panel2.SuspendLayout();
+ this.splitContainer1.SuspendLayout();
+ this.fsPanel.SuspendLayout();
+ this.SuspendLayout();
+ //
+ // statusStrip1
+ //
+ this.statusStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
+ this.lblStatus});
+ this.statusStrip1.Location = new System.Drawing.Point(0, 340);
+ this.statusStrip1.Name = "statusStrip1";
+ this.statusStrip1.Size = new System.Drawing.Size(653, 22);
+ this.statusStrip1.TabIndex = 0;
+ this.statusStrip1.Text = "statusStrip1";
+ //
+ // splitContainer1
+ //
+ this.splitContainer1.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.splitContainer1.FixedPanel = System.Windows.Forms.FixedPanel.Panel1;
+ this.splitContainer1.Location = new System.Drawing.Point(0, 0);
+ this.splitContainer1.Name = "splitContainer1";
+ this.splitContainer1.Orientation = System.Windows.Forms.Orientation.Horizontal;
+ //
+ // splitContainer1.Panel1
+ //
+ this.splitContainer1.Panel1.Controls.Add(this.fsPanel);
+ //
+ // splitContainer1.Panel2
+ //
+ this.splitContainer1.Panel2.Controls.Add(this.localFsPreviewCtrl);
+ this.splitContainer1.Size = new System.Drawing.Size(653, 340);
+ this.splitContainer1.SplitterDistance = 33;
+ this.splitContainer1.TabIndex = 1;
+ //
+ // fsPanel
+ //
+ this.fsPanel.Controls.Add(this.btnBrowse);
+ this.fsPanel.Controls.Add(this.txtFeatureSource);
+ this.fsPanel.Controls.Add(this.label1);
+ this.fsPanel.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.fsPanel.Location = new System.Drawing.Point(0, 0);
+ this.fsPanel.Name = "fsPanel";
+ this.fsPanel.Size = new System.Drawing.Size(653, 33);
+ this.fsPanel.TabIndex = 0;
+ //
+ // btnBrowse
+ //
+ this.btnBrowse.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
+ this.btnBrowse.Location = new System.Drawing.Point(615, 4);
+ this.btnBrowse.Name = "btnBrowse";
+ this.btnBrowse.Size = new System.Drawing.Size(26, 23);
+ this.btnBrowse.TabIndex = 2;
+ this.btnBrowse.Text = "...";
+ this.btnBrowse.UseVisualStyleBackColor = true;
+ this.btnBrowse.Click += new System.EventHandler(this.btnBrowse_Click);
+ //
+ // txtFeatureSource
+ //
+ this.txtFeatureSource.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
+ | System.Windows.Forms.AnchorStyles.Right)));
+ this.txtFeatureSource.Location = new System.Drawing.Point(98, 6);
+ this.txtFeatureSource.Name = "txtFeatureSource";
+ this.txtFeatureSource.ReadOnly = true;
+ this.txtFeatureSource.Size = new System.Drawing.Size(511, 20);
+ this.txtFeatureSource.TabIndex = 1;
+ //
+ // label1
+ //
+ this.label1.AutoSize = true;
+ this.label1.Location = new System.Drawing.Point(12, 9);
+ this.label1.Name = "label1";
+ this.label1.Size = new System.Drawing.Size(80, 13);
+ this.label1.TabIndex = 0;
+ this.label1.Text = "Feature Source";
+ //
+ // localFsPreviewCtrl
+ //
+ this.localFsPreviewCtrl.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.localFsPreviewCtrl.Location = new System.Drawing.Point(0, 0);
+ this.localFsPreviewCtrl.Name = "localFsPreviewCtrl";
+ this.localFsPreviewCtrl.Size = new System.Drawing.Size(653, 303);
+ this.localFsPreviewCtrl.TabIndex = 0;
+ //
+ // lblStatus
+ //
+ this.lblStatus.Name = "lblStatus";
+ this.lblStatus.Size = new System.Drawing.Size(0, 17);
+ //
+ // MainForm
+ //
+ this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ this.ClientSize = new System.Drawing.Size(653, 362);
+ this.Controls.Add(this.splitContainer1);
+ this.Controls.Add(this.statusStrip1);
+ this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
+ this.Name = "MainForm";
+ this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
+ this.Text = "Feature Source Preview";
+ this.statusStrip1.ResumeLayout(false);
+ this.statusStrip1.PerformLayout();
+ this.splitContainer1.Panel1.ResumeLayout(false);
+ this.splitContainer1.Panel2.ResumeLayout(false);
+ this.splitContainer1.ResumeLayout(false);
+ this.fsPanel.ResumeLayout(false);
+ this.fsPanel.PerformLayout();
+ this.ResumeLayout(false);
+ this.PerformLayout();
+
+ }
+
+ #endregion
+
+ private System.Windows.Forms.StatusStrip statusStrip1;
+ private System.Windows.Forms.ToolStripStatusLabel lblStatus;
+ private System.Windows.Forms.SplitContainer splitContainer1;
+ private System.Windows.Forms.Panel fsPanel;
+ private System.Windows.Forms.Button btnBrowse;
+ private System.Windows.Forms.TextBox txtFeatureSource;
+ private System.Windows.Forms.Label label1;
+ private Maestro.Editors.FeatureSource.Preview.LocalFeatureSourcePreviewCtrl localFsPreviewCtrl;
+
+ }
+}
+
Added: sandbox/maestro-3.0/MaestroFsPreview/MainForm.cs
===================================================================
--- sandbox/maestro-3.0/MaestroFsPreview/MainForm.cs (rev 0)
+++ sandbox/maestro-3.0/MaestroFsPreview/MainForm.cs 2010-10-13 02:09:06 UTC (rev 5277)
@@ -0,0 +1,83 @@
+#region Disclaimer / License
+// Copyright (C) 2010, 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.ComponentModel;
+using System.Data;
+using System.Drawing;
+using System.Text;
+using System.Windows.Forms;
+using Maestro.Editors.Generic;
+using OSGeo.MapGuide.MaestroAPI;
+using OSGeo.MapGuide.MaestroAPI.Services;
+using OSGeo.MapGuide.ObjectModels.FeatureSource;
+
+namespace MaestroFsPreview
+{
+ public partial class MainForm : Form
+ {
+ private MainForm()
+ {
+ InitializeComponent();
+ }
+
+ public MainForm(IFeatureService featSvc, IResourceService resSvc)
+ : this()
+ {
+ this.featSvc = featSvc;
+ this.resSvc = resSvc;
+ localFsPreviewCtrl.Init(featSvc);
+ }
+
+ private IFeatureService featSvc;
+ private IResourceService resSvc;
+
+ private void btnBrowse_Click(object sender, EventArgs e)
+ {
+ using (var picker = new ResourcePicker(resSvc, ResourceTypes.FeatureSource, ResourcePickerMode.OpenResource))
+ {
+ if (picker.ShowDialog() == DialogResult.OK)
+ {
+ this.FeatureSourceID = picker.ResourceID;
+ }
+ }
+ }
+
+ private IFeatureSource _fs;
+
+ public string FeatureSourceID
+ {
+ get { return txtFeatureSource.Text; }
+ set
+ {
+ txtFeatureSource.Text = value;
+ InitPreview();
+ }
+ }
+
+ private void InitPreview()
+ {
+ _fs = (IFeatureSource)resSvc.GetResource(this.FeatureSourceID);
+ var caps = featSvc.GetProviderCapabilities(_fs.Provider);
+ localFsPreviewCtrl.SupportsSQL = caps.Connection.SupportsSQL;
+ localFsPreviewCtrl.ReloadTree(this.FeatureSourceID);
+ }
+ }
+}
Added: sandbox/maestro-3.0/MaestroFsPreview/MainForm.resx
===================================================================
--- sandbox/maestro-3.0/MaestroFsPreview/MainForm.resx (rev 0)
+++ sandbox/maestro-3.0/MaestroFsPreview/MainForm.resx 2010-10-13 02:09:06 UTC (rev 5277)
@@ -0,0 +1,627 @@
+<?xml version="1.0" encoding="utf-8"?>
+<root>
+ <!--
+ Microsoft ResX Schema
+
+ Version 2.0
+
+ The primary goals of this format is to allow a simple XML format
+ that is mostly human readable. The generation and parsing of the
+ various data types are done through the TypeConverter classes
+ associated with the data types.
+
+ Example:
+
+ ... ado.net/XML headers & schema ...
+ <resheader name="resmimetype">text/microsoft-resx</resheader>
+ <resheader name="version">2.0</resheader>
+ <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
+ <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
+ <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
+ <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
+ <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
+ <value>[base64 mime encoded serialized .NET Framework object]</value>
+ </data>
+ <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
+ <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
+ <comment>This is a comment</comment>
+ </data>
+
+ There are any number of "resheader" rows that contain simple
+ name/value pairs.
+
+ Each data row contains a name, and value. The row also contains a
+ type or mimetype. Type corresponds to a .NET class that support
+ text/value conversion through the TypeConverter architecture.
+ Classes that don't support this are serialized and stored with the
+ mimetype set.
+
+ The mimetype is used for serialized objects, and tells the
+ ResXResourceReader how to depersist the object. This is currently not
+ extensible. For a given mimetype the value must be set accordingly:
+
+ Note - application/x-microsoft.net.object.binary.base64 is the format
+ that the ResXResourceWriter will generate, however the reader can
+ read any of the formats listed below.
+
+ mimetype: application/x-microsoft.net.object.binary.base64
+ value : The object must be serialized with
+ : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
+ : and then encoded with base64 encoding.
+
+ mimetype: application/x-microsoft.net.object.soap.base64
+ value : The object must be serialized with
+ : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
+ : and then encoded with base64 encoding.
+
+ mimetype: application/x-microsoft.net.object.bytearray.base64
+ value : The object must be serialized into a byte array
+ : using a System.ComponentModel.TypeConverter
+ : and then encoded with base64 encoding.
+ -->
+ <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
+ <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
+ <xsd:element name="root" msdata:IsDataSet="true">
+ <xsd:complexType>
+ <xsd:choice maxOccurs="unbounded">
+ <xsd:element name="metadata">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element name="value" type="xsd:string" minOccurs="0" />
+ </xsd:sequence>
+ <xsd:attribute name="name" use="required" type="xsd:string" />
+ <xsd:attribute name="type" type="xsd:string" />
+ <xsd:attribute name="mimetype" type="xsd:string" />
+ <xsd:attribute ref="xml:space" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="assembly">
+ <xsd:complexType>
+ <xsd:attribute name="alias" type="xsd:string" />
+ <xsd:attribute name="name" type="xsd:string" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="data">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
+ <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
+ </xsd:sequence>
+ <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
+ <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
+ <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
+ <xsd:attribute ref="xml:space" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="resheader">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
+ </xsd:sequence>
+ <xsd:attribute name="name" type="xsd:string" use="required" />
+ </xsd:complexType>
+ </xsd:element>
+ </xsd:choice>
+ </xsd:complexType>
+ </xsd:element>
+ </xsd:schema>
+ <resheader name="resmimetype">
+ <value>text/microsoft-resx</value>
+ </resheader>
+ <resheader name="version">
+ <value>2.0</value>
+ </resheader>
+ <resheader name="reader">
+ <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+ </resheader>
+ <resheader name="writer">
+ <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+ </resheader>
+ <metadata name="statusStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
+ <value>17, 17</value>
+ </metadata>
+ <assembly alias="System.Drawing" name="System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
+ <data name="$this.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
+ <value>
+ AAABAAwAMDAQAAEABABoBgAAxgAAACAgEAABAAQA6AIAAC4HAAAYGBAAAQAEAOgBAAAWCgAAEBAQAAEA
+ BAAoAQAA/gsAADAwAAABAAgAqA4AACYNAAAgIAAAAQAIAKgIAADOGwAAGBgAAAEACADIBgAAdiQAABAQ
+ AAABAAgAaAUAAD4rAAAwMAAAAQAgAKglAACmMAAAICAAAAEAIACoEAAATlYAABgYAAABACAAiAkAAPZm
+ AAAQEAAAAQAgAGgEAAB+cAAAKAAAADAAAABgAAAAAQAEAAAAAACABAAAAAAAAAAAAAAAAAAAAAAAAAAA
+ AAAAAIAAAIAAAACAgACAAAAAgACAAICAAACAgIAA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FcAAAAAAAAAAAAAEdK8/i7
+ sba2vbpdeHh4eHhkXW7AtrW1jY2MjImJg4ODqGddnU9EAAAAAAAAAAAAUEfe+L+xtry8vexlZHh4eHh4
+ eF5wwbW1jY2NjYyJiYODtmVeXZpGRgAAAAAAAABWBwYXFRERERERERUCCg0jeHh4eHhduLe1oycPDg4O
+ Dg4OEQICAgwICVkAAAAAAAAZAAAAAAAAAAAAAAAAAAAADXh4eHhhasGjAwAAAAAAAAAAAAAAAAAAAEMA
+ AAAAANgZEhISEhISEhISEhISEgUACnV4eHh4XbqQAAQFEhISEhISEhISEhISBUPXAAAAAEvExMTExMTE
+ xMTExMTExMTCMHh4eGRfXbKxMcTExMTExMTExMTExMTExDRGAAAAAEjExMTExMTExMTExMTExMTExXhk
+ ZWWUsuqwxcTFxMTExMTExMTExMTExDpEAAAAq0jExMTExMTExMTExMTExMTFfGQfoeS+u7G7gcXExMTE
+ xMTExMTExMTExMhEWQAAUEj54p/FxMTExMTCMnR3d3l4dQsAAQAAAQGRvLGvnyZ2NsXExMTExMN8YpxO
+ RgAASEz+7b7FxMTExMQ4IWF4eGRkHAAEBAQEBAQQp7e9gl94JcLExMTExMN4ZHFXRAAASFv+7L7FxMTE
+ xMQ3Hl1dXV0fAS3ExMTExMQrKbbqXmR4JcLExMTExMN4ZF3XRAAASK786r7FxMTExMQ3bOPw8PQaK8TE
+ xMTExMTEFE3pXWR4JcTFxMTExMN4eF2tRADZSN746unFxMTExMQ31vj49T4UxMTExMTExMTEwhOSgl94
+ JcLExMTExMN4eF3SRNeuSN/46unFxMTExMTC7vj4mhPCxMTExMTExMTExDcWr2VfJcLExMTExMNfX13S
+ RlyuSN/495XFxMTExMTCleXuGDfExMTExMTExMTExMQzKrlqI8LExMTExMeWgnDdQlzZSN78k17ExMTE
+ xMU3Hm87M8TExMTExMrKxMTExMTEM1OyG8LExMTExMe2wfjeQtcASN7hXV3ExMTExMQ3IB0zxMTExMTE
+ yubjxsXExMTExC6OIzfExMTExMpqam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/wRd
+ b/8Ab5T/A3GO/0WZKP+pRT+4tlEwdVqCOv8Ab5L/AG+U/wBvlP8Bb5H/QJNN/8/Ic//+03T/qqxw/wFu
+ kv8Ab5T/AG+U/wJvjv9igDr/ojUsdWhCNRcDbZD9AG+U/wBvlP8AbpP/IIdW/1ShMP/t0nv/6cto//7K
+ U/93kGT/AG6T/wBvlP8Ab5T/E2eG9nQyLhcAAAAAj1dEd2+CTP8ykzn/vL14/1KWHf92pDT/nrRL/0uh
+ MP+5t0T/9sA+/9OuN//StEn/sZF7/4dCPXcAAAAAAAAAAGYtGQG6WTiggYw//1GVHf9+qj7/obJD/4Os
+ Pv86rUj/OqlB/4yqMv//y1H/3qV5/6pAL6BnJBsBAAAAAAAAAAAAAAAAaC4aAbhSL3epdkX26sOV/5Gs
+ P/8/miT/OaM0/0CgMv90lkH/xnhh9qxALHdpJhsBAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAkT8kGLdQ
+ L3m7YkO8smxG3rFrRt64XUO8sUkveZA4JRgAAAAAAAAAAAAAAAAAAAAA8A8AAOAHAADAAwAAgAEAAAAA
+ AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAgAEAAIABAADAAwAA8A8AAA==
+</value>
+ </data>
+</root>
\ No newline at end of file
Added: sandbox/maestro-3.0/MaestroFsPreview/Program.cs
===================================================================
--- sandbox/maestro-3.0/MaestroFsPreview/Program.cs (rev 0)
+++ sandbox/maestro-3.0/MaestroFsPreview/Program.cs 2010-10-13 02:09:06 UTC (rev 5277)
@@ -0,0 +1,52 @@
+#region Disclaimer / License
+// Copyright (C) 2010, 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.Windows.Forms;
+using OSGeo.MapGuide.MaestroAPI;
+using Maestro.Login;
+
+namespace MaestroFsPreview
+{
+ static class Program
+ {
+ /// <summary>
+ /// The main entry point for the application.
+ /// </summary>
+ [STAThread]
+ static void Main()
+ {
+ Application.EnableVisualStyles();
+ Application.SetCompatibleTextRenderingDefault(false);
+ IServerConnection conn = null;
+
+ var login = new LoginDialog();
+ if (login.ShowDialog() == System.Windows.Forms.DialogResult.OK)
+ {
+ conn = login.Connection;
+ }
+
+ if (conn == null)
+ return;
+
+ Application.Run(new MainForm(conn.FeatureService, conn.ResourceService));
+ }
+ }
+}
Added: sandbox/maestro-3.0/MaestroFsPreview/Properties/AssemblyInfo.cs
===================================================================
--- sandbox/maestro-3.0/MaestroFsPreview/Properties/AssemblyInfo.cs (rev 0)
+++ sandbox/maestro-3.0/MaestroFsPreview/Properties/AssemblyInfo.cs 2010-10-13 02:09:06 UTC (rev 5277)
@@ -0,0 +1,36 @@
+using System.Reflection;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+// General Information about an assembly is controlled through the following
+// set of attributes. Change these attribute values to modify the information
+// associated with an assembly.
+[assembly: AssemblyTitle("MaestroFsPreview")]
+[assembly: AssemblyDescription("")]
+[assembly: AssemblyConfiguration("")]
+[assembly: AssemblyCompany("Microsoft")]
+[assembly: AssemblyProduct("MaestroFsPreview")]
+[assembly: AssemblyCopyright("Copyright © Microsoft 2010")]
+[assembly: AssemblyTrademark("")]
+[assembly: AssemblyCulture("")]
+
+// Setting ComVisible to false makes the types in this assembly not visible
+// to COM components. If you need to access a type in this assembly from
+// COM, set the ComVisible attribute to true on that type.
+[assembly: ComVisible(false)]
+
+// The following GUID is for the ID of the typelib if this project is exposed to COM
+[assembly: Guid("34077c80-1352-4d9e-9a65-ad0a69646b8a")]
+
+// Version information for an assembly consists of the following four values:
+//
+// Major Version
+// Minor Version
+// Build Number
+// Revision
+//
+// You can specify all the values or you can default the Build and Revision Numbers
+// by using the '*' as shown below:
+// [assembly: AssemblyVersion("1.0.*")]
+[assembly: AssemblyVersion("1.0.0.0")]
+[assembly: AssemblyFileVersion("1.0.0.0")]
Added: sandbox/maestro-3.0/MaestroFsPreview/Properties/Resources.Designer.cs
===================================================================
--- sandbox/maestro-3.0/MaestroFsPreview/Properties/Resources.Designer.cs (rev 0)
+++ sandbox/maestro-3.0/MaestroFsPreview/Properties/Resources.Designer.cs 2010-10-13 02:09:06 UTC (rev 5277)
@@ -0,0 +1,71 @@
+//------------------------------------------------------------------------------
+// <auto-generated>
+// This code was generated by a tool.
+// Runtime Version:2.0.50727.4952
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
+// </auto-generated>
+//------------------------------------------------------------------------------
+
+namespace MaestroFsPreview.Properties
+{
+
+
+ /// <summary>
+ /// A strongly-typed resource class, for looking up localized strings, etc.
+ /// </summary>
+ // This class was auto-generated by the StronglyTypedResourceBuilder
+ // class via a tool like ResGen or Visual Studio.
+ // To add or remove a member, edit your .ResX file then rerun ResGen
+ // with the /str option, or rebuild your VS project.
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "2.0.0.0")]
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
+ internal class Resources
+ {
+
+ private static global::System.Resources.ResourceManager resourceMan;
+
+ private static global::System.Globalization.CultureInfo resourceCulture;
+
+ [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
+ internal Resources()
+ {
+ }
+
+ /// <summary>
+ /// Returns the cached ResourceManager instance used by this class.
+ /// </summary>
+ [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
+ internal static global::System.Resources.ResourceManager ResourceManager
+ {
+ get
+ {
+ if ((resourceMan == null))
+ {
+ global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("MaestroFsPreview.Properties.Resources", typeof(Resources).Assembly);
+ resourceMan = temp;
+ }
+ return resourceMan;
+ }
+ }
+
+ /// <summary>
+ /// Overrides the current thread's CurrentUICulture property for all
+ /// resource lookups using this strongly typed resource class.
+ /// </summary>
+ [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
+ internal static global::System.Globalization.CultureInfo Culture
+ {
+ get
+ {
+ return resourceCulture;
+ }
+ set
+ {
+ resourceCulture = value;
+ }
+ }
+ }
+}
Added: sandbox/maestro-3.0/MaestroFsPreview/Properties/Resources.resx
===================================================================
--- sandbox/maestro-3.0/MaestroFsPreview/Properties/Resources.resx (rev 0)
+++ sandbox/maestro-3.0/MaestroFsPreview/Properties/Resources.resx 2010-10-13 02:09:06 UTC (rev 5277)
@@ -0,0 +1,117 @@
+<?xml version="1.0" encoding="utf-8"?>
+<root>
+ <!--
+ Microsoft ResX Schema
+
+ Version 2.0
+
+ The primary goals of this format is to allow a simple XML format
+ that is mostly human readable. The generation and parsing of the
+ various data types are done through the TypeConverter classes
+ associated with the data types.
+
+ Example:
+
+ ... ado.net/XML headers & schema ...
+ <resheader name="resmimetype">text/microsoft-resx</resheader>
+ <resheader name="version">2.0</resheader>
+ <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
+ <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
+ <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
+ <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
+ <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
+ <value>[base64 mime encoded serialized .NET Framework object]</value>
+ </data>
+ <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
+ <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
+ <comment>This is a comment</comment>
+ </data>
+
+ There are any number of "resheader" rows that contain simple
+ name/value pairs.
+
+ Each data row contains a name, and value. The row also contains a
+ type or mimetype. Type corresponds to a .NET class that support
+ text/value conversion through the TypeConverter architecture.
+ Classes that don't support this are serialized and stored with the
+ mimetype set.
+
+ The mimetype is used for serialized objects, and tells the
+ ResXResourceReader how to depersist the object. This is currently not
+ extensible. For a given mimetype the value must be set accordingly:
+
+ Note - application/x-microsoft.net.object.binary.base64 is the format
+ that the ResXResourceWriter will generate, however the reader can
+ read any of the formats listed below.
+
+ mimetype: application/x-microsoft.net.object.binary.base64
+ value : The object must be serialized with
+ : System.Serialization.Formatters.Binary.BinaryFormatter
+ : and then encoded with base64 encoding.
+
+ mimetype: application/x-microsoft.net.object.soap.base64
+ value : The object must be serialized with
+ : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
+ : and then encoded with base64 encoding.
+
+ mimetype: application/x-microsoft.net.object.bytearray.base64
+ value : The object must be serialized into a byte array
+ : using a System.ComponentModel.TypeConverter
+ : and then encoded with base64 encoding.
+ -->
+ <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
+ <xsd:element name="root" msdata:IsDataSet="true">
+ <xsd:complexType>
+ <xsd:choice maxOccurs="unbounded">
+ <xsd:element name="metadata">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element name="value" type="xsd:string" minOccurs="0" />
+ </xsd:sequence>
+ <xsd:attribute name="name" type="xsd:string" />
+ <xsd:attribute name="type" type="xsd:string" />
+ <xsd:attribute name="mimetype" type="xsd:string" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="assembly">
+ <xsd:complexType>
+ <xsd:attribute name="alias" type="xsd:string" />
+ <xsd:attribute name="name" type="xsd:string" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="data">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
+ <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
+ </xsd:sequence>
+ <xsd:attribute name="name" type="xsd:string" msdata:Ordinal="1" />
+ <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
+ <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="resheader">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
+ </xsd:sequence>
+ <xsd:attribute name="name" type="xsd:string" use="required" />
+ </xsd:complexType>
+ </xsd:element>
+ </xsd:choice>
+ </xsd:complexType>
+ </xsd:element>
+ </xsd:schema>
+ <resheader name="resmimetype">
+ <value>text/microsoft-resx</value>
+ </resheader>
+ <resheader name="version">
+ <value>2.0</value>
+ </resheader>
+ <resheader name="reader">
+ <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+ </resheader>
+ <resheader name="writer">
+ <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+ </resheader>
+</root>
\ No newline at end of file
Added: sandbox/maestro-3.0/MaestroFsPreview/Properties/Settings.Designer.cs
===================================================================
--- sandbox/maestro-3.0/MaestroFsPreview/Properties/Settings.Designer.cs (rev 0)
+++ sandbox/maestro-3.0/MaestroFsPreview/Properties/Settings.Designer.cs 2010-10-13 02:09:06 UTC (rev 5277)
@@ -0,0 +1,30 @@
+//------------------------------------------------------------------------------
+// <auto-generated>
+// This code was generated by a tool.
+// Runtime Version:2.0.50727.4952
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
+// </auto-generated>
+//------------------------------------------------------------------------------
+
+namespace MaestroFsPreview.Properties
+{
+
+
+ [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "9.0.0.0")]
+ internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase
+ {
+
+ private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
+
+ public static Settings Default
+ {
+ get
+ {
+ return defaultInstance;
+ }
+ }
+ }
+}
Added: sandbox/maestro-3.0/MaestroFsPreview/Properties/Settings.settings
===================================================================
--- sandbox/maestro-3.0/MaestroFsPreview/Properties/Settings.settings (rev 0)
+++ sandbox/maestro-3.0/MaestroFsPreview/Properties/Settings.settings 2010-10-13 02:09:06 UTC (rev 5277)
@@ -0,0 +1,7 @@
+<?xml version='1.0' encoding='utf-8'?>
+<SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)">
+ <Profiles>
+ <Profile Name="(Default)" />
+ </Profiles>
+ <Settings />
+</SettingsFile>
Added: sandbox/maestro-3.0/MaestroFsPreview/app.config
===================================================================
--- sandbox/maestro-3.0/MaestroFsPreview/app.config (rev 0)
+++ sandbox/maestro-3.0/MaestroFsPreview/app.config 2010-10-13 02:09:06 UTC (rev 5277)
@@ -0,0 +1,3 @@
+<?xml version="1.0"?>
+<configuration>
+<startup><supportedRuntime version="v2.0.50727"/></startup></configuration>
Modified: sandbox/maestro-3.0/OSGeo.MapGuide.MaestroAPI/Feature/FeatureSourceDescription.cs
===================================================================
--- sandbox/maestro-3.0/OSGeo.MapGuide.MaestroAPI/Feature/FeatureSourceDescription.cs 2010-10-13 00:14:32 UTC (rev 5276)
+++ sandbox/maestro-3.0/OSGeo.MapGuide.MaestroAPI/Feature/FeatureSourceDescription.cs 2010-10-13 02:09:06 UTC (rev 5277)
@@ -35,8 +35,10 @@
/// </summary>
public class FeatureSourceDescription
{
- private ClassDefinition[] m_schemas;
+ private ClassDefinition[] m_classes;
+ private string[] m_schemaNames;
+
public FeatureSourceDescription(System.IO.Stream stream)
{
XmlDocument doc = new XmlDocument();
@@ -61,11 +63,11 @@
var keys = new Dictionary<string, string[]>();
var classMap = new Dictionary<string, ClassDefinition>();
XmlNodeList lst = root.SelectNodes("xs:schema/xs:complexType[@abstract='false']", mgr);
- m_schemas = new ClassDefinition[lst.Count];
- for (int i = 0; i < m_schemas.Length; i++)
+ m_classes = new ClassDefinition[lst.Count];
+ for (int i = 0; i < m_classes.Length; i++)
{
- m_schemas[i] = new ClassDefinition(lst[i], mgr);
- classMap.Add(m_schemas[i].QualifiedNameDecoded, m_schemas[i]);
+ m_classes[i] = new ClassDefinition(lst[i], mgr);
+ classMap.Add(m_classes[i].QualifiedNameDecoded, m_classes[i]);
}
XmlNodeList keyNodes = root.SelectNodes("xs:schema/xs:element[@abstract='false']", mgr);
foreach (XmlNode keyNode in keyNodes)
@@ -93,18 +95,29 @@
}
}
}
+
+ var snames = new List<string>();
+ foreach (string qn in classMap.Keys)
+ {
+ string[] tokens = qn.Split(':');
+ if (!snames.Contains(tokens[0]))
+ snames.Add(tokens[0]);
+ }
+ m_schemaNames = snames.ToArray();
}
- public ClassDefinition[] Classes { get { return m_schemas; } }
+ public string[] SchemaNames { get { return m_schemaNames; } }
- public ClassDefinition this[int index] { get { return m_schemas[index]; } }
+ public ClassDefinition[] Classes { get { return m_classes; } }
+
+ public ClassDefinition this[int index] { get { return m_classes[index]; } }
public ClassDefinition this[string index]
{
get
{
- for(int i =0 ;i<m_schemas.Length; i++)
- if (m_schemas[i].Name == index)
- return m_schemas[i];
+ for(int i =0 ;i<m_classes.Length; i++)
+ if (m_classes[i].Name == index)
+ return m_classes[i];
throw new OverflowException("No such item found: " + index);
}
More information about the mapguide-commits
mailing list