Moving editor sources back into trunk
[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 </menuContribution>
106 </extension>
107 <extension
108 point="org.eclipse.ui.commands">
109 <command
110 defaultHandler="eu.etaxonomy.taxeditor.navigation.handler.EditTaxonHandler"
111 id="eu.etaxonomy.taxeditor.navigation.command.editTaxon"
112 name="Edit Taxon">
113 </command>
114 <command
115 defaultHandler="eu.etaxonomy.taxeditor.navigation.handler.MoveTaxonHandler"
116 id="eu.etaxonomy.taxeditor.navigation.command.moveTaxon"
117 name="Move Taxon">
118 </command>
119 <command
120 defaultHandler="eu.etaxonomy.taxeditor.navigation.handler.CreateChildTaxonHandler"
121 id="eu.etaxonomy.taxeditor.navigation.command.createChildTaxon"
122 name="Create Child Taxon">
123 </command>
124 <command
125 defaultHandler="eu.etaxonomy.taxeditor.navigation.handler.DeleteTaxonHandler"
126 id="eu.etaxonomy.taxeditor.navigation.command.deleteTaxon"
127 name="Delete Taxon ">
128 </command>
129 <command
130 defaultHandler="eu.etaxonomy.taxeditor.navigation.handler.QuickCreateChildTaxonHandler"
131 id="eu.etaxonomy.taxeditor.navigation.command.quickCreateChildTaxon"
132 name="Quick Create Child Taxon">
133 </command>
134 </extension>
135 <extension
136 point="org.eclipse.ui.commands">
137 <command
138 defaultHandler="eu.etaxonomy.taxeditor.navigation.handler.ShowTaxonomicTreeViewHandler"
139 id="eu.etaxonomy.taxeditor.navigation.command.showTaxonomicTreeView"
140 name="Show Taxonomic Tree View">
141 </command>
142 </extension>
143 <!--extension
144 point="org.eclipse.ui.perspectiveExtensions">
145 <perspectiveExtension
146 targetID="eu.etaxonomy.taxeditor.application.perspective">
147
148 <view
149 closeable="true"
150 id="eu.etaxonomy.taxeditor.navigation.search.searchResultView:1"
151 moveable="true"
152 ratio="0.5"
153 relationship="bottom"
154 relative="org.eclipse.ui.editorss"
155 showTitle="true"
156 standalone="false"
157 visible="false">
158 </view>
159 <view
160 closeable="true"
161 id="eu.etaxonomy.taxeditor.navigation.search.searchResultView:11"
162 moveable="true"
163 ratio="0.5"
164 relationship="bottom"
165 relative="org.eclipse.ui.editorss"
166 showTitle="true"
167 standalone="false"
168 visible="false">
169 </view>
170 <view
171 closeable="true"
172 id="eu.etaxonomy.taxeditor.navigation.search.searchResultView"
173 moveable="true"
174 ratio="0.5"
175 relationship="bottom"
176 relative="org.eclipse.ui.editorss"
177 showTitle="true"
178 standalone="false"
179 visible="false">
180 </view>
181 <view
182 closeable="true"
183 id="eu.etaxonomy.taxeditor.navigation.search.searchResultView:1"
184 moveable="true"
185 relationship="stack"
186 relative="eu.etaxonomy.taxeditor.navigation.taxonomictree.treeView"
187 showTitle="true"
188 standalone="false"
189 visible="false">
190 </view>
191 <view
192 closeable="true"
193 id="eu.etaxonomy.taxeditor.navigation.search.searchResultView:11"
194 moveable="true"
195 relationship="stack"
196 relative="eu.etaxonomy.taxeditor.navigation.taxonomictree.treeView"
197 showTitle="true"
198 standalone="false"
199 visible="false">
200 </view>
201 <view
202 closeable="true"
203 id="eu.etaxonomy.taxeditor.navigation.search.searchResultView:111"
204 moveable="true"
205 relationship="stack"
206 relative="eu.etaxonomy.taxeditor.navigation.taxonomictree.treeView"
207 showTitle="true"
208 standalone="false"
209 visible="false">
210 </view>
211 </perspectiveExtension>
212 </extension-->
213 <extension
214 point="org.eclipse.ui.themes">
215 <themeElementCategory
216 id="eu.etaxonomy.taxeditor.preferences.searchResult"
217 label="Search Result">
218 <description>
219 Colors and fonts used to display the search result.
220 </description>
221 </themeElementCategory>
222 <fontDefinition
223 categoryId="eu.etaxonomy.taxeditor.preferences.searchResult"
224 id="eu.etaxonomy.taxeditor.preferences.searchResult.fontSynonym"
225 isEditable="true"
226 label="Synonym font">
227 <fontValue
228 value="Lucida Sans-italic-11">
229 </fontValue>
230 <description>
231 The font that is used for synonyms in the search result list.
232 </description>
233 </fontDefinition>
234 <fontDefinition
235 categoryId="eu.etaxonomy.taxeditor.preferences.searchResult"
236 id="eu.etaxonomy.taxeditor.preferences.searchResult.fontAccepted"
237 isEditable="true"
238 label="Accepted font">
239 <description>
240 The font that is used for accepted taxa in the search result list.
241 </description>
242 <fontValue
243 value="Lucida Sans-bold-11">
244 </fontValue>
245 </fontDefinition>
246 <fontDefinition
247 categoryId="eu.etaxonomy.taxeditor.preferences.searchResult"
248 id="eu.etaxonomy.taxeditor.preferences.searchResult.fontDefault"
249 isEditable="true"
250 label="Other font">
251 <description>
252 The font used by default in the search result list.
253 </description>
254 <fontValue
255 value="Lucida Grande-11">
256 </fontValue>
257 </fontDefinition>
258 </extension>
259 </plugin>