[mapguide-commits] r7916 - trunk/Tools/Maestro/Maestro.Base

svn_mapguide at osgeo.org svn_mapguide at osgeo.org
Fri Nov 22 05:21:30 PST 2013


Author: jng
Date: 2013-11-22 05:21:30 -0800 (Fri, 22 Nov 2013)
New Revision: 7916

Modified:
   trunk/Tools/Maestro/Maestro.Base/Maestro.Base.addin
Log:
#2378: Wrap an extra condition evaluator (IsNotRoot) around the delete selected item toolbar command on the Site Explorer

Modified: trunk/Tools/Maestro/Maestro.Base/Maestro.Base.addin
===================================================================
--- trunk/Tools/Maestro/Maestro.Base/Maestro.Base.addin	2013-11-22 13:16:18 UTC (rev 7915)
+++ trunk/Tools/Maestro/Maestro.Base/Maestro.Base.addin	2013-11-22 13:21:30 UTC (rev 7916)
@@ -400,10 +400,12 @@
                          class="Maestro.Base.Commands.NewItemCommand" />
             <ToolbarItem type="Separator" />
             <Condition action="Disable" name="SelectedItem">
+              <Condition action="Disable" name="IsNotRoot">
                 <ToolbarItem id="DeleteItem"
                              icon="cross_script"
                              tooltip="${res:SiteExplorer_SelectedItem_Delete}"
                              class="Maestro.Base.Commands.SiteExplorer.DeleteSelectedItemsCommand" />
+              </Condition>
             </Condition>
             <ToolbarItem id="SiteExplorer_Refresh"
                          icon="arrow-circle-045-left"



More information about the mapguide-commits mailing list