[mapguide-commits] r7048 - in trunk/Tools/Maestro: Maestro Maestro.Base Maestro.Base/Commands/SiteExplorer Maestro.Base/UI OSGeo.MapGuide.MaestroAPI
svn_mapguide at osgeo.org
svn_mapguide at osgeo.org
Thu Sep 27 05:46:36 PDT 2012
Author: jng
Date: 2012-09-27 05:46:35 -0700 (Thu, 27 Sep 2012)
New Revision: 7048
Added:
trunk/Tools/Maestro/Maestro.Base/Commands/SiteExplorer/CompileFullDependencyListCommand.cs
trunk/Tools/Maestro/Maestro.Base/UI/ResourceDependencyListDialog.Designer.cs
trunk/Tools/Maestro/Maestro.Base/UI/ResourceDependencyListDialog.cs
trunk/Tools/Maestro/Maestro.Base/UI/ResourceDependencyListDialog.resx
Modified:
trunk/Tools/Maestro/Maestro.Base/Maestro.Base.addin
trunk/Tools/Maestro/Maestro.Base/Maestro.Base.csproj
trunk/Tools/Maestro/Maestro.Base/Strings.Designer.cs
trunk/Tools/Maestro/Maestro.Base/Strings.resx
trunk/Tools/Maestro/Maestro/changelog.txt
trunk/Tools/Maestro/OSGeo.MapGuide.MaestroAPI/Strings.Designer.cs
trunk/Tools/Maestro/OSGeo.MapGuide.MaestroAPI/Strings.resx
Log:
Implement a command to compile a full dependency list for a selected set of resources
Modified: trunk/Tools/Maestro/Maestro/changelog.txt
===================================================================
--- trunk/Tools/Maestro/Maestro/changelog.txt 2012-09-25 14:25:20 UTC (rev 7047)
+++ trunk/Tools/Maestro/Maestro/changelog.txt 2012-09-27 12:46:35 UTC (rev 7048)
@@ -1,4 +1,6 @@
-5.0 Beta 4
+- New command to compile a full dependency list for a given set of resources
+
+5.0 Beta 4
----------
- New "address bar" for Resource IDs, allowing for quick navigation and identiifcation of Resource IDs.
@@ -38,7 +40,6 @@
- Fix: Restore missing checkbox for toggling Tiled Layer Group visibility in a Map Definition
- Fix: Duplicating vector scale ranges not creating true clones
- Fix: Prevent Map Definition groups from being dragged and dropped into its child groups/layers
-- Fix: Renaming a Map Definition group did not update any child groups.
- Fix: Allow tiled layers to be moved between different tiled layer groups
- Fix: Thread culture not transferred to background workers, resulting in english resources being returned if the background worker is doing localized resource lookups.
- Fix: Cannot add top-level aliased raster files to a Composite Raster Feature Source
Added: trunk/Tools/Maestro/Maestro.Base/Commands/SiteExplorer/CompileFullDependencyListCommand.cs
===================================================================
--- trunk/Tools/Maestro/Maestro.Base/Commands/SiteExplorer/CompileFullDependencyListCommand.cs (rev 0)
+++ trunk/Tools/Maestro/Maestro.Base/Commands/SiteExplorer/CompileFullDependencyListCommand.cs 2012-09-27 12:46:35 UTC (rev 7048)
@@ -0,0 +1,96 @@
+#region Disclaimer / License
+// Copyright (C) 2012, 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 ICSharpCode.Core;
+using Maestro.Base.Services;
+using Maestro.Base.UI;
+using Maestro.Shared.UI;
+using OSGeo.MapGuide.MaestroAPI;
+using OSGeo.MapGuide.MaestroAPI.Services;
+using OSGeo.MapGuide.ObjectModels.Common;
+using System;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Linq;
+using System.Text;
+using System.Xml;
+
+namespace Maestro.Base.Commands.SiteExplorer
+{
+ internal class CompileFullDependencyListCommand : AbstractMenuCommand
+ {
+ public override void Run()
+ {
+ var wb = Workbench.Instance;
+ var siteExp = wb.ActiveSiteExplorer;
+ var connMgr = ServiceRegistry.GetService<ServerConnectionManager>();
+ var conn = connMgr.GetConnection(wb.ActiveSiteExplorer.ConnectionName);
+
+ var items = siteExp.SelectedItems;
+ var prg = new ProgressDialog();
+ var results = (ICollection<string>)prg.RunOperationAsync(wb, DoBackgroundWorker, items, conn);
+
+ var list = new List<string>(results);
+ list.Sort();
+ new ResourceDependencyListDialog(list).Show(wb);
+ }
+
+ private static IEnumerable<string> GetDirectDependents(string resId, IResourceService resSvc)
+ {
+ using (var s = resSvc.GetResourceXmlData(resId))
+ {
+ XmlDocument doc = new XmlDocument();
+ doc.Load(s);
+
+ var matches = Utility.GetResourceIdPointers(doc);
+ return matches.Select(x => x.Value);
+ }
+ }
+
+ private static void ProcessDependencies(ICollection<string> results, string resourceId, IResourceService resSvc)
+ {
+ foreach (var resId in GetDirectDependents(resourceId, resSvc))
+ {
+ results.Add(resId);
+ ProcessDependencies(results, resId, resSvc);
+ }
+ }
+
+ private static object DoBackgroundWorker(BackgroundWorker wrk, DoWorkEventArgs e, params object[] args)
+ {
+ var items = (RepositoryItem[])args[0];
+ var conn = (IServerConnection)args[1];
+
+ LengthyOperationProgressCallBack cb = (o, pe) =>
+ {
+ wrk.ReportProgress(pe.Progress, o);
+ };
+
+ var result = new HashSet<string>();
+
+ foreach (var ri in items)
+ {
+ result.Add(ri.ResourceId);
+ ProcessDependencies(result, ri.ResourceId, conn.ResourceService);
+ }
+
+ return result;
+ }
+ }
+}
Modified: trunk/Tools/Maestro/Maestro.Base/Maestro.Base.addin
===================================================================
--- trunk/Tools/Maestro/Maestro.Base/Maestro.Base.addin 2012-09-25 14:25:20 UTC (rev 7047)
+++ trunk/Tools/Maestro/Maestro.Base/Maestro.Base.addin 2012-09-27 12:46:35 UTC (rev 7048)
@@ -592,6 +592,9 @@
<MenuItem id="EditRawDocumentHeader"
label="${res:EditRawHeader}"
class="Maestro.Base.Commands.SiteExplorer.EditResourceHeaderCommand" />
+ <MenuItem id="CompileDependencyList"
+ label="${res:SiteExplorer_SelectedItem_CompileDependencyList}"
+ class="Maestro.Base.Commands.SiteExplorer.CompileFullDependencyListCommand" />
<MenuItem type="Separator" />
<MenuItem id="Properties"
label="${res:SiteExplorer_SelectedItem_Properties}"
Modified: trunk/Tools/Maestro/Maestro.Base/Maestro.Base.csproj
===================================================================
--- trunk/Tools/Maestro/Maestro.Base/Maestro.Base.csproj 2012-09-25 14:25:20 UTC (rev 7047)
+++ trunk/Tools/Maestro/Maestro.Base/Maestro.Base.csproj 2012-09-27 12:46:35 UTC (rev 7048)
@@ -72,6 +72,7 @@
<Compile Include="Commands\CacheViewerCommand.cs" />
<Compile Include="Commands\CloseActiveDocumentCommand.cs" />
<Compile Include="Commands\CloseAllDocumentsCommand.cs" />
+ <Compile Include="Commands\SiteExplorer\CompileFullDependencyListCommand.cs" />
<Compile Include="Commands\Conditions\ActiveEditorConditionEvaluator.cs" />
<Compile Include="Commands\Conditions\CloseableDocumentConditionEvaluator.cs" />
<Compile Include="Commands\Conditions\ActiveEditorTypeConditionEvaluator.cs" />
@@ -389,6 +390,12 @@
<DependentUpon>RepointerDialog.cs</DependentUpon>
</Compile>
<Compile Include="UI\RepositoryTreeModel.cs" />
+ <Compile Include="UI\ResourceDependencyListDialog.cs">
+ <SubType>Form</SubType>
+ </Compile>
+ <Compile Include="UI\ResourceDependencyListDialog.Designer.cs">
+ <DependentUpon>ResourceDependencyListDialog.cs</DependentUpon>
+ </Compile>
<Compile Include="UI\ResourceHeaderXmlDialog.cs">
<SubType>Form</SubType>
</Compile>
@@ -619,6 +626,9 @@
<EmbeddedResource Include="UI\RepointerDialog.resx">
<DependentUpon>RepointerDialog.cs</DependentUpon>
</EmbeddedResource>
+ <EmbeddedResource Include="UI\ResourceDependencyListDialog.resx">
+ <DependentUpon>ResourceDependencyListDialog.cs</DependentUpon>
+ </EmbeddedResource>
<EmbeddedResource Include="UI\ResourceHeaderXmlDialog.resx">
<DependentUpon>ResourceHeaderXmlDialog.cs</DependentUpon>
</EmbeddedResource>
Modified: trunk/Tools/Maestro/Maestro.Base/Strings.Designer.cs
===================================================================
--- trunk/Tools/Maestro/Maestro.Base/Strings.Designer.cs 2012-09-25 14:25:20 UTC (rev 7047)
+++ trunk/Tools/Maestro/Maestro.Base/Strings.Designer.cs 2012-09-27 12:46:35 UTC (rev 7048)
@@ -1988,6 +1988,15 @@
}
/// <summary>
+ /// Looks up a localized string similar to Compile Full Dependency List.
+ /// </summary>
+ internal static string SiteExplorer_SelectedItem_CompileDependencyList {
+ get {
+ return ResourceManager.GetString("SiteExplorer_SelectedItem_CompileDependencyList", resourceCulture);
+ }
+ }
+
+ /// <summary>
/// Looks up a localized string similar to Copy selected item(s).
/// </summary>
internal static string SiteExplorer_SelectedItem_Copy {
Modified: trunk/Tools/Maestro/Maestro.Base/Strings.resx
===================================================================
--- trunk/Tools/Maestro/Maestro.Base/Strings.resx 2012-09-25 14:25:20 UTC (rev 7047)
+++ trunk/Tools/Maestro/Maestro.Base/Strings.resx 2012-09-27 12:46:35 UTC (rev 7048)
@@ -983,4 +983,7 @@
<data name="Label_OpenResource" xml:space="preserve">
<value>Open this resource</value>
</data>
+ <data name="SiteExplorer_SelectedItem_CompileDependencyList" xml:space="preserve">
+ <value>Compile Full Dependency List</value>
+ </data>
</root>
\ No newline at end of file
Added: trunk/Tools/Maestro/Maestro.Base/UI/ResourceDependencyListDialog.Designer.cs
===================================================================
--- trunk/Tools/Maestro/Maestro.Base/UI/ResourceDependencyListDialog.Designer.cs (rev 0)
+++ trunk/Tools/Maestro/Maestro.Base/UI/ResourceDependencyListDialog.Designer.cs 2012-09-27 12:46:35 UTC (rev 7048)
@@ -0,0 +1,86 @@
+namespace Maestro.Base.UI
+{
+ partial class ResourceDependencyListDialog
+ {
+ /// <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(ResourceDependencyListDialog));
+ this.label1 = new System.Windows.Forms.Label();
+ this.lstDependencies = new System.Windows.Forms.ListBox();
+ this.btnSave = new System.Windows.Forms.Button();
+ this.btnClose = new System.Windows.Forms.Button();
+ this.SuspendLayout();
+ //
+ // label1
+ //
+ resources.ApplyResources(this.label1, "label1");
+ this.label1.Name = "label1";
+ //
+ // lstDependencies
+ //
+ resources.ApplyResources(this.lstDependencies, "lstDependencies");
+ this.lstDependencies.FormattingEnabled = true;
+ this.lstDependencies.Name = "lstDependencies";
+ //
+ // btnSave
+ //
+ resources.ApplyResources(this.btnSave, "btnSave");
+ this.btnSave.Name = "btnSave";
+ this.btnSave.UseVisualStyleBackColor = true;
+ this.btnSave.Click += new System.EventHandler(this.btnSave_Click);
+ //
+ // btnClose
+ //
+ resources.ApplyResources(this.btnClose, "btnClose");
+ this.btnClose.Name = "btnClose";
+ this.btnClose.UseVisualStyleBackColor = true;
+ this.btnClose.Click += new System.EventHandler(this.btnClose_Click);
+ //
+ // ResourceDependencyListDialog
+ //
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
+ resources.ApplyResources(this, "$this");
+ this.ControlBox = false;
+ this.Controls.Add(this.btnClose);
+ this.Controls.Add(this.btnSave);
+ this.Controls.Add(this.lstDependencies);
+ this.Controls.Add(this.label1);
+ this.Name = "ResourceDependencyListDialog";
+ this.ShowIcon = false;
+ this.ResumeLayout(false);
+ this.PerformLayout();
+
+ }
+
+ #endregion
+
+ private System.Windows.Forms.Label label1;
+ private System.Windows.Forms.ListBox lstDependencies;
+ private System.Windows.Forms.Button btnSave;
+ private System.Windows.Forms.Button btnClose;
+ }
+}
\ No newline at end of file
Added: trunk/Tools/Maestro/Maestro.Base/UI/ResourceDependencyListDialog.cs
===================================================================
--- trunk/Tools/Maestro/Maestro.Base/UI/ResourceDependencyListDialog.cs (rev 0)
+++ trunk/Tools/Maestro/Maestro.Base/UI/ResourceDependencyListDialog.cs 2012-09-27 12:46:35 UTC (rev 7048)
@@ -0,0 +1,66 @@
+#region Disclaimer / License
+// Copyright (C) 2012, 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 Maestro.Shared.UI;
+using OSGeo.MapGuide.MaestroAPI;
+using System;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Data;
+using System.Drawing;
+using System.Linq;
+using System.Text;
+using System.Windows.Forms;
+
+namespace Maestro.Base.UI
+{
+ internal partial class ResourceDependencyListDialog : Form
+ {
+ private ResourceDependencyListDialog()
+ {
+ InitializeComponent();
+ }
+
+ private IList<string> _items;
+
+ public ResourceDependencyListDialog(IList<string> items)
+ : this()
+ {
+ _items = items;
+ lstDependencies.DataSource = _items;
+ }
+
+ private void btnClose_Click(object sender, EventArgs e)
+ {
+ this.Close();
+ }
+
+ private void btnSave_Click(object sender, EventArgs e)
+ {
+ using (var save = DialogFactory.SaveFile())
+ {
+ save.Filter = string.Format(OSGeo.MapGuide.MaestroAPI.Strings.GenericFilter, OSGeo.MapGuide.MaestroAPI.Strings.PickTxt, "txt"); //NOXLATE
+ if (save.ShowDialog() == System.Windows.Forms.DialogResult.OK)
+ {
+ System.IO.File.WriteAllLines(save.FileName, _items);
+ }
+ }
+ }
+ }
+}
Added: trunk/Tools/Maestro/Maestro.Base/UI/ResourceDependencyListDialog.resx
===================================================================
--- trunk/Tools/Maestro/Maestro.Base/UI/ResourceDependencyListDialog.resx (rev 0)
+++ trunk/Tools/Maestro/Maestro.Base/UI/ResourceDependencyListDialog.resx 2012-09-27 12:46:35 UTC (rev 7048)
@@ -0,0 +1,246 @@
+<?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=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+ </resheader>
+ <resheader name="writer">
+ <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+ </resheader>
+ <assembly alias="mscorlib" name="mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
+ <data name="label1.AutoSize" type="System.Boolean, mscorlib">
+ <value>True</value>
+ </data>
+ <assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
+ <data name="label1.Location" type="System.Drawing.Point, System.Drawing">
+ <value>13, 13</value>
+ </data>
+ <data name="label1.Size" type="System.Drawing.Size, System.Drawing">
+ <value>297, 13</value>
+ </data>
+ <data name="label1.TabIndex" type="System.Int32, mscorlib">
+ <value>0</value>
+ </data>
+ <data name="label1.Text" xml:space="preserve">
+ <value>All dependent resources of the selected items are listed below</value>
+ </data>
+ <data name=">>label1.Name" xml:space="preserve">
+ <value>label1</value>
+ </data>
+ <data name=">>label1.Type" xml:space="preserve">
+ <value>System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+ </data>
+ <data name=">>label1.Parent" xml:space="preserve">
+ <value>$this</value>
+ </data>
+ <data name=">>label1.ZOrder" xml:space="preserve">
+ <value>3</value>
+ </data>
+ <assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
+ <data name="lstDependencies.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
+ <value>Top, Bottom, Left, Right</value>
+ </data>
+ <data name="lstDependencies.Location" type="System.Drawing.Point, System.Drawing">
+ <value>12, 45</value>
+ </data>
+ <data name="lstDependencies.Size" type="System.Drawing.Size, System.Drawing">
+ <value>401, 316</value>
+ </data>
+ <data name="lstDependencies.TabIndex" type="System.Int32, mscorlib">
+ <value>1</value>
+ </data>
+ <data name=">>lstDependencies.Name" xml:space="preserve">
+ <value>lstDependencies</value>
+ </data>
+ <data name=">>lstDependencies.Type" xml:space="preserve">
+ <value>System.Windows.Forms.ListBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+ </data>
+ <data name=">>lstDependencies.Parent" xml:space="preserve">
+ <value>$this</value>
+ </data>
+ <data name=">>lstDependencies.ZOrder" xml:space="preserve">
+ <value>2</value>
+ </data>
+ <data name="btnSave.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
+ <value>Bottom, Left</value>
+ </data>
+ <data name="btnSave.Location" type="System.Drawing.Point, System.Drawing">
+ <value>12, 378</value>
+ </data>
+ <data name="btnSave.Size" type="System.Drawing.Size, System.Drawing">
+ <value>75, 23</value>
+ </data>
+ <data name="btnSave.TabIndex" type="System.Int32, mscorlib">
+ <value>2</value>
+ </data>
+ <data name="btnSave.Text" xml:space="preserve">
+ <value>Save</value>
+ </data>
+ <data name=">>btnSave.Name" xml:space="preserve">
+ <value>btnSave</value>
+ </data>
+ <data name=">>btnSave.Type" xml:space="preserve">
+ <value>System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+ </data>
+ <data name=">>btnSave.Parent" xml:space="preserve">
+ <value>$this</value>
+ </data>
+ <data name=">>btnSave.ZOrder" xml:space="preserve">
+ <value>1</value>
+ </data>
+ <data name="btnClose.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
+ <value>Bottom, Right</value>
+ </data>
+ <data name="btnClose.Location" type="System.Drawing.Point, System.Drawing">
+ <value>338, 378</value>
+ </data>
+ <data name="btnClose.Size" type="System.Drawing.Size, System.Drawing">
+ <value>75, 23</value>
+ </data>
+ <data name="btnClose.TabIndex" type="System.Int32, mscorlib">
+ <value>3</value>
+ </data>
+ <data name="btnClose.Text" xml:space="preserve">
+ <value>Close</value>
+ </data>
+ <data name=">>btnClose.Name" xml:space="preserve">
+ <value>btnClose</value>
+ </data>
+ <data name=">>btnClose.Type" xml:space="preserve">
+ <value>System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+ </data>
+ <data name=">>btnClose.Parent" xml:space="preserve">
+ <value>$this</value>
+ </data>
+ <data name=">>btnClose.ZOrder" xml:space="preserve">
+ <value>0</value>
+ </data>
+ <metadata name="$this.Localizable" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+ <value>True</value>
+ </metadata>
+ <data name="$this.ClientSize" type="System.Drawing.Size, System.Drawing">
+ <value>425, 413</value>
+ </data>
+ <data name="$this.StartPosition" type="System.Windows.Forms.FormStartPosition, System.Windows.Forms">
+ <value>CenterParent</value>
+ </data>
+ <data name="$this.Text" xml:space="preserve">
+ <value>Resource Dependencies</value>
+ </data>
+ <data name=">>$this.Name" xml:space="preserve">
+ <value>ResourceDependencyListDialog</value>
+ </data>
+ <data name=">>$this.Type" xml:space="preserve">
+ <value>System.Windows.Forms.Form, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+ </data>
+</root>
\ No newline at end of file
Modified: trunk/Tools/Maestro/OSGeo.MapGuide.MaestroAPI/Strings.Designer.cs
===================================================================
--- trunk/Tools/Maestro/OSGeo.MapGuide.MaestroAPI/Strings.Designer.cs 2012-09-25 14:25:20 UTC (rev 7047)
+++ trunk/Tools/Maestro/OSGeo.MapGuide.MaestroAPI/Strings.Designer.cs 2012-09-27 12:46:35 UTC (rev 7048)
@@ -2070,6 +2070,15 @@
}
/// <summary>
+ /// Looks up a localized string similar to Text Files.
+ /// </summary>
+ public static string PickTxt {
+ get {
+ return ResourceManager.GetString("PickTxt", resourceCulture);
+ }
+ }
+
+ /// <summary>
/// Looks up a localized string similar to XML Files.
/// </summary>
public static string PickXml {
Modified: trunk/Tools/Maestro/OSGeo.MapGuide.MaestroAPI/Strings.resx
===================================================================
--- trunk/Tools/Maestro/OSGeo.MapGuide.MaestroAPI/Strings.resx 2012-09-25 14:25:20 UTC (rev 7047)
+++ trunk/Tools/Maestro/OSGeo.MapGuide.MaestroAPI/Strings.resx 2012-09-27 12:46:35 UTC (rev 7048)
@@ -3339,4 +3339,7 @@
<data name="PickPy" xml:space="preserve">
<value>Python Scripts</value>
</data>
+ <data name="PickTxt" xml:space="preserve">
+ <value>Text Files</value>
+ </data>
</root>
\ No newline at end of file
More information about the mapguide-commits
mailing list