[mapguide-commits] r6638 - in trunk/Tools/Maestro: Maestro
Maestro.Base Maestro.Base/Commands Maestro.Base/Editor
Maestro.Base/Properties Maestro.Editors
Maestro.Editors/MapDefinition Maestro.Editors/Properties
Maestro.Editors/SymbolDefinition
svn_mapguide at osgeo.org
svn_mapguide at osgeo.org
Wed May 9 11:06:45 EDT 2012
Author: jng
Date: 2012-05-09 08:06:45 -0700 (Wed, 09 May 2012)
New Revision: 6638
Modified:
trunk/Tools/Maestro/Maestro.Base/Commands/MgCookerCommand.cs
trunk/Tools/Maestro/Maestro.Base/Editor/ResourceEditorService.cs
trunk/Tools/Maestro/Maestro.Base/Properties/Resources.Designer.cs
trunk/Tools/Maestro/Maestro.Base/Properties/Resources.resx
trunk/Tools/Maestro/Maestro.Base/Workbench.cs
trunk/Tools/Maestro/Maestro.Editors/IEditorService.cs
trunk/Tools/Maestro/Maestro.Editors/MapDefinition/MapLayersSectionCtrl.Designer.cs
trunk/Tools/Maestro/Maestro.Editors/MapDefinition/MapLayersSectionCtrl.cs
trunk/Tools/Maestro/Maestro.Editors/MapDefinition/MapLayersSectionCtrl.resx
trunk/Tools/Maestro/Maestro.Editors/Properties/Resources.Designer.cs
trunk/Tools/Maestro/Maestro.Editors/Properties/Resources.resx
trunk/Tools/Maestro/Maestro.Editors/ResourceEditorServiceBase.cs
trunk/Tools/Maestro/Maestro.Editors/SymbolDefinition/SymbolEditorService.cs
trunk/Tools/Maestro/Maestro/changelog.txt
Log:
#1992, #1993: Port forward r6337 to trunk. Also fix ActiveEditor workbench property returning null due to DockPanelSuite integration
Modified: trunk/Tools/Maestro/Maestro/changelog.txt
===================================================================
--- trunk/Tools/Maestro/Maestro/changelog.txt 2012-05-09 14:53:28 UTC (rev 6637)
+++ trunk/Tools/Maestro/Maestro/changelog.txt 2012-05-09 15:06:45 UTC (rev 6638)
@@ -16,6 +16,9 @@
- Http Connection Provider supports a GeoREST url parameter, which allows for feature manipulation support
- New command to open sources by entering its resource id
- New shortcut buttons to jump from Layer Definition to Feature/Drawing Source
+ - Fix: Missing [Convert Base Layer Group to Regular Group] and [Start MgCooker] buttons in Map Definition Editor
+ - Fix: Raster layer advanced settings not saving.
+ - Fix: Groups/Layer info in Map Definition editor not updating via up/down keypress
- Fix: Row/Column mismatch in GetTile API (http implemenation)
- Fix: MgCooker crashes with Map Definitions whose schema version is > 1.0.0
- Fix: Incorrect RuntimeMapLayer property initialization for tiled maps
Modified: trunk/Tools/Maestro/Maestro.Base/Commands/MgCookerCommand.cs
===================================================================
--- trunk/Tools/Maestro/Maestro.Base/Commands/MgCookerCommand.cs 2012-05-09 14:53:28 UTC (rev 6637)
+++ trunk/Tools/Maestro/Maestro.Base/Commands/MgCookerCommand.cs 2012-05-09 15:06:45 UTC (rev 6638)
@@ -32,6 +32,11 @@
{
public override void Run()
{
+ RunCooker();
+ }
+
+ internal static void RunCooker(params string [] args)
+ {
string exe = PropertyService.Get(ConfigProperties.MgCookerPath, "");
if (!File.Exists(exe))
@@ -50,6 +55,7 @@
var procInfo = new ProcessStartInfo(exe);
procInfo.WorkingDirectory = Path.GetDirectoryName(exe);
+ procInfo.Arguments = string.Join(" ", args);
var proc = Process.Start(procInfo);
}
}
Modified: trunk/Tools/Maestro/Maestro.Base/Editor/ResourceEditorService.cs
===================================================================
--- trunk/Tools/Maestro/Maestro.Base/Editor/ResourceEditorService.cs 2012-05-09 14:53:28 UTC (rev 6637)
+++ trunk/Tools/Maestro/Maestro.Base/Editor/ResourceEditorService.cs 2012-05-09 15:06:45 UTC (rev 6638)
@@ -79,5 +79,18 @@
{
_orm.Open(resourceId, _conn, false, _siteExp);
}
+
+ public override void RunProcess(string processName, params string[] args)
+ {
+ //HACK: Yeah yeah
+ if (processName.ToLower() == "mgcooker")
+ {
+ Maestro.Base.Commands.MgCookerCommand.RunCooker(args);
+ }
+ else
+ {
+ throw new ApplicationException(string.Format(Properties.Resources.ErrorUnknownExecutable, processName));
+ }
+ }
}
}
Modified: trunk/Tools/Maestro/Maestro.Base/Properties/Resources.Designer.cs
===================================================================
--- trunk/Tools/Maestro/Maestro.Base/Properties/Resources.Designer.cs 2012-05-09 14:53:28 UTC (rev 6637)
+++ trunk/Tools/Maestro/Maestro.Base/Properties/Resources.Designer.cs 2012-05-09 15:06:45 UTC (rev 6638)
@@ -723,6 +723,15 @@
}
/// <summary>
+ /// Looks up a localized string similar to Unknown executable specified: {0}.
+ /// </summary>
+ internal static string ErrorUnknownExecutable {
+ get {
+ return ResourceManager.GetString("ErrorUnknownExecutable", resourceCulture);
+ }
+ }
+
+ /// <summary>
/// Looks up a localized string similar to Autodesk DWF (*.dwf)|*.dwf.
/// </summary>
internal static string Filter_Dwf_Files {
Modified: trunk/Tools/Maestro/Maestro.Base/Properties/Resources.resx
===================================================================
--- trunk/Tools/Maestro/Maestro.Base/Properties/Resources.resx 2012-05-09 14:53:28 UTC (rev 6637)
+++ trunk/Tools/Maestro/Maestro.Base/Properties/Resources.resx 2012-05-09 15:06:45 UTC (rev 6638)
@@ -1151,4 +1151,7 @@
<data name="icon_document" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\icon_document.ico;System.Drawing.Icon, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
+ <data name="ErrorUnknownExecutable" xml:space="preserve">
+ <value>Unknown executable specified: {0}</value>
+ </data>
</root>
\ No newline at end of file
Modified: trunk/Tools/Maestro/Maestro.Base/Workbench.cs
===================================================================
--- trunk/Tools/Maestro/Maestro.Base/Workbench.cs 2012-05-09 14:53:28 UTC (rev 6637)
+++ trunk/Tools/Maestro/Maestro.Base/Workbench.cs 2012-05-09 15:06:45 UTC (rev 6638)
@@ -88,24 +88,11 @@
public IEditorViewContent ActiveEditor
{
- get;
- private set;
+ get { return this.ActiveDocumentView as IEditorViewContent; }
}
protected override void OnViewActivated(object sender, IViewContent content)
{
- //If a site explorer was activated, update our active site explorer property
- //var exp = content as ISiteExplorer;
- //if (exp != null)
- //{
- // this.ActiveSiteExplorer = exp;
- //}
-
- var editor = content as IEditorViewContent;
- if (editor != null)
- {
- this.ActiveEditor = editor;
- }
}
public Workbench(IWorkbenchInitializer init) : base(init) { }
Modified: trunk/Tools/Maestro/Maestro.Editors/IEditorService.cs
===================================================================
--- trunk/Tools/Maestro/Maestro.Editors/IEditorService.cs 2012-05-09 14:53:28 UTC (rev 6637)
+++ trunk/Tools/Maestro/Maestro.Editors/IEditorService.cs 2012-05-09 15:06:45 UTC (rev 6638)
@@ -246,5 +246,12 @@
/// <param name="name"></param>
/// <returns></returns>
object GetCustomProperty(string name);
+
+ /// <summary>
+ /// Invokes the specified process name with the specified arguments
+ /// </summary>
+ /// <param name="processName"></param>
+ /// <param name="args"></param>
+ void RunProcess(string processName, params string[] args);
}
}
Modified: trunk/Tools/Maestro/Maestro.Editors/MapDefinition/MapLayersSectionCtrl.Designer.cs
===================================================================
--- trunk/Tools/Maestro/Maestro.Editors/MapDefinition/MapLayersSectionCtrl.Designer.cs 2012-05-09 14:53:28 UTC (rev 6637)
+++ trunk/Tools/Maestro/Maestro.Editors/MapDefinition/MapLayersSectionCtrl.Designer.cs 2012-05-09 15:06:45 UTC (rev 6638)
@@ -71,6 +71,9 @@
this.toolStripSeparator4 = new System.Windows.Forms.ToolStripSeparator();
this.btnMoveBaseLayerUp = new System.Windows.Forms.ToolStripButton();
this.btnMoveBaseLayerDown = new System.Windows.Forms.ToolStripButton();
+ this.toolStripSeparator8 = new System.Windows.Forms.ToolStripSeparator();
+ this.btnBaseLayerGroupToRegular = new System.Windows.Forms.ToolStripButton();
+ this.btnInvokeMgCooker = new System.Windows.Forms.ToolStripButton();
this.splitter1 = new System.Windows.Forms.Splitter();
this.propertiesPanel = new System.Windows.Forms.Panel();
this.contentPanel.SuspendLayout();
@@ -121,12 +124,12 @@
this.trvLayersGroup.NodeControls.Add(this.NODE_GROUP_ICON);
this.trvLayersGroup.NodeControls.Add(this.NODE_GROUP_TEXT);
this.trvLayersGroup.SelectedNode = null;
- this.trvLayersGroup.ItemDrag += new System.Windows.Forms.ItemDragEventHandler(this.trvLayersGroup_ItemDrag);
+ this.trvLayersGroup.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.trvLayersGroup_MouseDoubleClick);
+ this.trvLayersGroup.DragOver += new System.Windows.Forms.DragEventHandler(this.trvLayersGroup_DragOver);
+ this.trvLayersGroup.MouseClick += new System.Windows.Forms.MouseEventHandler(this.trvLayersGroup_MouseClick);
this.trvLayersGroup.DragDrop += new System.Windows.Forms.DragEventHandler(this.trvLayersGroup_DragDrop);
this.trvLayersGroup.DragEnter += new System.Windows.Forms.DragEventHandler(this.trvLayersGroup_DragEnter);
- this.trvLayersGroup.DragOver += new System.Windows.Forms.DragEventHandler(this.trvLayersGroup_DragOver);
- this.trvLayersGroup.MouseClick += new System.Windows.Forms.MouseEventHandler(this.trvLayersGroup_MouseClick);
- this.trvLayersGroup.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.trvLayersGroup_MouseDoubleClick);
+ this.trvLayersGroup.ItemDrag += new System.Windows.Forms.ItemDragEventHandler(this.trvLayersGroup_ItemDrag);
//
// NODE_GROUP_ICON
//
@@ -251,12 +254,12 @@
this.trvLayerDrawingOrder.NodeControls.Add(this.NODE_DRAW_ICON);
this.trvLayerDrawingOrder.NodeControls.Add(this.NODE_DRAW_TEXT);
this.trvLayerDrawingOrder.SelectedNode = null;
- this.trvLayerDrawingOrder.ItemDrag += new System.Windows.Forms.ItemDragEventHandler(this.trvLayerDrawingOrder_ItemDrag);
+ this.trvLayerDrawingOrder.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.trvLayerDrawingOrder_MouseDoubleClick);
+ this.trvLayerDrawingOrder.DragOver += new System.Windows.Forms.DragEventHandler(this.trvLayerDrawingOrder_DragOver);
+ this.trvLayerDrawingOrder.MouseClick += new System.Windows.Forms.MouseEventHandler(this.trvLayerDrawingOrder_MouseClick);
this.trvLayerDrawingOrder.DragDrop += new System.Windows.Forms.DragEventHandler(this.trvLayerDrawingOrder_DragDrop);
this.trvLayerDrawingOrder.DragEnter += new System.Windows.Forms.DragEventHandler(this.trvLayerDrawingOrder_DragEnter);
- this.trvLayerDrawingOrder.DragOver += new System.Windows.Forms.DragEventHandler(this.trvLayerDrawingOrder_DragOver);
- this.trvLayerDrawingOrder.MouseClick += new System.Windows.Forms.MouseEventHandler(this.trvLayerDrawingOrder_MouseClick);
- this.trvLayerDrawingOrder.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.trvLayerDrawingOrder_MouseDoubleClick);
+ this.trvLayerDrawingOrder.ItemDrag += new System.Windows.Forms.ItemDragEventHandler(this.trvLayerDrawingOrder_ItemDrag);
//
// NODE_DRAW_ICON
//
@@ -366,12 +369,12 @@
this.trvBaseLayers.NodeControls.Add(this.nodeIcon1);
this.trvBaseLayers.NodeControls.Add(this.nodeTextBox1);
this.trvBaseLayers.SelectedNode = null;
- this.trvBaseLayers.ItemDrag += new System.Windows.Forms.ItemDragEventHandler(this.trvBaseLayers_ItemDrag);
+ this.trvBaseLayers.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.trvBaseLayers_MouseDoubleClick);
+ this.trvBaseLayers.DragOver += new System.Windows.Forms.DragEventHandler(this.trvBaseLayers_DragOver);
+ this.trvBaseLayers.MouseClick += new System.Windows.Forms.MouseEventHandler(this.trvBaseLayers_MouseClick);
this.trvBaseLayers.DragDrop += new System.Windows.Forms.DragEventHandler(this.trvBaseLayers_DragDrop);
this.trvBaseLayers.DragEnter += new System.Windows.Forms.DragEventHandler(this.trvBaseLayers_DragEnter);
- this.trvBaseLayers.DragOver += new System.Windows.Forms.DragEventHandler(this.trvBaseLayers_DragOver);
- this.trvBaseLayers.MouseClick += new System.Windows.Forms.MouseEventHandler(this.trvBaseLayers_MouseClick);
- this.trvBaseLayers.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.trvBaseLayers_MouseDoubleClick);
+ this.trvBaseLayers.ItemDrag += new System.Windows.Forms.ItemDragEventHandler(this.trvBaseLayers_ItemDrag);
//
// nodeIcon1
//
@@ -397,7 +400,10 @@
this.btnRemoveBaseLayer,
this.toolStripSeparator4,
this.btnMoveBaseLayerUp,
- this.btnMoveBaseLayerDown});
+ this.btnMoveBaseLayerDown,
+ this.toolStripSeparator8,
+ this.btnBaseLayerGroupToRegular,
+ this.btnInvokeMgCooker});
resources.ApplyResources(this.toolStrip3, "toolStrip3");
this.toolStrip3.Name = "toolStrip3";
//
@@ -459,6 +465,26 @@
this.btnMoveBaseLayerDown.Name = "btnMoveBaseLayerDown";
this.btnMoveBaseLayerDown.Click += new System.EventHandler(this.btnMoveBaseLayerDown_Click);
//
+ // toolStripSeparator8
+ //
+ this.toolStripSeparator8.Name = "toolStripSeparator8";
+ resources.ApplyResources(this.toolStripSeparator8, "toolStripSeparator8");
+ //
+ // btnBaseLayerGroupToRegular
+ //
+ this.btnBaseLayerGroupToRegular.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
+ resources.ApplyResources(this.btnBaseLayerGroupToRegular, "btnBaseLayerGroupToRegular");
+ this.btnBaseLayerGroupToRegular.Image = global::Maestro.Editors.Properties.Resources.arrow_curve_180_left;
+ this.btnBaseLayerGroupToRegular.Name = "btnBaseLayerGroupToRegular";
+ this.btnBaseLayerGroupToRegular.Click += new System.EventHandler(this.btnBaseGroupToRegular_Click);
+ //
+ // btnInvokeMgCooker
+ //
+ this.btnInvokeMgCooker.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
+ resources.ApplyResources(this.btnInvokeMgCooker, "btnInvokeMgCooker");
+ this.btnInvokeMgCooker.Name = "btnInvokeMgCooker";
+ this.btnInvokeMgCooker.Click += new System.EventHandler(this.btnInvokeMgCooker_Click);
+ //
// splitter1
//
resources.ApplyResources(this.splitter1, "splitter1");
@@ -539,5 +565,8 @@
private System.Windows.Forms.ToolStripButton btnMoveGroupUp;
private System.Windows.Forms.ToolStripButton btnMoveGroupDown;
private System.Windows.Forms.ToolStripSeparator toolStripSeparator7;
+ private System.Windows.Forms.ToolStripSeparator toolStripSeparator8;
+ private System.Windows.Forms.ToolStripButton btnBaseLayerGroupToRegular;
+ private System.Windows.Forms.ToolStripButton btnInvokeMgCooker;
}
}
Modified: trunk/Tools/Maestro/Maestro.Editors/MapDefinition/MapLayersSectionCtrl.cs
===================================================================
--- trunk/Tools/Maestro/Maestro.Editors/MapDefinition/MapLayersSectionCtrl.cs 2012-05-09 14:53:28 UTC (rev 6637)
+++ trunk/Tools/Maestro/Maestro.Editors/MapDefinition/MapLayersSectionCtrl.cs 2012-05-09 15:06:45 UTC (rev 6638)
@@ -371,6 +371,45 @@
}
}
+ private void btnBaseGroupToRegular_Click(object sender, EventArgs e)
+ {
+ var group = GetSelectedTiledLayerItem() as BaseLayerGroupItem;
+ if (group != null)
+ {
+ int counter = 0;
+ string groupName = group.Tag.Name;
+ while (_map.GetGroupByName(groupName) != null)
+ {
+ counter++;
+ groupName = group.Tag.Name + "(" + counter + ")";
+ }
+ _map.AddGroup(groupName);
+ int layerCount = _map.GetLayerCount();
+ foreach (var layer in group.Tag.BaseMapLayer)
+ {
+ //We an avoid a duplicate name check because the Map Definition should already ensure uniqueness
+ //among existing layers
+ var dlayer = _map.AddLayer(groupName, layer.Name, layer.ResourceId);
+ dlayer.ExpandInLegend = layer.ExpandInLegend;
+ dlayer.LegendLabel = layer.LegendLabel;
+ dlayer.Selectable = layer.Selectable;
+ dlayer.ShowInLegend = layer.ShowInLegend;
+
+ //HACK-ish, but we need to relocate this
+ _map.RemoveLayer(dlayer);
+
+ //Add to bottom
+ _map.InsertLayer(layerCount, dlayer);
+ layerCount++;
+ }
+ //Detach the base layer group
+ _map.BaseMap.RemoveBaseLayerGroup(group.Tag);
+ MessageBox.Show(string.Format(Properties.Resources.BaseLayerGroupConvertedToLayerGroup, group.Tag.Name, groupName));
+ this.RefreshModels();
+ tabControl1.SelectedIndex = 0; //Switch to Layer Groups
+ }
+ }
+
private void btnDLAddLayer_Click(object sender, EventArgs e)
{
using (var picker = new ResourcePicker(_edSvc.ResourceService, ResourceTypes.LayerDefinition, ResourcePickerMode.OpenResource))
@@ -869,6 +908,7 @@
{
btnAddBaseLayer.Enabled = true;
btnRemoveBaseLayerGroup.Enabled = true;
+ btnBaseLayerGroupToRegular.Enabled = true;
propertiesPanel.Controls.Clear();
var item = new GroupPropertiesCtrl(group.Tag);
@@ -882,6 +922,7 @@
btnRemoveBaseLayer.Enabled = true;
btnMoveBaseLayerDown.Enabled = true;
btnMoveBaseLayerUp.Enabled = true;
+ btnBaseLayerGroupToRegular.Enabled = false;
propertiesPanel.Controls.Clear();
var item = new LayerPropertiesCtrl(layer.Tag, _edSvc.ResourceService);
@@ -1306,5 +1347,35 @@
}
}
}
+
+ private void btnInvokeMgCooker_Click(object sender, EventArgs e)
+ {
+ if (_edSvc.IsNew || _edSvc.IsDirty)
+ {
+ MessageBox.Show(Properties.Resources.SaveMapBeforeTiling);
+ return;
+ }
+
+ var conn = _map.CurrentConnection;
+ //HACK: Can't support other connection types beyond HTTP atm
+ if (!conn.ProviderName.ToLower().Contains("maestro.http"))
+ {
+ MessageBox.Show(string.Format(Properties.Resources.UnsupportedConnectionType, conn.ProviderName));
+ return;
+ }
+
+ if (_map.BaseMap == null || _map.BaseMap.GroupCount == 0)
+ {
+ MessageBox.Show(Properties.Resources.NotATiledMap);
+ return;
+ }
+
+ //HACK: This will ask for login again because we don't store username/password and MgCooker does not
+ //support initialization from a session id yet. But at least MgCooker will launch with the correct
+ //map definition loaded
+ _edSvc.RunProcess("MgCooker",
+ "--mapagent=" + conn.GetCustomProperty("BaseUrl"),
+ "--mapdefinitions=" + _edSvc.ResourceID);
+ }
}
}
Modified: trunk/Tools/Maestro/Maestro.Editors/MapDefinition/MapLayersSectionCtrl.resx
===================================================================
--- trunk/Tools/Maestro/Maestro.Editors/MapDefinition/MapLayersSectionCtrl.resx 2012-05-09 14:53:28 UTC (rev 6637)
+++ trunk/Tools/Maestro/Maestro.Editors/MapDefinition/MapLayersSectionCtrl.resx 2012-05-09 15:06:45 UTC (rev 6638)
@@ -594,6 +594,47 @@
<data name="btnMoveBaseLayerDown.ToolTipText" xml:space="preserve">
<value>Move selected layer down</value>
</data>
+ <data name="toolStripSeparator8.Size" type="System.Drawing.Size, System.Drawing">
+ <value>6, 25</value>
+ </data>
+ <data name="btnBaseLayerGroupToRegular.Enabled" type="System.Boolean, mscorlib">
+ <value>False</value>
+ </data>
+ <data name="btnBaseLayerGroupToRegular.ImageTransparentColor" type="System.Drawing.Color, System.Drawing">
+ <value>Magenta</value>
+ </data>
+ <data name="btnBaseLayerGroupToRegular.Size" type="System.Drawing.Size, System.Drawing">
+ <value>23, 22</value>
+ </data>
+ <data name="btnBaseLayerGroupToRegular.Text" xml:space="preserve">
+ <value>Convert Tiled Group to Regular Group</value>
+ </data>
+ <data name="btnInvokeMgCooker.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
+ <value>
+ iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
+ YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAKcSURBVDhPfZHbT9JhGMe9qr+g27xoa8ta5ShQUJEsFA8N
+ bbNJ2tJ5WE1ucg1aTiaN1mJiBzMrRDBBSKHhIZFEEBGQg/wAD2nlocMWq4u6ccHml36r2c0Pe7fP9u55
+ 3/fzfPe8aWkpFq/GdLj42lRHznWlk92inOM1jXSXCF7RUt2l1Eqbp5voUsmvWosBnKG7KNQzkak6j3rD
+ +k5x9WvpfyUlTbZi5v2GnVKTAumP+Cgf1YKlEyLPsoKj1gRqR2LgVpiv7ilhi59HCnRMcLRnkKXJRYX5
+ KYTBBMpcCdBM4zg52An+zb5vRUXC/RRJJudWOl3WgoJBJlj92RBalehe2UYrEYfAm8AJTSuOqwRgyBuR
+ lfOATREcyW9ntJkJMNQNaBh/gtHNOJSrcUjCcdTMfiQTlSCrnwe+Vo5TjM6LFAGNJTrYZliHNBpHuakD
+ PH0VRK4ZiEJxVLzxgqlh4hyZjqO4AjpTkZtyDo3tvpAouA2BZRBccvrsgRyUjQ6g0JkAwxrDaXUlcpul
+ sYwMyb6UAv5lE1c8/H6n3vUV2eQQWQMXwLVtgTaVwKHxbeR13EbVpT7xnr/Q1aXM63xsQ+09I/LVNcmz
+ E2tJ+sTPJM/2I1n3kIBEMgKDwWjfUzA5OTXscvkwNOzAHfk0JPJZtMrsuCF+CYVCB7vdDZfLC5lMdowi
+ IYsHvN5APBxeQji8iECAgM+38OeB0+mG3x9CKBRBNLoMlUqjoAh6e9WVBLGEYDD6j0AgCn8gAp8/jHkf
+ gbk5PzyeBZjNltUUghfVa++2yJgeCsHgMtn5A/R19ZjWGTEz49lMKdjY+IKxMSsFIvwWnz5/x/wzFdZC
+ y2SKeaqgp0eZTR5E3G73osOxi2PRat3FTu7/otcbtbsJfgMnls65GQK1+wAAAABJRU5ErkJggg==
+</value>
+ </data>
+ <data name="btnInvokeMgCooker.ImageTransparentColor" type="System.Drawing.Color, System.Drawing">
+ <value>Magenta</value>
+ </data>
+ <data name="btnInvokeMgCooker.Size" type="System.Drawing.Size, System.Drawing">
+ <value>23, 22</value>
+ </data>
+ <data name="btnInvokeMgCooker.Text" xml:space="preserve">
+ <value>Start MgCooker</value>
+ </data>
<data name="toolStrip3.Location" type="System.Drawing.Point, System.Drawing">
<value>3, 3</value>
</data>
@@ -885,6 +926,24 @@
<data name=">>btnMoveBaseLayerDown.Type" xml:space="preserve">
<value>System.Windows.Forms.ToolStripButton, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
+ <data name=">>toolStripSeparator8.Name" xml:space="preserve">
+ <value>toolStripSeparator8</value>
+ </data>
+ <data name=">>toolStripSeparator8.Type" xml:space="preserve">
+ <value>System.Windows.Forms.ToolStripSeparator, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+ </data>
+ <data name=">>btnBaseLayerGroupToRegular.Name" xml:space="preserve">
+ <value>btnBaseLayerGroupToRegular</value>
+ </data>
+ <data name=">>btnBaseLayerGroupToRegular.Type" xml:space="preserve">
+ <value>System.Windows.Forms.ToolStripButton, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+ </data>
+ <data name=">>btnInvokeMgCooker.Name" xml:space="preserve">
+ <value>btnInvokeMgCooker</value>
+ </data>
+ <data name=">>btnInvokeMgCooker.Type" xml:space="preserve">
+ <value>System.Windows.Forms.ToolStripButton, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+ </data>
<data name=">>$this.Name" xml:space="preserve">
<value>MapLayersSectionCtrl</value>
</data>
Modified: trunk/Tools/Maestro/Maestro.Editors/Properties/Resources.Designer.cs
===================================================================
--- trunk/Tools/Maestro/Maestro.Editors/Properties/Resources.Designer.cs 2012-05-09 14:53:28 UTC (rev 6637)
+++ trunk/Tools/Maestro/Maestro.Editors/Properties/Resources.Designer.cs 2012-05-09 15:06:45 UTC (rev 6638)
@@ -211,6 +211,15 @@
}
/// <summary>
+ /// Looks up a localized string similar to Base Layer Group ({0}) converted to Regular Group ({1}).
+ /// </summary>
+ internal static string BaseLayerGroupConvertedToLayerGroup {
+ get {
+ return ResourceManager.GetString("BaseLayerGroupConvertedToLayerGroup", resourceCulture);
+ }
+ }
+
+ /// <summary>
/// Looks up a localized string similar to Between {0} and {1}.
/// </summary>
internal static string BetweenLabel {
@@ -2441,6 +2450,15 @@
}
/// <summary>
+ /// Looks up a localized string similar to This is not a Map Definition with tiled layers.
+ /// </summary>
+ internal static string NotATiledMap {
+ get {
+ return ResourceManager.GetString("NotATiledMap", resourceCulture);
+ }
+ }
+
+ /// <summary>
/// Looks up a localized string similar to No transformation required.
/// </summary>
internal static string NoTransformationRequired {
@@ -2856,6 +2874,15 @@
}
/// <summary>
+ /// Looks up a localized string similar to You must save this map first before you can run MgCooker.
+ /// </summary>
+ internal static string SaveMapBeforeTiling {
+ get {
+ return ResourceManager.GetString("SaveMapBeforeTiling", resourceCulture);
+ }
+ }
+
+ /// <summary>
/// Looks up a localized string similar to Save Resource.
/// </summary>
internal static string SaveResource {
@@ -3346,6 +3373,15 @@
}
/// <summary>
+ /// Looks up a localized string similar to Invoking MgCooker is not supported for this connection type: {0}.
+ /// </summary>
+ internal static string UnsupportedConnectionType {
+ get {
+ return ResourceManager.GetString("UnsupportedConnectionType", resourceCulture);
+ }
+ }
+
+ /// <summary>
/// Looks up a localized string similar to Updating Configuration Document.
/// </summary>
internal static string UpdatingConfiguration {
Modified: trunk/Tools/Maestro/Maestro.Editors/Properties/Resources.resx
===================================================================
--- trunk/Tools/Maestro/Maestro.Editors/Properties/Resources.resx 2012-05-09 14:53:28 UTC (rev 6637)
+++ trunk/Tools/Maestro/Maestro.Editors/Properties/Resources.resx 2012-05-09 15:06:45 UTC (rev 6638)
@@ -1412,4 +1412,16 @@
<data name="icon_maptip_disabled" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\icon_maptip_disabled.gif;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
+ <data name="SaveMapBeforeTiling" xml:space="preserve">
+ <value>You must save this map first before you can run MgCooker</value>
+ </data>
+ <data name="UnsupportedConnectionType" xml:space="preserve">
+ <value>Invoking MgCooker is not supported for this connection type: {0}</value>
+ </data>
+ <data name="NotATiledMap" xml:space="preserve">
+ <value>This is not a Map Definition with tiled layers</value>
+ </data>
+ <data name="BaseLayerGroupConvertedToLayerGroup" xml:space="preserve">
+ <value>Base Layer Group ({0}) converted to Regular Group ({1})</value>
+ </data>
</root>
\ No newline at end of file
Modified: trunk/Tools/Maestro/Maestro.Editors/ResourceEditorServiceBase.cs
===================================================================
--- trunk/Tools/Maestro/Maestro.Editors/ResourceEditorServiceBase.cs 2012-05-09 14:53:28 UTC (rev 6637)
+++ trunk/Tools/Maestro/Maestro.Editors/ResourceEditorServiceBase.cs 2012-05-09 15:06:45 UTC (rev 6638)
@@ -482,5 +482,7 @@
{
get { return _conn.Capabilities.SupportedServices; }
}
+
+ public abstract void RunProcess(string processName, params string[] args);
}
}
Modified: trunk/Tools/Maestro/Maestro.Editors/SymbolDefinition/SymbolEditorService.cs
===================================================================
--- trunk/Tools/Maestro/Maestro.Editors/SymbolDefinition/SymbolEditorService.cs 2012-05-09 14:53:28 UTC (rev 6637)
+++ trunk/Tools/Maestro/Maestro.Editors/SymbolDefinition/SymbolEditorService.cs 2012-05-09 15:06:45 UTC (rev 6638)
@@ -220,5 +220,10 @@
{
return _inner.GetCustomProperty(name);
}
+
+ public void RunProcess(string processName, params string[] args)
+ {
+ throw new NotImplementedException();
+ }
}
}
More information about the mapguide-commits
mailing list