Updated version in pom / project files to taxeditor version : 5.4.3 and cdmlib versio...
[taxeditor.git] / eu.etaxonomy.taxeditor.bulkeditor / plugin.xml
index 41efeafe6b33ac1e7f73dee037d173338db63acd..0c39a587c430af3b14d0b9c70b3ba78bf2b38428 100644 (file)
          </run>
       </application>
    </extension>
-   <extension
-         point="org.eclipse.ui.editors">
-      <editor
-            class="eu.etaxonomy.taxeditor.dataimport.DataImportEditor"
-            default="false"
-            id="eu.etaxonomy.taxeditor.dataimport.DataImportEditor"
-            name="%editor.name.1">
-      </editor>
-   </extension>
-   <extension
-         point="org.eclipse.ui.menus">
-      <menuContribution
-            locationURI="popup:bulkeditor.editor">
-         <menu
-               label="%menu.label.1">
-            <dynamic
-                  class="eu.etaxonomy.taxeditor.bulkeditor.command.DynamicNewObjectMenu"
-                  id="eu.etaxonomy.taxeditor.bulkeditor.dynamicNewMenu">
-               <visibleWhen
-                     checkEnabled="false">
-                  <reference
-                        definitionId="isCdmStoreConnected">
-                  </reference>
-               </visibleWhen>
-            </dynamic>
-            <visibleWhen
-                  checkEnabled="true">
-               <reference
-                     definitionId="isCdmStoreConnected">
-               </reference>
-            </visibleWhen>
-         </menu>
-         <separator
-               name="taxeditor-bulkeditor.separator4"
-               visible="true">
-         </separator>
-         <command
-               commandId="bulkeditor.commands.setmergetarget"
-               label="%command.label.0"
-               style="push">
-            <visibleWhen>
-               <reference
-                     definitionId="isMergeEnabled">
-               </reference>
-            </visibleWhen>
-         </command>
-         
-         <command
-               commandId="bulkeditor.commands.setmergecandidate"
-               label="%command.label.1"
-               style="push">
-            <visibleWhen>
-               <reference
-                     definitionId="isMergeEnabled">
-               </reference>
-            </visibleWhen>
-         </command>
-         <command
-               commandId="bulkeditor.commands.removemergecandidate"
-               label="%command.label.2"
-               style="push">
-            <visibleWhen>
-               <reference
-                     definitionId="isMergeEnabled">
-               </reference>
-            </visibleWhen>
-         </command>            
-         <command
-               commandId="bulkeditor.commands.mergegroup"
-               label="%command.label.3"
-               style="push">
-            <visibleWhen>
-               <reference
-                     definitionId="isMergeEnabled">
-               </reference>
-            </visibleWhen>
-         </command>
-         <separator
-               name="eu.etaxonomy.taxeditor.bulkeditor.separator1"
-               visible="true">
-         </separator>
-         <command
-               commandId="eu.etaxonomy.taxeditor.bulkeditor.convertTeam2Person"
-               label="%command.label.5"
-               style="push">
-                  <visibleWhen
-                               checkEnabled="true">
-                               <and>
-                               <reference
-                       definitionId="isConvertEnabled">
-                               </reference>
-                               <reference 
-                                               definitionId="isTeam">
-                               </reference>
-                       </and>
-                       </visibleWhen>
-         </command>
-         <command
-               commandId="eu.etaxonomy.taxeditor.bulkeditor.convertPerson2Team"
-               label="%command.label.6"
-               style="push">
-               <visibleWhen 
-                       checkEnabled="true">>
-                               <and>
-                               <reference
-                       definitionId="isConvertEnabled">
-                               </reference>
-                               <reference 
-                                       definitionId="isPerson">
-                               </reference>
-                       </and>
-                       </visibleWhen>
-         </command>
-         <separator
-               name="taxeditor-bulkeditor.separator2"
-               visible="true">
-         </separator>
-         <menu
-               label="%menu.label.2">
-            <dynamic
-                  class="eu.etaxonomy.taxeditor.bulkeditor.command.DynamicMarkerTypeEditingMenu"
-                  id="eu.etaxonomy.taxeditor.bulkeditor.dynamicMarkerTypeEditingMenu">
-            </dynamic>
-            <visibleWhen
-                  checkEnabled="true">
-               <reference
-                     definitionId="isCdmStoreConnected">
-               </reference>
-            </visibleWhen>
-         </menu>
-         <separator
-               name="taxeditor-bulkeditor.separator3"
-               visible="true">
-         </separator>
-         <command
-               commandId="eu.etaxonomy.taxeditor.bulkeditor.delete"
-               label="%command.label.4"
-               style="push">
-            <visibleWhen
-                  checkEnabled="true">
-               <reference
-                     definitionId="isCdmStoreConnected">
-               </reference>
-            </visibleWhen>
-         </command>
-         <dynamic
-               class="eu.etaxonomy.taxeditor.view.CdmViewerContextMenu"
-               id="eu.etaxonomy.taxeditor.bulkeditor.cdmViewerContextMenu">
-         </dynamic>
-      <!--menuContribution
-            locationURI="popup:org.eclipse.ui.popup.any"-->
-      </menuContribution>
-   </extension>
-   <extension
-         point="org.eclipse.ui.commands">
-      <command
-            defaultHandler="eu.etaxonomy.taxeditor.bulkeditor.handler.MergeGroupHandler"
-            id="bulkeditor.commands.mergegroup"
-            name="%command.name">
-      </command>
-      <command
-            defaultHandler="eu.etaxonomy.taxeditor.bulkeditor.handler.SetMergeTargetHandler"
-            id="bulkeditor.commands.setmergetarget"
-            name="%command.name.0">
-      </command>
-      <command
-            defaultHandler="eu.etaxonomy.taxeditor.annotatedlineeditor.handler.NewObjectHandler"
-            id="taxeditor-bulkeditor.dynamicnewobjectcommand"
-            name="%command.name.2">
-      </command>
-      <command
-            defaultHandler="eu.etaxonomy.taxeditor.annotatedlineeditor.handler.DeleteObjectHandler"
-            id="taxeditor-bulkeditor.dynamicdeleteobjectcommand"
-            name="%command.name.3">
-      </command>
-      <command
-            defaultHandler="eu.etaxonomy.taxeditor.bulkeditor.handler.SetMergeCandidateHandler"
-            id="bulkeditor.commands.setmergecandidate"
-            name="%command.name.4">
-      </command>
-      <command
-            defaultHandler="eu.etaxonomy.taxeditor.bulkeditor.handler.RemoveMergeCandidateHandler"
-            id="bulkeditor.commands.removemergecandidate"
-            name="%command.name.5">
-      </command>
-      <command
-            defaultHandler="eu.etaxonomy.taxeditor.bulkeditor.handler.SetMarkerFlagHandler"
-            id="taxeditor-bulkeditor.command.setMarkerFlag"
-            name="%command.name.6">
-      </command>
-      <command
-            id="eu.etaxonomy.taxeditor.bulkeditor.delete"
-            name="%command.name.7">
-      </command>
-      <command
-            id="eu.etaxonomy.taxeditor.bulkeditor.convertTeam2Person"
-            name="%command.name.8">
-      </command>
-      <command
-            id="eu.etaxonomy.taxeditor.bulkeditor.convertPerson2Team"
-            name="%command.name.10">
-      </command>
-      <command
-            id="eu.etaxonomy.taxeditor.openReferencingObjectsView"
-            name="%command.name.OPEN_REFERENCING_OBJECTS_VIEW">
-      </command>
-      <command
-            id="eu.etaxonomy.taxeditor.bulkeditor.openBulkEditorForIdentifiableEntity"
-            name="Open bulk editor for identifiable entity">
-         <commandParameter
-               id="eu.etaxonomy.taxeditor.bulkeditor.openBulkEditorForIdentifiableEntity.uuid"
-               name="Identifiable Entity UUID"
-               optional="true"
-               typeId="eu.etaxonomy.taxeditor.uuidParameterType">
-         </commandParameter>
-      </command>
-      <command
-            defaultHandler="eu.etaxonomy.taxeditor.handler.defaultHandler.OpenReferencingObjectsView"
-            id="eu.etaxonomy.taxeditor.openReferencingObjectsViewFromMenu"
-            name="%command.name.OPEN_REFERENCING_OBJECTS_VIEW">
-      </command>
-      <!--command
-            defaultHandler="eu.etaxonomy.taxeditor.bulkeditor.handler.NewEntityHandler"
-            id="eu.etaxonomy.taxeditor.bulkeditor.command.new"
-            name="New Entity">
-      </command-->
-   </extension>
-   <extension
-         point="org.eclipse.ui.editors.markerAnnotationSpecification">
-      <specification
-            annotationType="merge_candidate_annotation"
-            colorPreferenceKey="merge_candidate_annotation_color"
-            colorPreferenceValue="220,220,255"
-            highlightPreferenceValue="true"
-            icon="icons/merge_candidate.gif"
-            includeOnPreferencePage="true"
-            label="%specification.label"
-            overviewRulerPreferenceKey="merge_candidate_annotation_overview"
-            overviewRulerPreferenceValue="true"
-            presentationLayer="0"
-            symbolicIcon="task"
-            textPreferenceKey="merge_candidate_annotation_text"
-            textPreferenceValue="false"
-            textStylePreferenceValue="BOX"
-            verticalRulerPreferenceKey="merge_candidate_annotation_vertical"
-            verticalRulerPreferenceValue="true">
-      </specification>
-      <specification
-            annotationType="merge_target_annotation"
-            colorPreferenceKey="merge_target_annotation_color"
-            colorPreferenceValue="220,220,255"
-            highlightPreferenceValue="true"
-            icon="icons/merge_target.gif"
-            includeOnPreferencePage="true"
-            label="%specification.label.0"
-            overviewRulerPreferenceKey="merge_target_annotation_overview"
-            overviewRulerPreferenceValue="true"
-            presentationLayer="1"
-            symbolicIcon="task"
-            textPreferenceKey="merge_target_annotation_text"
-            textPreferenceValue="false"
-            textStylePreferenceValue="BOX"
-            verticalRulerPreferenceKey="merge_target_annotation_vertical"
-            verticalRulerPreferenceValue="true">
-      </specification>      
-   </extension>
-   <extension
-         point="org.eclipse.ui.editors.annotationTypes">
-      <type
-            name="merge_candidate_annotation">
-      </type>
-      <type
-            name="merge_target_annotation">
-      </type>
-   </extension>
    <extension
          point="org.eclipse.core.expressions.definitions">
       <definition
             type="org.eclipse.jface.viewers.IStructuredSelection">
       </propertyTester>
    </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="bulkeditor.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="bulkeditor.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="bulkeditor.textControlId">
-               </equals>
-            </with>
-         </activeWhen>
-      </handler>
-      <handler
-            class="eu.etaxonomy.taxeditor.bulkeditor.handler.DeleteHandler"
-            commandId="eu.etaxonomy.taxeditor.bulkeditor.delete">
-         <activeWhen>
-            <with
-                  variable="selection">
-               <instanceof
-                     value="eu.etaxonomy.taxeditor.model.LineSelection">
-               </instanceof>
-            </with>
-         </activeWhen>
-      </handler>
-      <handler
-            class="eu.etaxonomy.taxeditor.bulkeditor.handler.ConvertTeam2PersonHandler"
-            commandId="eu.etaxonomy.taxeditor.bulkeditor.convertTeam2Person">
-      </handler>
-      <handler
-            class="eu.etaxonomy.taxeditor.bulkeditor.handler.ConvertPerson2TeamRemotingHandler"
-            commandId="eu.etaxonomy.taxeditor.bulkeditor.convertPerson2Team">
-             <activeWhen>
-            <reference
-                  definitionId="isRemoting">
-            </reference>
-         </activeWhen>
-      </handler>
-      <handler
-            class="eu.etaxonomy.taxeditor.bulkeditor.handler.defaultHandler.OpenBulkEditorForIdentifiableEntity"
-            commandId="eu.etaxonomy.taxeditor.bulkeditor.openBulkEditorForIdentifiableEntity">
-         <activeWhen>
-            <and>
-               <reference
-                     definitionId="isBulkEditorSupported">
-               </reference>
-               <not>
-                  <with
-                        variable="activePartId">
-                     <equals
-                           value="bulkeditor.editor">
-                     </equals>
-                  </with>
-               </not>
-            </and>
-         </activeWhen>
-      </handler>
-      
-   </extension>
-   <extension
-         point="org.eclipse.ui.preferencePages">
-      <page
-            category="eu.etaxonomy.taxeditor.preferences.bulkeditor.general"
-            class="eu.etaxonomy.taxeditor.bulkeditor.preference.BulkEditorMarkerPreferencePage"
-            id="eu.etaxonomy.taxeditor.preferences.bulkeditor.markerTypes"
-            name="%page.name">
-      </page>
-      <page
-            category="eu.etaxonomy.taxeditor.preferences.general"
-            class="eu.etaxonomy.taxeditor.bulkeditor.preference.BulkEditorGeneralPreferencePage"
-            id="eu.etaxonomy.taxeditor.preferences.bulkeditor.general"
-            name="%page.name.0">
-      </page>
-   </extension>
    <extension
          point="eu.etaxonomy.taxeditor.store.cdmViewer">
       <viewCommandMapping
             uri="fragment.e4xmi">
       </fragment>
    </extension>
+   <extension
+         point="eu.etaxonomy.taxeditor.store.preferencePage">
+      <page
+            category="eu.etaxonomy.taxeditor.preferences.bulkeditor.general"
+            class="eu.etaxonomy.taxeditor.bulkeditor.preference.BulkEditorMarkerPreferencePage"
+            id="eu.etaxonomy.taxeditor.preferences.bulkeditor.markerTypes"
+            name="%page.name">
+      </page>
+      <page
+            category="eu.etaxonomy.taxeditor.preferences.general"
+            class="eu.etaxonomy.taxeditor.bulkeditor.preference.BulkEditorGeneralPreferencePage"
+            id="eu.etaxonomy.taxeditor.preferences.bulkeditor.general"
+            name="%page.name.0">
+      </page>
+   </extension>
 <!-- start set marker -->
 
 </plugin>