[mapguide-commits] r7917 - branches/maestro-5.0.x/Maestro.Base

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


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

Modified:
   branches/maestro-5.0.x/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: branches/maestro-5.0.x/Maestro.Base/Maestro.Base.addin
===================================================================
--- branches/maestro-5.0.x/Maestro.Base/Maestro.Base.addin	2013-11-22 13:21:30 UTC (rev 7916)
+++ branches/maestro-5.0.x/Maestro.Base/Maestro.Base.addin	2013-11-22 13:21:50 UTC (rev 7917)
@@ -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