Add dynamic context menu entry for FieldUnit creation
[taxeditor.git] / eu.etaxonomy.taxeditor.editor / plugin.xml
index 1d1c2e147da5e220184f06b28fb2a1b059270a22..e2a53ba3ef6b73fdd90d769ee097ffe3a2eb3c2e 100644 (file)
             </visibleWhen>
          </command>
          <separator
-               name="eu.etaxonomy.taxeditor.editor.separator1">
+               name="eu.etaxonomy.taxeditor.editor.separator1"
+               visible="true">
          </separator>
       </menuContribution>
       <menuContribution
                label="%command.label.52"
                style="push">
          </command>
-         <command
-               commandId="eu.etaxonomy.taxeditor.editor.derivate.createFieldUnit"
-               label="%command.label.53"
-               style="push">
-         </command>
          <command
                commandId="eu.etaxonomy.taxeditor.editor.derivate.deepDelete"
                icon="icons/deep-delete-16x16-32.png"
                icon="icons/synced.gif"
                label="Link with Editor"
                style="toggle">
+            <visibleWhen
+                  checkEnabled="false">
+               <reference
+                     definitionId="isCdmStoreConnected">
+               </reference>
+            </visibleWhen>
          </command>
       </menuContribution>
    </extension>