Factorise generic command declaration
authorbsinou <bsinou@argeo.org>
Thu, 9 Feb 2017 14:58:24 +0000 (15:58 +0100)
committerbsinou <bsinou@argeo.org>
Thu, 9 Feb 2017 14:58:24 +0000 (15:58 +0100)
org.argeo.cms.ui.workbench/plugin.xml

index d89ce60b011318aaf28ec44e0f0cc55c90dc8ce5..b28859fdf9506b03856a2e07e138ffb1ac1eb189 100644 (file)
                                </class> -->
                        </state>
                </command>
+               <!-- Utility to provide sub menues when we don't want to define a default command for this menu -->
+               <command
+                       id="org.argeo.cms.ui.workbench.doNothing"
+                       defaultHandler="org.argeo.cms.ui.workbench.commands.DoNothing"
+                       name="Open menu">
+               </command>    
        </extension>
        
        <!-- MENU CONTRIBUTIONS -->