Project

General

Profile

Download (7.49 KB) Statistics
| Branch: | Tag: | Revision:
1
<?xml version="1.0" encoding="UTF-8"?>
2
<?eclipse version="3.2"?>
3
<plugin>
4
   <extension
5
         id="application"
6
         point="org.eclipse.core.runtime.applications">
7
      <application>
8
         <run
9
               class="eu.etaxonomy.taxeditor.navigation.Application">
10
         </run>
11
      </application>
12
   </extension>
13
   <extension
14
         point="org.eclipse.ui.menus">
15
      <menuContribution
16
            locationURI="menu:eu.etaxonomy.taxeditor.workbench.menu.file">
17
         <separator
18
               name="eu.etaxonomy.taxeditor.navigation.recentnames.separator"
19
               visible="true">
20
         </separator>
21
         <dynamic
22
               class="eu.etaxonomy.taxeditor.navigation.RecentNamesContributionItem"
23
               id="eu.etaxonomy.taxeditor.navigation.recentnames">
24
            <visibleWhen
25
                  checkEnabled="true">
26
               <reference
27
                     definitionId="isCdmStoreConnected">
28
               </reference>
29
            </visibleWhen>
30
         </dynamic>
31
      </menuContribution>
32
   </extension>
33
   <extension
34
         point="org.eclipse.core.runtime.adapters">
35
      <factory
36
            adaptableType="org.eclipse.core.internal.resources.Workspace"
37
            class="eu.etaxonomy.taxeditor.navigation.WorkbenchUndoContextAdapterFactory">
38
         <adapter
39
               type="org.eclipse.core.commands.operations.IUndoContext">
40
         </adapter>
41
      </factory>
42
   </extension>
43
      <extension
44
         point="org.eclipse.core.expressions.propertyTesters">
45
      <propertyTester
46
            class="eu.etaxonomy.taxeditor.navigation.navigator.TaxonNodePropertyTester"
47
            id="eu.etaxonomy.taxeditor.navigation.navigator.navigatorPropertyTester"
48
            namespace="eu.etaxonomy.taxeditor.navigation.navigator.navigatorPropertyTester"
49
            properties="hasSynonyms,isClassification,isUnplaced,isExcluded,noClassificationExists,isNotClassification"
50
            type="java.lang.Object">
51
      </propertyTester>
52
      
53
     <!--<propertyTester
54
             class="eu.etaxonomy.taxeditor.navigation.navigator.TaxonNodePropertyTester"
55
            id="eu.etaxonomy.taxeditor.navigation.navigator.navigatorPropertyTester"
56
            namespace="eu.etaxonomy.taxeditor.navigation.navigator.navigatorPropertyTester"
57
            properties="hasTaxa"
58
            type="eu.etaxonomy.cdm.model.taxon.TaxonomicTree">
59
      </propertyTester>
60
      <propertyTester
61
             class="eu.etaxonomy.taxeditor.navigation.navigator.TaxonNodePropertyTester"
62
            id="eu.etaxonomy.taxeditor.navigation.navigator.navigatorPropertyTester"
63
            namespace="eu.etaxonomy.taxeditor.navigation.navigator.navigatorPropertyTester"
64
            properties="hasTaxa"
65
            type="eu.etaxonomy.cdm.model.taxon.TaxonNode">
66
      </propertyTester>-->
67
   <propertyTester
68
         class="eu.etaxonomy.taxeditor.preference.CdmStorePropertyTester"
69
         id="eu.etaxonomy.taxeditor.preference.CdmStorePropertyTester"
70
         namespace="eu.etaxonomy.taxeditor.preference.CdmStorePropertyTester"
71
         properties="isCdmStoreConnected,isRemoting,isStandAlone"
72
         type="java.lang.Object">
73
   </propertyTester>
74
   </extension>
75
   <extension
76
         point="org.eclipse.core.expressions.definitions">
77
      <definition
78
            id="isTaxonNode">
79
         <with
80
               variable="selection">
81
            <iterate
82
                  ifEmpty="false">
83
               <instanceof
84
                     value="eu.etaxonomy.cdm.model.taxon.TaxonNode">
85
               </instanceof>
86
            </iterate>
87
         </with>
88
      </definition>
89
      <definition
90
            id="isSynonymNode">
91
         <with
92
               variable="selection">
93
            <iterate
94
                  ifEmpty="false">
95
               <instanceof
96
                     value="eu.etaxonomy.cdm.model.taxon.Synonym">
97
               </instanceof>
98
            </iterate>
99
         </with>
100
      </definition>
101
     
102
      <definition
103
            id="isChecklistEditorEnabled">
104
         <with
105
               variable="selection">
106
            <test
107
                  property="eu.etaxonomy.taxeditor.preferences.propertyTester.isChecklistEditorEnabled">
108
            </test>
109
         </with>
110
      </definition>
111
      <definition
112
            id="isCdmStoreConnected">
113
         <test
114
               property="eu.etaxonomy.taxeditor.preference.CdmStorePropertyTester.isCdmStoreConnected">
115
         </test>
116
      </definition>
117
      <definition
118
            id="isCdmStoreNotConnected">
119
         <not>
120
            <test
121
                  property="eu.etaxonomy.taxeditor.preference.CdmStorePropertyTester.isCdmStoreConnected">
122
            </test>
123
         </not>
124
      </definition>
125
      <definition
126
            id="isRemoting">
127
         <test
128
               property="eu.etaxonomy.taxeditor.preference.CdmStorePropertyTester.isRemoting">
129
         </test>
130
      </definition>
131
      <definition
132
            id="isStandAlone">
133
         <test
134
               property="eu.etaxonomy.taxeditor.preference.CdmStorePropertyTester.isStandAlone">
135
         </test>
136
      </definition>
137
      <definition
138
            id="isCdmStoreConnectedAndShowExperimental">
139
         <and>
140
            <reference
141
                  definitionId="isShowExperimentalFeatures">
142
            </reference>
143
            <reference
144
                  definitionId="isCdmStoreConnected">
145
            </reference>
146
         </and>
147
      </definition>
148
       <definition
149
            id="isCdmStoreConnectedAndShowIOMenuEnabled">
150
         <and>
151
            <reference
152
                  definitionId="isShowIOMenuEnabled">
153
            </reference>
154
            <reference
155
                  definitionId="isCdmStoreConnected">
156
            </reference>
157
         </and>
158
      </definition>
159
      <definition
160
            id="isCdmStoreConnectedAndNotLocalActive">
161
         <test
162
               property="eu.etaxonomy.taxeditor.preference.CdmStorePropertyTester.isCdmStoreConnectedAndNotLocalActive">
163
         </test>
164
      </definition>
165
       <definition
166
            id="isCdmStoreConnectedAndLocalActive">
167
         <test
168
               property="eu.etaxonomy.taxeditor.preference.CdmStorePropertyTester.isCdmStoreConnectedAndLocalActive">
169
         </test>
170
      </definition>
171
       <definition
172
            id="isClassification">
173
         <test
174
               property="eu.etaxonomy.taxeditor.navigation.navigator.TaxonNodePropertyTester.isClassification">
175
         </test>
176
      </definition>
177
       <definition
178
            id="isNotClassification">
179
         <test
180
               property="eu.etaxonomy.taxeditor.navigation.navigator.TaxonNodePropertyTester.isNotClassification">
181
         </test>
182
      </definition>
183
      <definition
184
            id="isUnplaced">
185
         <test
186
               property="eu.etaxonomy.taxeditor.navigation.navigator.TaxonNodePropertyTester.isUnplaced">
187
         </test>
188
      </definition>
189
       <definition
190
            id="isExcluded">
191
         <test
192
               property="eu.etaxonomy.taxeditor.navigation.navigator.TaxonNodePropertyTester.isExcluded">
193
         </test>
194
      </definition>
195
       <definition
196
             id="noClassificationExists">
197
          <test
198
                property="eu.etaxonomy.taxeditor.navigation.navigator.TaxonNodePropertyTester.noClassificationExists">
199
          </test>
200
       </definition>
201
   </extension>
202
   <extension
203
         id="eu.etaxonomy.taxeditor.navigation.workbench.model"
204
         name="Navigation Workbench Model"
205
         point="org.eclipse.e4.workbench.model">
206
      <fragment
207
            apply="always"
208
            uri="fragment.e4xmi">
209
      </fragment>
210
   </extension>
211
</plugin>
(3-3/4)