|
1 <?xml version="1.0" encoding="UTF-8"?> |
|
2 <!-- |
|
3 Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). |
|
4 All rights reserved. |
|
5 This component and the accompanying materials are made available |
|
6 under the terms of the License "Symbian Foundation License v1.0" |
|
7 which accompanies this distribution, and is available |
|
8 at the URL "http://www.symbianfoundation.org/legal/sfl-v10.html". |
|
9 |
|
10 Initial Contributors: |
|
11 Nokia Corporation - Initial contribution |
|
12 |
|
13 Contributors: |
|
14 |
|
15 Description: This file is part of com.nokia.tools.variant.editor component. |
|
16 --> |
|
17 <?eclipse version="3.2"?> |
|
18 <plugin> |
|
19 <extension-point id="com.nokia.tools.variant.editor.widget" name="Editor Widget" schema="schema/com.nokia.tools.variant.editor.widget.exsd"/> |
|
20 |
|
21 <extension |
|
22 point="org.eclipse.ui.editors"> |
|
23 <editor |
|
24 class="com.nokia.tools.variant.editor.editors.CPFEditor" |
|
25 contributorClass="com.nokia.tools.variant.editor.actionbars.CPFEditorActionBarContributor" |
|
26 default="true" |
|
27 extensions="cpf" |
|
28 icon="icons/cpf_16_lib.png" |
|
29 id="com.nokia.tools.variant.editor.editors.CPFEditor" |
|
30 name="CPF Editor"> |
|
31 </editor> |
|
32 </extension> |
|
33 <extension |
|
34 point="org.eclipse.ui.actionSets"> |
|
35 <actionSet |
|
36 id="com.nokia.tools.variant.editor.actionSet1" |
|
37 label="label" |
|
38 visible="true"> |
|
39 <action |
|
40 class="com.nokia.tools.variant.editor.actions.OpenCpfAction" |
|
41 icon="icons/open.png" |
|
42 id="com.nokia.tools.variant.editor.opencpf" |
|
43 label="Open ..." |
|
44 menubarPath="rcpFile/open.ext" |
|
45 style="push" |
|
46 toolbarPath="rcpMain/open.ext" |
|
47 tooltip="Open cpf"> |
|
48 </action> |
|
49 <!-- |
|
50 <action |
|
51 class="com.nokia.tools.variant.editor.actions.ResetToDefaultAction" |
|
52 enablesFor="1" |
|
53 id="com.nokia.tools.variant.editor.actions.ResetToDefaultAction" |
|
54 label="R" |
|
55 style="push" |
|
56 toolbarPath="rcpMain/resetToDefault.ext"> |
|
57 </action> |
|
58 <action |
|
59 class="com.nokia.tools.variant.editor.actions.HideSettingsFromViewAction" |
|
60 id="com.nokia.tools.variant.editor.actions.HideSettingsFromViewAction" |
|
61 label="H" |
|
62 style="push" |
|
63 toolbarPath="rcpMain/hideSettingsFromView.ext"> |
|
64 </action> |
|
65 <action |
|
66 class="com.nokia.tools.variant.editor.actions.SelectAllSettingsAction" |
|
67 id="com.nokia.tools.variant.editor.actions.SelectAllSettingsAction" |
|
68 label="S" |
|
69 style="push" |
|
70 toolbarPath="rcpMain/selectAllSettingsAction.ext"> |
|
71 </action> |
|
72 <action |
|
73 class="com.nokia.tools.variant.editor.actions.DeselectAllSettingsAction" |
|
74 id="com.nokia.tools.variant.editor.actions.DeselectAllSettingsAction" |
|
75 label="D" |
|
76 style="push" |
|
77 toolbarPath="rcpMain/deselectAllSettingsAction.ext"> |
|
78 </action> |
|
79 --> |
|
80 </actionSet> |
|
81 </extension> |
|
82 <extension |
|
83 point="org.eclipse.ui.views.properties.tabbed.propertySections"> |
|
84 <propertySections |
|
85 contributorId="com.nokia.tools.variant.editor.editors.CPF_EDITOR_TABBED_PROPERTIES_CONTRIBUTOR"> |
|
86 <propertySection |
|
87 class="com.nokia.tools.variant.editor.properties.SettingPropertySection" |
|
88 id="SettingSection" |
|
89 tab="com.nokia.tools.variant.confml.ui.editors.VIEW_EDITOR_TAB"> |
|
90 <input |
|
91 type="com.nokia.tools.variant.content.confml.Setting"> |
|
92 </input> |
|
93 </propertySection> |
|
94 <propertySection |
|
95 class="com.nokia.tools.variant.editor.properties.SummaryPropertySection" |
|
96 id="SummarySection" |
|
97 tab="com.nokia.tools.variant.confml.ui.editors.VIEW_EDITOR_TAB"> |
|
98 <input |
|
99 type="com.nokia.tools.variant.editor.model.summaryModel.UIElement"> |
|
100 </input> |
|
101 </propertySection> |
|
102 <propertySection |
|
103 class="com.nokia.tools.variant.editor.properties.FeaturePropertySection" |
|
104 id="FeatureSection" |
|
105 tab="com.nokia.tools.variant.confml.ui.editors.VIEW_EDITOR_TAB"> |
|
106 <input |
|
107 type="com.nokia.tools.variant.content.confml.Feature"> |
|
108 </input> |
|
109 </propertySection> |
|
110 </propertySections> |
|
111 </extension> |
|
112 <extension |
|
113 point="org.eclipse.ui.views.properties.tabbed.propertyContributor"> |
|
114 <propertyContributor |
|
115 contributorId="com.nokia.tools.variant.editor.editors.CPF_EDITOR_TABBED_PROPERTIES_CONTRIBUTOR"> |
|
116 <propertyCategory |
|
117 category="common"> |
|
118 </propertyCategory> |
|
119 </propertyContributor> |
|
120 </extension> |
|
121 <extension |
|
122 point="org.eclipse.ui.views.properties.tabbed.propertyTabs"> |
|
123 <propertyTabs |
|
124 contributorId="com.nokia.tools.variant.editor.editors.CPF_EDITOR_TABBED_PROPERTIES_CONTRIBUTOR"> |
|
125 <propertyTab |
|
126 category="common" |
|
127 id="com.nokia.tools.variant.confml.ui.editors.VIEW_EDITOR_TAB" |
|
128 indented="false" |
|
129 label="General"> |
|
130 </propertyTab> |
|
131 </propertyTabs> |
|
132 </extension> |
|
133 <extension |
|
134 point="com.nokia.tools.variant.editor.widget"> |
|
135 <action |
|
136 class="com.nokia.tools.variant.editor.actions.AddSequenceItemAction" |
|
137 widget_class="com.nokia.tools.variant.viewer.widgets.SequenceWidget"> |
|
138 </action> |
|
139 <action |
|
140 class="com.nokia.tools.variant.editor.actions.RemoveSequenceItemsAction" |
|
141 widget_class="com.nokia.tools.variant.viewer.widgets.SequenceWidget"> |
|
142 </action> |
|
143 <action |
|
144 class="com.nokia.tools.variant.editor.actions.ExpandSequenceAction" |
|
145 widget_class="com.nokia.tools.variant.viewer.widgets.SequenceWidget"> |
|
146 </action> |
|
147 <action |
|
148 class="com.nokia.tools.variant.editor.actions.CollapseSequenceAction" |
|
149 widget_class="com.nokia.tools.variant.viewer.widgets.SequenceWidget"> |
|
150 </action> |
|
151 <action |
|
152 class="com.nokia.tools.variant.editor.actions.BrowseFileAction" |
|
153 widget_class="com.nokia.tools.variant.viewer.widgets.FileTextBox"> |
|
154 </action> |
|
155 </extension> |
|
156 <extension |
|
157 point="org.eclipse.core.runtime.adapters"> |
|
158 <factory |
|
159 adaptableType="com.nokia.tools.variant.content.confml.FileSystemEntrySetting" |
|
160 class="com.nokia.tools.variant.editor.adapters.FileSetting2PreviewAdapterFactory"> |
|
161 <adapter |
|
162 type="com.nokia.tools.variant.preview.IPreviewDescriptor"> |
|
163 </adapter> |
|
164 </factory> |
|
165 <factory |
|
166 adaptableType="com.nokia.tools.variant.content.confml.SimpleSetting" |
|
167 class="com.nokia.tools.variant.editor.adapters.FileSetting2PreviewAdapterFactory"> |
|
168 <adapter |
|
169 type="com.nokia.tools.variant.preview.IPreviewDescriptor"> |
|
170 </adapter> |
|
171 </factory> |
|
172 </extension> |
|
173 <extension |
|
174 point="org.eclipse.ui.startup"> |
|
175 <startup |
|
176 class="com.nokia.tools.variant.editor.actions.OpenCpfFromOutside"> |
|
177 </startup> |
|
178 </extension> |
|
179 <extension |
|
180 point="org.eclipse.ui.elementFactories"> |
|
181 <factory |
|
182 class="com.nokia.tools.variant.editor.utils.FileEditorInputFactory" |
|
183 id="com.nokia.tools.variant.editor.utils.FileEditorInputFactory"/> |
|
184 |
|
185 </extension> |
|
186 <extension |
|
187 point="org.eclipse.ui.bindings"> |
|
188 <key |
|
189 commandId="com.nokia.tools.variant.editor.selectAll" |
|
190 contextId="org.eclipse.ui.contexts.window" |
|
191 schemeId="org.eclipse.ui.defaultAcceleratorConfiguration" |
|
192 sequence="Alt+S"> |
|
193 </key> |
|
194 <key |
|
195 commandId="com.nokia.tools.variant.editor.removeSequenceItem" |
|
196 contextId="org.eclipse.ui.contexts.window" |
|
197 schemeId="org.eclipse.ui.defaultAcceleratorConfiguration" |
|
198 sequence="Alt+E"> |
|
199 </key> |
|
200 <key |
|
201 commandId="com.nokia.tools.variant.editor.deselectAll" |
|
202 contextId="org.eclipse.ui.contexts.window" |
|
203 schemeId="org.eclipse.ui.defaultAcceleratorConfiguration" |
|
204 sequence="Alt+D"> |
|
205 </key> |
|
206 <key |
|
207 commandId="com.nokia.tools.variant.editor.hide" |
|
208 contextId="org.eclipse.ui.contexts.window" |
|
209 schemeId="org.eclipse.ui.defaultAcceleratorConfiguration" |
|
210 sequence="Alt+H"> |
|
211 </key> |
|
212 <key |
|
213 commandId="com.nokia.tools.variant.editor.clearValue" |
|
214 contextId="org.eclipse.ui.contexts.window" |
|
215 schemeId="org.eclipse.ui.defaultAcceleratorConfiguration" |
|
216 sequence="Alt+C"> |
|
217 </key> |
|
218 <key |
|
219 commandId="com.nokia.tools.variant.editor.resetToDefault" |
|
220 contextId="org.eclipse.ui.contexts.window" |
|
221 schemeId="org.eclipse.ui.defaultAcceleratorConfiguration" |
|
222 sequence="Alt+R"> |
|
223 </key> |
|
224 </extension> |
|
225 <extension |
|
226 point="org.eclipse.ui.commands"> |
|
227 <command |
|
228 id="com.nokia.tools.variant.editor.selectAll" |
|
229 name="select"> |
|
230 </command> |
|
231 <command |
|
232 id="com.nokia.tools.variant.editor.deselectAll" |
|
233 name="deselect"> |
|
234 </command> |
|
235 <command |
|
236 id="com.nokia.tools.variant.editor.hide" |
|
237 name="hide"> |
|
238 </command> |
|
239 <command |
|
240 id="com.nokia.tools.variant.editor.resetToDefault" |
|
241 name="reset"> |
|
242 </command> |
|
243 <command |
|
244 id="com.nokia.tools.variant.editor.removeSequenceItem" |
|
245 name="remove item"> |
|
246 </command> |
|
247 <command |
|
248 id="com.nokia.tools.variant.editor.clearValue" |
|
249 name="clear value"> |
|
250 </command> |
|
251 </extension> |
|
252 <extension |
|
253 point="com.nokia.tools.vct.cli.commandline"> |
|
254 <handler |
|
255 applicationId="com.nokia.tools.variant.carbidev.CarbideVCLIApplication" |
|
256 class="com.nokia.tools.variant.editor.cli.CPFOpenValidationHandler"> |
|
257 </handler> |
|
258 <option |
|
259 description="Validate ConfML file for opening" |
|
260 longName="validate" |
|
261 shortName="v"> |
|
262 </option> |
|
263 <option |
|
264 description="lists all configurations in cpf file" |
|
265 shortName="list"> |
|
266 </option> |
|
267 <option |
|
268 description="Displays a summary of selected configuration" |
|
269 longName="summary" |
|
270 shortName="s"> |
|
271 </option> |
|
272 <option |
|
273 description="Detail list of errors and changes" |
|
274 shortName="l"> |
|
275 </option> |
|
276 <option |
|
277 longName="help" |
|
278 shortName="?"> |
|
279 </option> |
|
280 </extension> |
|
281 <extension |
|
282 point="org.eclipse.ui.views.properties.tabbed.propertySections"> |
|
283 <propertySections |
|
284 contributorId=" com.nokia.tools.variant.editor.editors.CPF_EDITOR_TABBED_PROPERTIES_CONTRIBUTOR"> |
|
285 <propertySection |
|
286 class="com.nokia.tools.variant.editor.properties.ResourceLibraryPropertySection" |
|
287 id="ResourceLibraryPropertySection" |
|
288 tab="com.nokia.tools.variant.confml.ui.editors.VIEW_EDITOR_TAB"> |
|
289 <input |
|
290 type="com.nokia.tools.variant.resourcelibrary.views.ResourceStorage"> |
|
291 </input> |
|
292 </propertySection> |
|
293 </propertySections> |
|
294 </extension> |
|
295 </plugin> |