Ticket #1352 fixed.
[taxeditor.git] / taxeditor-navigation / plugin.xml
index f19550edc56be593a80bcdc57b728422be36a05d..99a5b1a2c75f19315bd60b7ed64e8400cb9bbf97 100644 (file)
    </extension>
    <extension
          point="org.eclipse.ui.views">
-      <!--view
-            class="eu.etaxonomy.taxeditor.navigation.taxonomictree.TaxonomicTreeView"
-            id="eu.etaxonomy.taxeditor.navigation.taxonomictree.treeView"
-            name="Taxonomic Tree">
-      </view-->
       <view
             allowMultiple="true"
             class="eu.etaxonomy.taxeditor.navigation.search.SearchResultView"
                name="taxeditor-navigation.separator2"
                visible="true">
          </separator>
-         <command
+         <!--command
                commandId="eu.etaxonomy.taxeditor.navigation.command.createChildTaxon"
                label="New Child"
                style="push">
                commandId="eu.etaxonomy.taxeditor.navigation.command.quickCreateChildTaxon"
                label="Quick Add Child "
                style="push">
-         </command>
+         </command-->
          <separator
                name="taxeditor-navigation.separator3"
                visible="true">
             </iterate>
          </with>
       </definition>
-   </extension>    
-      
+   </extension>
+      <extension
+         point="org.eclipse.ui.handlers">
+      <handler
+            class="org.eclipse.ui.internal.handlers.WidgetMethodHandler:cut"
+            commandId="org.eclipse.ui.edit.cut">
+         <activeWhen>
+            <with
+                  variable="activeFocusControlId">
+               <equals
+                     value="navigation.textControlId">
+               </equals>
+            </with>
+         </activeWhen>
+      </handler>
+      <handler
+            class="org.eclipse.ui.internal.handlers.WidgetMethodHandler:copy"
+            commandId="org.eclipse.ui.edit.copy">
+         <activeWhen>
+            <with
+                  variable="activeFocusControlId">
+               <equals
+                     value="navigation.textControlId">
+               </equals>
+            </with>
+         </activeWhen>
+      </handler>
+      <handler
+            class="org.eclipse.ui.internal.handlers.WidgetMethodHandler:paste"
+            commandId="org.eclipse.ui.edit.paste">
+         <activeWhen>
+            <with
+                  variable="activeFocusControlId">
+               <equals
+                     value="navigation.textControlId">
+               </equals>
+            </with>
+         </activeWhen>
+      </handler>
+   </extension>
 </plugin>