[mapguide-commits] r5678 - trunk/Tools/Maestro/Maestro.Base/UI

svn_mapguide at osgeo.org svn_mapguide at osgeo.org
Tue Apr 5 07:38:05 EDT 2011


Author: jng
Date: 2011-04-05 04:38:05 -0700 (Tue, 05 Apr 2011)
New Revision: 5678

Modified:
   trunk/Tools/Maestro/Maestro.Base/UI/SiteExplorer.cs
Log:
Bind F2 to rename command in the Site Explorer. This only applies when one item is selected. Multiple selected items will do nothing


Modified: trunk/Tools/Maestro/Maestro.Base/UI/SiteExplorer.cs
===================================================================
--- trunk/Tools/Maestro/Maestro.Base/UI/SiteExplorer.cs	2011-04-04 15:36:31 UTC (rev 5677)
+++ trunk/Tools/Maestro/Maestro.Base/UI/SiteExplorer.cs	2011-04-05 11:38:05 UTC (rev 5678)
@@ -495,6 +495,10 @@
             {
                 new DeleteSelectedItemsCommand().Run();
             }
+            else if (e.KeyCode == Keys.F2)
+            {
+                new RenameCommand().Run();
+            }
         }
 
         private void trvResources_KeyDown(object sender, KeyEventArgs e)



More information about the mapguide-commits mailing list