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"
|
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="isRemoting">
|
119
|
<test
|
120
|
property="eu.etaxonomy.taxeditor.preference.CdmStorePropertyTester.isRemoting">
|
121
|
</test>
|
122
|
</definition>
|
123
|
<definition
|
124
|
id="isStandAlone">
|
125
|
<test
|
126
|
property="eu.etaxonomy.taxeditor.preference.CdmStorePropertyTester.isStandAlone">
|
127
|
</test>
|
128
|
</definition>
|
129
|
<definition
|
130
|
id="isCdmStoreConnectedAndShowExperimental">
|
131
|
<and>
|
132
|
<reference
|
133
|
definitionId="isShowExperimentalFeatures">
|
134
|
</reference>
|
135
|
<reference
|
136
|
definitionId="isCdmStoreConnected">
|
137
|
</reference>
|
138
|
</and>
|
139
|
</definition>
|
140
|
<definition
|
141
|
id="isCdmStoreConnectedAndShowIOMenuEnabled">
|
142
|
<and>
|
143
|
<reference
|
144
|
definitionId="isShowIOMenuEnabled">
|
145
|
</reference>
|
146
|
<reference
|
147
|
definitionId="isCdmStoreConnected">
|
148
|
</reference>
|
149
|
</and>
|
150
|
</definition>
|
151
|
<definition
|
152
|
id="isClassification">
|
153
|
<test
|
154
|
property="eu.etaxonomy.taxeditor.navigation.navigator.TaxonNodePropertyTester.isClassification">
|
155
|
</test>
|
156
|
</definition>
|
157
|
</extension>
|
158
|
<extension
|
159
|
id="eu.etaxonomy.taxeditor.navigation.workbench.model"
|
160
|
name="Navigation Workbench Model"
|
161
|
point="org.eclipse.e4.workbench.model">
|
162
|
<fragment
|
163
|
apply="always"
|
164
|
uri="fragment.e4xmi">
|
165
|
</fragment>
|
166
|
</extension>
|
167
|
</plugin>
|