ref #6913 Remove e3 context menus and views
authorPatrick Plitzner <p.plitzner@bgbm.org>
Wed, 27 Sep 2017 16:33:57 +0000 (18:33 +0200)
committerPatrick Plitzner <p.plitzner@bgbm.org>
Wed, 27 Sep 2017 16:43:26 +0000 (18:43 +0200)
eu.etaxonomy.taxeditor.bulkeditor/plugin.xml
eu.etaxonomy.taxeditor.editor/plugin.xml
eu.etaxonomy.taxeditor.store/plugin.xml

index 95d273008cfaba8e358b965360ba17c4347509ba..d8bd7907a5a261776fd2f4e801c460fb92060877 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.commands">
       <command
             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>
-      
-   </extension>
    <extension
          point="org.eclipse.ui.preferencePages">
       <page
index d6946f51a267772b340269a8ca7463b9c4c31092..45487f73c728de347785e6b9f1d4e1ddaa1163e4 100644 (file)
             id="eu.etaxonomy.taxeditor.editor.view.dataimport.GbifImportEditor"
             name="%editor.name.7">
       </editor>
-         <editor
-            class="eu.etaxonomy.taxeditor.editor.view.checklist.ChecklistEditor"
-            icon="icons/check.png"
-            id="eu.etaxonomy.taxeditor.editor.view.checklist.ChecklistEditor"
-            name="%editor.name.8">
-      </editor>
    </extension>
       <extension
             point="org.eclipse.ui.views">
-         <category
-               id="eu.etaxonomy.taxeditor.editor.category"
-               name="%category.name">
-         </category>
          <view
                allowMultiple="true"
                class="eu.etaxonomy.taxeditor.editor.view.dataimport.SpecimenImportView"
                style="push">
          </command>
       </menuContribution>
-      <menuContribution
-            locationURI="menu:eu.etaxonomy.taxeditor.menu.showView?before=eu.etaxonomy.taxeditor.store.showViewMenu.details">
-         <separator
-               name="eu.etaxonomy.taxeditor.editor.showViewMenu"
-               visible="true">
-         </separator>
-         <command
-               commandId="org.eclipse.ui.views.showView"
-               label="%command.label.7"
-               style="push">
-            <parameter
-                  name="org.eclipse.ui.views.showView.viewId"
-                  value="eu.etaxonomy.taxeditor.editor.view.concept.graph">
-            </parameter>
-            <visibleWhen
-                  checkEnabled="true">
-               <and>
-                  <reference
-                        definitionId="isShowExperimentalFeatures">
-                  </reference>
-                  <reference
-                        definitionId="isCdmStoreConnected">
-                  </reference>
-               </and>
-            </visibleWhen>
-         </command>
-      </menuContribution>
       <menuContribution
             locationURI="menu:eu.etaxonomy.taxeditor.menu.showView?before=eu.etaxonomy.taxeditor.store.showViewMenu.internal">
          <separator
                name="eu.etaxonomy.taxeditor.editor.separator1">
          </separator>
       </menuContribution>
-      <menuContribution
-            locationURI="popup:eu.etaxonomy.taxeditor.editor.view.descriptive">
-         <command
-               commandId="eu.etaxonomy.taxeditor.editor.view.descriptive.command.adddescription"
-               label="%command.label.27"
-               style="push">
-         </command>
-         <menu
-               label="%menu.label.1">
-            <dynamic
-                  class="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.DynamicFeatureMenu"
-                  id="eu.etaxonomy.taxeditor.dynamicFeatureMenu">
-            </dynamic>
-            <visibleWhen
-                  checkEnabled="true">
-               <or>
-                  <reference
-                        definitionId="isDescription">
-                  </reference>
-                  <reference
-                        definitionId="isDescriptionElement">
-                  </reference>
-                  <reference
-                        definitionId="isFeatureNodeContainer">
-                  </reference>
-               </or>
-            </visibleWhen>
-         </menu>
-         <separator
-               name="eu.etaxonomy.taxeditor.taxonDescriptionEditor.separator3"
-               visible="true">
-         </separator>
-         <command
-               commandId="eu.etaxonomy.taxeditor.editor.view.descriptive.command.moveDescriptionToTaxon"
-               label="%command.label.28"
-               style="push">
-            <visibleWhen
-                  checkEnabled="true">
-               <reference
-                     definitionId="isDescription">
-               </reference>
-            </visibleWhen>
-         </command>
-         <command
-               commandId="eu.etaxonomy.taxeditor.editor.view.descriptive.command.moveDescriptionElements"
-               label="%command.label.29"
-               style="push">
-            <visibleWhen
-                  checkEnabled="true">
-               <or>
-                  <reference
-                        definitionId="isFeatureNodeContainer">
-                  </reference>
-                   <reference
-                        definitionId="isDescriptionElement">
-                  </reference>
-              </or>
-            </visibleWhen>
-         </command>
-         <separator
-               name="eu.etaxonomy.taxeditor.editor.separator1">
-         </separator>
-         <dynamic
-               class="eu.etaxonomy.taxeditor.view.CdmViewerContextMenu"
-               id="eu.etaxonomy.taxeditor.editor.descriptive.cdmViewerContextMenu">
-         </dynamic>
-         <separator
-               name="eu.etaxonomy.taxeditor.editor.separator1">
-         </separator>
-         <separator
-               name="eu.etaxonomy.taxeditor.taxonDescriptionEditor.separator.afterNew"
-               visible="true">
-         </separator>
-                  <command
-               commandId="eu.etaxonomy.taxeditor.editor.view.descriptive.command.delete"
-               label="%command.label.30"
-               style="push">
-                     <visibleWhen
-                           checkEnabled="true">
-                        <count
-                              value="+">
-                        </count>
-                     </visibleWhen>
-         </command>
-         <separator
-               name="eu.etaxonomy.taxeditor.taxonDescriptionEditor.separator.afterDelete"
-               visible="true">
-         </separator>
-         <command
-               commandId="org.eclipse.ui.file.save"
-               label="%command.label.31"
-               style="push">
-         </command>
-         <separator
-               name="eu.etaxonomy.taxeditor.editor.separator1">
-         </separator>
-      </menuContribution>
       <menuContribution
             locationURI="popup:eu.etaxonomy.taxeditor.editor.view.dataimport.SpecimenImportEditor">
          <dynamic
index 1e1bb0251d6a6a8256d2d95e8ae359cd5c99f258..77f8d96a01ca24526053bdc6e1c076b0eae99bbb 100755 (executable)
                visible="true">
          </separator>
       </menuContribution>
-      <menuContribution
-            locationURI="popup:eu.etaxonomy.taxeditor.view.datasource">
-         <command
-               commandId="eu.etaxonomy.taxeditor.store.datasource.change"
-               label="%command.label.6"
-               style="push">
-               <visibleWhen>
-                  <not>
-                     <reference
-                           definitionId="hasDataModel">
-                     </reference>
-                  </not>
-            </visibleWhen>
-         </command>
-         <command
-               commandId="eu.etaxonomy.taxeditor.store.datasource.create"
-               label="%command.label.7"
-               style="push">
-         </command>
-         <command
-               commandId="eu.etaxonomy.taxeditor.store.datasource.edit"
-               label="%command.label.8"
-               style="push">
-                <visibleWhen>
-              <with
-                        variable="selection">
-                        <not>
-                               <test
-                                       property="eu.etaxonomy.taxeditor.datasource.propertyTester.test">
-                               </test>
-                       </not>
-                       </with>
-            </visibleWhen>
-         </command>
-         <command
-               commandId="eu.etaxonomy.taxeditor.store.datasource.clone"
-               label="%command.label.clone"
-               style="push">
-                <visibleWhen>
-              <with
-                        variable="selection">
-                        <not>
-                               <test
-                                       property="eu.etaxonomy.taxeditor.datasource.propertyTester.test">
-                               </test>
-                       </not>
-                       </with>
-            </visibleWhen>
-         </command>
-         <separator
-               name="eu.etaxonomy.taxeditor.store.datasource.separator"
-               visible="true">
-         </separator>
-         <command
-               commandId="eu.etaxonomy.taxeditor.view.datasource.delete"
-               label="%command.label.9"
-               style="push">
-               <visibleWhen>
-              <with
-                        variable="selection">
-                        <not>
-                               <test
-                                       property="eu.etaxonomy.taxeditor.datasource.propertyTester.test">
-                               </test>
-                       </not>
-                       </with>
-            </visibleWhen>
-         </command>
-         <separator
-               name="eu.etaxonomy.taxeditor.store.datasource.separator2"
-               visible="true">
-         </separator>
-         <command
-               commandId="eu.etaxonomy.taxeditor.store.datasource.update"
-               label="%command.label.11"
-               style="push">
-            <visibleWhen
-                  checkEnabled="true">
-               <not>
-                  <reference
-                        definitionId="isCompatible">
-                  </reference>
-               </not>
-            </visibleWhen>
-            
-         </command>
-      </menuContribution>
       <menuContribution
             locationURI="toolbar:org.eclipse.ui.trim.status">
          <toolbar