editor now updatable via updateSite
[taxeditor.git] / taxeditor-navigation / plugin.xml
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.views">
15 <!--view
16 class="eu.etaxonomy.taxeditor.navigation.taxonomictree.TaxonomicTreeView"
17 id="eu.etaxonomy.taxeditor.navigation.taxonomictree.treeView"
18 name="Taxonomic Tree">
19 </view-->
20 <view
21 allowMultiple="true"
22 class="eu.etaxonomy.taxeditor.navigation.search.SearchResultView"
23 icon="icons/edit_16x16.gif"
24 id="eu.etaxonomy.taxeditor.navigation.search.searchResultView"
25 name="Search Result"
26 restorable="false">
27 </view>
28 <view
29 allowMultiple="false"
30 class="eu.etaxonomy.taxeditor.navigation.taxonomictree.TaxonomicTreeView"
31 icon="icons/edit_16x16.gif"
32 id="eu.etaxonomy.taxeditor.navigation.taxonomictree.treeView"
33 name="Taxonomic Tree"
34 restorable="true">
35 </view>
36 </extension>
37 <extension
38 point="org.eclipse.ui.menus">
39 <menuContribution
40 locationURI="popup:eu.etaxonomy.taxeditor.navigation.taxonomictree.treeView">
41 <command
42 commandId="eu.etaxonomy.taxeditor.navigation.command.editTaxon"
43 label="Edit"
44 style="push">
45 </command>
46 <command
47 commandId="eu.etaxonomy.taxeditor.navigation.command.moveTaxon"
48 label="Move Taxon"
49 style="push">
50 </command>
51 <separator
52 name="taxeditor-navigation.separator1">
53 </separator>
54 <command
55 commandId="eu.etaxonomy.taxeditor.navigation.command.createChildTaxon"
56 label="New Child"
57 style="push">
58 </command>
59 <command
60 commandId="eu.etaxonomy.taxeditor.navigation.command.quickCreateChildTaxon"
61 label="Quick Add Child "
62 style="push">
63 </command>
64 <separator
65 name="separator1"
66 visible="true">
67 </separator>
68 <command
69 commandId="eu.etaxonomy.taxeditor.navigation.command.deleteTaxon"
70 label="Delete"
71 style="push">
72 </command>
73 </menuContribution>
74 <menuContribution
75 locationURI="popup:eu.etaxonomy.taxeditor.navigation.search.searchResultView">
76 <command
77 commandId="eu.etaxonomy.taxeditor.navigation.command.editTaxon"
78 label="Edit"
79 style="push">
80 </command>
81 </menuContribution>
82 <menuContribution
83 locationURI="toolbar:org.eclipse.ui.main.toolbar">
84 <toolbar
85 id="eu.etaxonomy.taxeditor.navigation.search.toolbar">
86 <control
87 class="eu.etaxonomy.taxeditor.navigation.search.SearchBar">
88 </control>
89 </toolbar>
90 </menuContribution>
91 <menuContribution
92 locationURI="menu:org.eclipse.ui.main.menu.file?before=eu.etaxonomy.taxeditor.application.filemenu.separator">
93 <dynamic
94 class="eu.etaxonomy.taxeditor.navigation.RecentNamesContributionItem"
95 id="eu.etaxonomy.taxeditor.navigation.recentnames">
96 </dynamic>
97 </menuContribution>
98 <menuContribution
99 locationURI="menu:eu.etaxonomy.taxeditor.menu.showView">
100 <command
101 commandId="eu.etaxonomy.taxeditor.navigation.command.showTaxonomicTreeView"
102 label="Taxonomic Tree"
103 style="push">
104 </command>
105 <command
106 commandId="eu.etaxonomy.taxeditor.navigation.command.showTreeView"
107 label="Tree"
108 style="push">
109 </command>
110 </menuContribution>
111 </extension>
112 <extension
113 point="org.eclipse.ui.commands">
114 <command
115 defaultHandler="eu.etaxonomy.taxeditor.navigation.handler.EditTaxonHandler"
116 id="eu.etaxonomy.taxeditor.navigation.command.editTaxon"
117 name="Edit Taxon">
118 </command>
119 <command
120 defaultHandler="eu.etaxonomy.taxeditor.navigation.handler.MoveTaxonHandler"
121 id="eu.etaxonomy.taxeditor.navigation.command.moveTaxon"
122 name="Move Taxon">
123 </command>
124 <command
125 defaultHandler="eu.etaxonomy.taxeditor.navigation.handler.CreateChildTaxonHandler"
126 id="eu.etaxonomy.taxeditor.navigation.command.createChildTaxon"
127 name="Create Child Taxon">
128 </command>
129 <command
130 defaultHandler="eu.etaxonomy.taxeditor.navigation.handler.DeleteTaxonHandler"
131 id="eu.etaxonomy.taxeditor.navigation.command.deleteTaxon"
132 name="Delete Taxon ">
133 </command>
134 <command
135 defaultHandler="eu.etaxonomy.taxeditor.navigation.handler.QuickCreateChildTaxonHandler"
136 id="eu.etaxonomy.taxeditor.navigation.command.quickCreateChildTaxon"
137 name="Quick Create Child Taxon">
138 </command>
139 </extension>
140 <extension
141 point="org.eclipse.ui.commands">
142 <command
143 defaultHandler="eu.etaxonomy.taxeditor.navigation.handler.ShowTaxonomicTreeViewHandler"
144 id="eu.etaxonomy.taxeditor.navigation.command.showTaxonomicTreeView"
145 name="Show Taxonomic Tree View">
146 </command>
147 </extension>
148 <!--extension
149 point="org.eclipse.ui.perspectiveExtensions">
150 <perspectiveExtension
151 targetID="eu.etaxonomy.taxeditor.application.perspective">
152
153 <view
154 closeable="true"
155 id="eu.etaxonomy.taxeditor.navigation.search.searchResultView:1"
156 moveable="true"
157 ratio="0.5"
158 relationship="bottom"
159 relative="org.eclipse.ui.editorss"
160 showTitle="true"
161 standalone="false"
162 visible="false">
163 </view>
164 <view
165 closeable="true"
166 id="eu.etaxonomy.taxeditor.navigation.search.searchResultView:11"
167 moveable="true"
168 ratio="0.5"
169 relationship="bottom"
170 relative="org.eclipse.ui.editorss"
171 showTitle="true"
172 standalone="false"
173 visible="false">
174 </view>
175 <view
176 closeable="true"
177 id="eu.etaxonomy.taxeditor.navigation.search.searchResultView"
178 moveable="true"
179 ratio="0.5"
180 relationship="bottom"
181 relative="org.eclipse.ui.editorss"
182 showTitle="true"
183 standalone="false"
184 visible="false">
185 </view>
186 <view
187 closeable="true"
188 id="eu.etaxonomy.taxeditor.navigation.search.searchResultView:1"
189 moveable="true"
190 relationship="stack"
191 relative="eu.etaxonomy.taxeditor.navigation.taxonomictree.treeView"
192 showTitle="true"
193 standalone="false"
194 visible="false">
195 </view>
196 <view
197 closeable="true"
198 id="eu.etaxonomy.taxeditor.navigation.search.searchResultView:11"
199 moveable="true"
200 relationship="stack"
201 relative="eu.etaxonomy.taxeditor.navigation.taxonomictree.treeView"
202 showTitle="true"
203 standalone="false"
204 visible="false">
205 </view>
206 <view
207 closeable="true"
208 id="eu.etaxonomy.taxeditor.navigation.search.searchResultView:111"
209 moveable="true"
210 relationship="stack"
211 relative="eu.etaxonomy.taxeditor.navigation.taxonomictree.treeView"
212 showTitle="true"
213 standalone="false"
214 visible="false">
215 </view>
216 </perspectiveExtension>
217 </extension-->
218 <extension
219 point="org.eclipse.ui.themes">
220 <themeElementCategory
221 id="eu.etaxonomy.taxeditor.preferences.searchResult"
222 label="Search Result">
223 <description>
224 Colors and fonts used to display the search result.
225 </description>
226 </themeElementCategory>
227 <fontDefinition
228 categoryId="eu.etaxonomy.taxeditor.preferences.searchResult"
229 id="eu.etaxonomy.taxeditor.preferences.searchResult.fontSynonym"
230 isEditable="true"
231 label="Synonym font">
232 <fontValue
233 value="Lucida Sans-italic-11">
234 </fontValue>
235 <description>
236 The font that is used for synonyms in the search result list.
237 </description>
238 </fontDefinition>
239 <fontDefinition
240 categoryId="eu.etaxonomy.taxeditor.preferences.searchResult"
241 id="eu.etaxonomy.taxeditor.preferences.searchResult.fontAccepted"
242 isEditable="true"
243 label="Accepted font">
244 <description>
245 The font that is used for accepted taxa in the search result list.
246 </description>
247 <fontValue
248 value="Lucida Sans-bold-11">
249 </fontValue>
250 </fontDefinition>
251 <fontDefinition
252 categoryId="eu.etaxonomy.taxeditor.preferences.searchResult"
253 id="eu.etaxonomy.taxeditor.preferences.searchResult.fontDefault"
254 isEditable="true"
255 label="Other font">
256 <description>
257 The font used by default in the search result list.
258 </description>
259 <fontValue
260 value="Lucida Grande-11">
261 </fontValue>
262 </fontDefinition>
263 </extension>
264 </plugin>