Project

General

Profile

« Previous | Next » 

Revision fadf903a

Added by Patrick Plitzner almost 6 years ago

ref #6913 Remove e3 taxon navigator extensions

View differences:

eu.etaxonomy.taxeditor.navigation/plugin.xml
30 30
         </dynamic>
31 31
      </menuContribution>
32 32
   </extension>
33
   <extension
34
         point="org.eclipse.ui.navigator.navigatorContent">
35
      <navigatorContent
36
            contentProvider="eu.etaxonomy.taxeditor.navigation.navigator.ClassificationContentProvider"
37
            id="eu.etaxonomy.taxeditor.navigation.classificationContent"
38
            labelProvider="eu.etaxonomy.taxeditor.navigation.navigator.ClassificationLabelProvider"
39
            name="%navigatorContent.name">
40
         <triggerPoints>
41
            <instanceof
42
                  value="eu.etaxonomy.taxeditor.navigation.navigator.Root">
43
            </instanceof>
44
         </triggerPoints>
45
         <possibleChildren>
46
            <instanceof
47
                  value="eu.etaxonomy.cdm.model.taxon.TaxonNode">
48
            </instanceof>
49
         </possibleChildren>
50
         <dropAssistant
51
               class="eu.etaxonomy.taxeditor.navigation.navigator.TreeNodeDropAdapterAssistant"
52
               id="eu.etaxonomy.taxeditor.navigation.navigator.dropassistant">
53
            <possibleDropTargets></possibleDropTargets>
54
         </dropAssistant>
55
      </navigatorContent>
56
      <navigatorContent
57
            contentProvider="eu.etaxonomy.taxeditor.navigation.navigator.TaxonNodeContentProvider"
58
            id="eu.etaxonomy.taxeditor.navigation.taxonNodeContent"
59
            labelProvider="eu.etaxonomy.taxeditor.navigation.navigator.TaxonNodeLabelProvider"
60
            name="%navigatorContent.name.0">
61
         <triggerPoints>
62
             <or>
63
               <instanceof
64
                     value="eu.etaxonomy.cdm.model.taxon.TaxonNode">
65
               </instanceof>
66
               <and>
67
                  <instanceof
68
                     value="eu.etaxonomy.cdm.model.taxon.Classification">
69
                  </instanceof>
70
                  <test
71
                     forcePluginActivation="true"
72
                     property="eu.etaxonomy.taxeditor.propertytests.hasTaxa">
73
                  </test>
74
               </and>
75
            </or>
76
         </triggerPoints>
77
         <dropAssistant
78
               class="eu.etaxonomy.taxeditor.navigation.navigator.TreeNodeDropAdapterAssistant"
79
               id="eu.etaxonomy.taxeditor.navigation.navigator.dropassistant">
80
            <possibleDropTargets>
81
               <or>
82
                  <instanceof
83
                        value="eu.etaxonomy.cdm.model.taxon.TaxonNode">
84
                  </instanceof>
85
                  <instanceof
86
                        value="eu.etaxonomy.cdm.model.taxon.Classification">
87
                  </instanceof>
88
               </or>
89
            </possibleDropTargets>
90
         </dropAssistant>
91
         <possibleChildren>
92
            <instanceof
93
                  value="eu.etaxonomy.cdm.model.taxon.TaxonNode">
94
            </instanceof>
95
         </possibleChildren>
96
      </navigatorContent>
97
      <navigatorContent
98
            activeByDefault="false"
99
            contentProvider="eu.etaxonomy.taxeditor.navigation.navigator.SynonymContentProvider"
100
            id="eu.etaxonomy.taxeditor.navigation.synonymContent"
101
            labelProvider="eu.etaxonomy.taxeditor.navigation.navigator.SynonymLabelProvider"
102
            name="%navigatorContent.name.1"
103
            priority="highest">
104
         <triggerPoints>
105
            <and>
106
               <instanceof
107
                     value="eu.etaxonomy.cdm.model.taxon.TaxonNode">
108
               </instanceof>
109
               <test
110
                     forcePluginActivation="true"
111
                     property="eu.etaxonomy.taxeditor.propertytests.hasSynonyms">
112
               </test>
113
            </and>
114
         </triggerPoints>
115
         <possibleChildren>
116
            <instanceof
117
                  value="eu.etaxonomy.cdm.model.taxon.Synonym">
118
            </instanceof>
119
         </possibleChildren>
120
      </navigatorContent>
121
   </extension>
122
   <extension
123
         point="org.eclipse.ui.navigator.viewer">
124
      <viewer
125
            viewerId="eu.etaxonomy.taxeditor.navigation.navigator">
126
         <popupMenu
127
               id="eu.etaxonomy.taxeditor.navigation.navigatorpopup">
128
         </popupMenu>
129
      </viewer>
130
      <viewerContentBinding viewerId="eu.etaxonomy.taxeditor.navigation.navigator">
131
         <includes>
132
            <contentExtension
133
                  pattern="eu.etaxonomy.taxeditor.navigation.classificationContent">
134
            </contentExtension>
135
            <contentExtension pattern="eu.etaxonomy.taxeditor.navigation.taxonNodeContent"/>
136
            <contentExtension pattern="eu.etaxonomy.taxeditor.navigation.taxonlinkhelper"/>
137
            <contentExtension
138
                  pattern="eu.etaxonomy.taxeditor.navigation.synonymContent">
139
            </contentExtension>
140
         </includes>
141
      </viewerContentBinding>
142
      <dragAssistant
143
               class="eu.etaxonomy.taxeditor.navigation.navigator.dnd.TaxonNavigatorDragAdapterAssistant"
144
               viewerId="eu.etaxonomy.taxeditor.navigation.navigator">
145
      </dragAssistant>
146
   </extension>
147
   <extension
148
         point="org.eclipse.ui.navigator.linkHelper">
149
      <linkHelper
150
            class="eu.etaxonomy.taxeditor.navigation.navigator.TaxonLinkHelper"
151
            id="eu.etaxonomy.taxeditor.navigation.taxonlinkhelper">
152
          <selectionEnablement>
153
             <instanceof value="eu.etaxonomy.cdm.model.taxon.TaxonNode"/>
154
          </selectionEnablement>            
155
         <editorInputEnablement>
156
         	<instanceof value="eu.etaxonomy.taxeditor.editor.TaxonEditorInput"/>
157
         </editorInputEnablement>
158
      </linkHelper>
159
   </extension>
160 33
   <extension
161 34
         point="org.eclipse.core.runtime.adapters">
162 35
      <factory

Also available in: Unified diff