Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

taxeditor / eu.etaxonomy.taxeditor.navigation / plugin.xml @ 30189b61

History | View | Annotate | Download (7.05 KB)

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"
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
      <definition
158
            id="isUnplaced">
159
         <test
160
               property="eu.etaxonomy.taxeditor.navigation.navigator.TaxonNodePropertyTester.isUnplaced">
161
         </test>
162
      </definition>
163
      <definition
164
            id="isNotUnplaced">
165
         <not>
166
            <reference 
167
               definitionId="eu.etaxonomy.taxeditor.navigation.navigator.TaxonNodePropertyTester.isUnplaced">
168
            </reference>
169
         </not>
170
      </definition>
171
       <definition
172
            id="isExcluded">
173
         <test
174
               property="eu.etaxonomy.taxeditor.navigation.navigator.TaxonNodePropertyTester.isExcluded">
175
         </test>
176
      </definition>
177
       <definition
178
             id="noClassificationExists">
179
          <test
180
                property="eu.etaxonomy.taxeditor.navigation.navigator.TaxonNodePropertyTester.noClassificationExists">
181
          </test>
182
       </definition>
183
   </extension>
184
   <definition
185
            id="noClassificationExists">
186
         <not>
187
            <reference 
188
               definitionId="eu.etaxonomy.taxeditor.navigation.navigator.TaxonNodePropertyTester.noClassificationExists">
189
            </reference>
190
         </not>
191
      </definition>
192
   <extension
193
         id="eu.etaxonomy.taxeditor.navigation.workbench.model"
194
         name="Navigation Workbench Model"
195
         point="org.eclipse.e4.workbench.model">
196
      <fragment
197
            apply="always"
198
            uri="fragment.e4xmi">
199
      </fragment>
200
   </extension>
201
</plugin>
Add picture from clipboard (Maximum size: 40 MB)