|
1 <?xml version="1.0" encoding="UTF-8"?> |
|
2 <?eclipse version="3.0"?> |
|
3 |
|
4 <!-- |
|
5 <copyright> |
|
6 </copyright> |
|
7 |
|
8 $Id$ |
|
9 --> |
|
10 |
|
11 <plugin> |
|
12 <extension-point id="ConfmlEditorWidget" name="ConfmlEditorWidget" schema="schema/ConfmlEditorWidget.exsd"/> |
|
13 |
|
14 <extension point="org.eclipse.ui.editors"> |
|
15 <editor |
|
16 class="com.nokia.tools.s60ct.model.confml.presentation.ConfmlEditor" |
|
17 contributorClass="com.nokia.tools.s60ct.model.confml.presentation.ConfmlActionBarContributor" |
|
18 icon="icons/full/obj16/ConfmlModelFile.gif" |
|
19 id="com.nokia.tools.s60ct.model.confml.presentation.ConfmlEditorID" |
|
20 name="%_UI_ConfmlEditor_label"> |
|
21 <contentTypeBinding |
|
22 contentTypeId="com.nokia.tools.s60ct.model.confml.ESetting"> |
|
23 </contentTypeBinding> |
|
24 </editor> |
|
25 </extension> |
|
26 |
|
27 <extension |
|
28 point="org.eclipse.ui.views.properties.tabbed.propertySections"> |
|
29 <propertySections |
|
30 contributorId="com.nokia.tools.s60ct.editor.editors.CONFML_EDITOR_TABBED_PROPERTIES_CONTRIBUTOR"> |
|
31 <propertySection |
|
32 class="com.nokia.tools.s60ct.confml.editor.properties.SettingPropertySection" |
|
33 id="ConfmlEditorSettingSection" |
|
34 tab="com.nokia.tools.s60ct.confml.editors.CONFML_EDITOR_TAB"> |
|
35 <input |
|
36 type="com.nokia.tools.s60ct.model.confml.ESetting"> |
|
37 </input> |
|
38 <input |
|
39 type="com.nokia.tools.s60ct.model.confml.ESimpleValue"> |
|
40 </input> |
|
41 <input |
|
42 type="com.nokia.tools.s60ct.model.confml.EResourceValue"> |
|
43 </input> |
|
44 </propertySection> |
|
45 <propertySection |
|
46 class="com.nokia.tools.variant.editor.properties.FeaturePropertySection" |
|
47 id="ConfmlEditorFeatureSection" |
|
48 tab="com.nokia.tools.s60ct.confml.editors.CONFML_EDITOR_TAB"> |
|
49 <input |
|
50 type="com.nokia.tools.s60ct.model.confml.EFeature"> |
|
51 </input> |
|
52 </propertySection> |
|
53 </propertySections> |
|
54 </extension> |
|
55 <extension |
|
56 point="org.eclipse.ui.views.properties.tabbed.propertyContributor"> |
|
57 <propertyContributor |
|
58 contributorId="com.nokia.tools.s60ct.editor.editors.CONFML_EDITOR_TABBED_PROPERTIES_CONTRIBUTOR"> |
|
59 <propertyCategory |
|
60 category="common"> |
|
61 </propertyCategory> |
|
62 </propertyContributor> |
|
63 </extension> |
|
64 <extension |
|
65 point="org.eclipse.ui.views.properties.tabbed.propertyTabs"> |
|
66 <propertyTabs |
|
67 contributorId="com.nokia.tools.s60ct.editor.editors.CONFML_EDITOR_TABBED_PROPERTIES_CONTRIBUTOR"> |
|
68 <propertyTab |
|
69 category="common" |
|
70 id="com.nokia.tools.s60ct.confml.editors.CONFML_EDITOR_TAB" |
|
71 indented="false" |
|
72 label="General"> |
|
73 </propertyTab> |
|
74 </propertyTabs> |
|
75 </extension> |
|
76 |
|
77 <extension |
|
78 point="org.eclipse.ui.popupMenus"> |
|
79 <objectContribution |
|
80 adaptable="false" |
|
81 id="org.eclipse.team.ccvs.ui.IFileContributions" |
|
82 objectClass="org.eclipse.core.resources.IFile"> |
|
83 <action |
|
84 class="org.eclipse.team.internal.ccvs.ui.actions.ShowResourceInHistoryAction" |
|
85 definitionId="org.eclipse.team.cvs.ui.showHistory" |
|
86 helpContextId="org.eclipse.team.cvs.ui.show_in_history_action_context" |
|
87 id="org.eclipse.team.cvs.ui.showHistory" |
|
88 label="hidden" |
|
89 overrideActionId="org.eclipse.team.ui.showLocalHistory" |
|
90 state="false"> |
|
91 </action> |
|
92 <action |
|
93 class="org.eclipse.team.internal.ccvs.ui.actions.ShowAnnotationAction" |
|
94 definitionId="org.eclipse.team.cvs.ui.showAnnotation" |
|
95 helpContextId="org.eclipse.team.cvs.ui.get_annotate_action_context" |
|
96 id="org.eclipse.team.cvs.ui.showAnnotation" |
|
97 label="hidden" |
|
98 state="false"> |
|
99 </action> |
|
100 <action |
|
101 class="org.eclipse.team.internal.ccvs.ui.actions.CompareWithRevisionAction" |
|
102 definitionId="org.eclipse.team.cvs.ui.compareWithRevision" |
|
103 helpContextId="org.eclipse.team.cvs.ui.compare_with_revision_action_context" |
|
104 id="org.eclipse.team.cvs.ui.compareWithRevision" |
|
105 label="hidden" |
|
106 overrideActionId="org.eclipse.team.ui.compareLocalHistory" |
|
107 state="false"> |
|
108 </action> |
|
109 <action |
|
110 class="org.eclipse.team.internal.ccvs.ui.actions.ReplaceWithRevisionAction" |
|
111 definitionId="org.eclipse.team.cvs.ui.replaceWithRevision" |
|
112 helpContextId="org.eclipse.team.cvs.ui.replace_with_revision_action_context" |
|
113 id="org.eclipse.team.cvs.ui.replaceWithRevision" |
|
114 label="hidden" |
|
115 overrideActionId="org.eclipse.team.ui.replaceLocalHistory" |
|
116 state="false"> |
|
117 </action> |
|
118 </objectContribution> |
|
119 </extension> |
|
120 <extension |
|
121 point="com.nokia.tools.s60ct.confml.editor.ConfmlEditorWidget"> |
|
122 <action |
|
123 class="com.nokia.tools.s60ct.confml.actions.AddSequenceItemAction" |
|
124 widget_class="com.nokia.tools.s60ct.confml.widgets.SequenceWidget"> |
|
125 </action> |
|
126 <action |
|
127 class="com.nokia.tools.s60ct.confml.actions.RemoveSequenceItemsAction" |
|
128 widget_class="com.nokia.tools.s60ct.confml.widgets.SequenceWidget"> |
|
129 </action> |
|
130 <action |
|
131 class="com.nokia.tools.s60ct.confml.actions.EmptySequenceAction" |
|
132 widget_class="com.nokia.tools.s60ct.confml.widgets.SequenceWidget"> |
|
133 </action> |
|
134 <action |
|
135 class="com.nokia.tools.s60ct.confml.actions.BrowseFileAction" |
|
136 widget_class="com.nokia.tools.s60ct.confml.widgets.FileTextBox"> |
|
137 </action> |
|
138 <action |
|
139 class="com.nokia.tools.s60ct.confml.actions.BrowseFileAction" |
|
140 widget_class="com.nokia.tools.s60ct.confml.widgets.FolderTextBox"> |
|
141 </action> |
|
142 </extension> |
|
143 <extension |
|
144 point="org.eclipse.ui.commands"> |
|
145 <command |
|
146 categoryId="com.nokia.tools.s60ct.confml.editor.FeatureEditorCategory" |
|
147 id="com.nokia.tools.s60ct.confml.editor.OpenEditorCommand" |
|
148 name="Open Feature Editor Command"> |
|
149 </command> |
|
150 <category |
|
151 description="Category for commands of ConfML feature editor" |
|
152 id="com.nokia.tools.s60ct.confml.editor.FeatureEditorCategory" |
|
153 name="ConfML Feature Editor"> |
|
154 </category> |
|
155 </extension> |
|
156 <extension |
|
157 point="org.eclipse.ui.handlers"> |
|
158 <handler |
|
159 class="com.nokia.tools.s60ct.confml.editor.popup.actions.OpenEditorHandler" |
|
160 commandId="com.nokia.tools.s60ct.confml.editor.OpenEditorCommand"> |
|
161 </handler> |
|
162 <handler |
|
163 class="com.nokia.tools.s60ct.confml.editor.popup.actions.OpenEditorHandler" |
|
164 commandId="org.eclipse.ui.navigator.Open"> |
|
165 </handler> |
|
166 </extension> |
|
167 <extension |
|
168 point="org.eclipse.ui.menus"> |
|
169 <menuContribution |
|
170 locationURI="popup:org.eclipse.ui.popup.any"> |
|
171 <command |
|
172 commandId="com.nokia.tools.s60ct.confml.editor.OpenEditorCommand" |
|
173 icon="icons/full/obj16/ConfmlModelFile.gif" |
|
174 label="Open Feature Editor" |
|
175 style="push" |
|
176 tooltip="Opens the feature editor for the selected feature"> |
|
177 <visibleWhen |
|
178 checkEnabled="false"> |
|
179 <with |
|
180 variable="activeMenuSelection"> |
|
181 <iterate |
|
182 ifEmpty="false" |
|
183 operator="or"> |
|
184 <or> |
|
185 <adapt |
|
186 type="com.nokia.tools.vct.common.appmodel.EAppFeature"> |
|
187 </adapt> |
|
188 <adapt |
|
189 type="com.nokia.tools.vct.common.appmodel.EAppGroup"> |
|
190 </adapt> |
|
191 </or> |
|
192 </iterate> |
|
193 </with> |
|
194 </visibleWhen> |
|
195 </command> |
|
196 </menuContribution> |
|
197 </extension> |
|
198 <extension |
|
199 point="org.eclipse.ui.activities"> |
|
200 <activity |
|
201 id="com.nokia.tools.s60ct.confml.editor.hide" |
|
202 name="hide activity"> |
|
203 </activity> |
|
204 <activityPatternBinding |
|
205 activityId="com.nokia.tools.s60ct.confml.editor.hide" |
|
206 pattern="org.eclipse.wst.sse.ui.*"> |
|
207 </activityPatternBinding> |
|
208 |
|
209 |
|
210 <activityPatternBinding |
|
211 activityId="com.nokia.tools.s60ct.confml.editor.hide" |
|
212 pattern="org.eclipse.team.*"> |
|
213 </activityPatternBinding> |
|
214 <activityPatternBinding |
|
215 activityId="com.nokia.tools.s60ct.confml.editor.hide" |
|
216 pattern="org.eclipse.wst.*"> |
|
217 </activityPatternBinding> |
|
218 <activityPatternBinding |
|
219 activityId="com.nokia.tools.s60ct.confml.editor.hide" |
|
220 pattern="org.eclipse.compare.replaceWithPreviousFromHistory"> |
|
221 </activityPatternBinding> |
|
222 <activityPatternBinding |
|
223 activityId="com.nokia.tools.s60ct.confml.editor.hide" |
|
224 pattern="org.eclipse.compare.addFromHistoryAction"> |
|
225 </activityPatternBinding> |
|
226 |
|
227 |
|
228 </extension> |
|
229 <extension |
|
230 point="org.eclipse.ui.views"> |
|
231 <view |
|
232 allowMultiple="false" |
|
233 class="com.nokia.tools.s60ct.confml.viewer.NotesView" |
|
234 icon="icons/mrk_notes.gif" |
|
235 id="com.nokia.tools.s60ct.confml.editor.notesView" |
|
236 name="Notes" |
|
237 restorable="true"> |
|
238 </view> |
|
239 </extension> |
|
240 <!-- |
|
241 <extension |
|
242 point="org.eclipse.ui.views"> |
|
243 <view |
|
244 class="com.nokia.tools.s60ct.confml.viewer.CustomProblemsViewer" |
|
245 id="org.eclipse.ui.views.ProblemView" |
|
246 name="Problems" |
|
247 restorable="false"> |
|
248 </view> |
|
249 </extension> |
|
250 --> |
|
251 </plugin> |